Uses of Interface
net.ssehub.easy.varModel.model.datatypes.IDatatype
-
Packages that use IDatatype Package Description de.uni_hildesheim.sse.translation The mechanisms needed to translate an IVML Ecore model into an IVML object model.de.uni_hildesheim.sse.ui.contentassist net.ssehub.easy.instantiation.core.model.vilTypes Contains the basic VIL types used as foundation for the artifact model and for integrating the variability model, i.e., types which are not artifacts themselves.net.ssehub.easy.instantiation.core.model.vilTypes.configuration All classes related to the EASy integration of configuration and decisions.net.ssehub.easy.instantiation.velocity This package contains the VIL instantiator realization of Apache's Velocity.
For more information please visit the Velocity project page.net.ssehub.easy.integration.common.impl Defines the a readable interface to IVML/EAsY.net.ssehub.easy.producer.ui.confModel This package holds a GUI representation of the configuration with methods and additional information as needed by the Eclipse UI.net.ssehub.easy.producer.ui.internal This package holds extension classes of eclipse which must not be called or extended from other plug-ins.net.ssehub.easy.reasoning.core.frontend Frontend to access reasoner information as well as to execute reasoning tasks.net.ssehub.easy.reasoning.core.impl Hidden implementation stuff.net.ssehub.easy.reasoning.core.reasoner All classes and interfaces needed to implement a reasoner.
How to write a reasoner: Create an Eclipse Plugin project with Activator (even if "empty"). Addorg.eclipse.equinox.dsto the required plugins andorg.osgi.service.componentto the imported packages as your reasoner will be linked using OSGi descriptive services (DS) to the reasoner core.net.ssehub.easy.reasoning.sseReasoner Package contains the EASy-Producer reasoner implementation classes.net.ssehub.easy.reasoning.sseReasoner.functions Package contains custom functions for IVML.net.ssehub.easy.reasoning.sseReasoner.model Package for creating a reasoning model: constraint container, project hierachy evaluator and other.net.ssehub.easy.varModel.confModel This package represents a specific variability model configuration.net.ssehub.easy.varModel.cst Package for elements of the constraint syntax tree.net.ssehub.easy.varModel.cstEvaluation Implements the evaluation of constraint syntax trees.net.ssehub.easy.varModel.model Base package for the variability model.net.ssehub.easy.varModel.model.datatypes Base directory for the main datatype classes.net.ssehub.easy.varModel.model.filter This package contains utility classes for filtering the model for specific model elements.net.ssehub.easy.varModel.model.filter.mandatoryVars Filter for finding mandatory declarations.net.ssehub.easy.varModel.model.rewrite Classes for creating an (adapted) copy of theProject.net.ssehub.easy.varModel.model.search Specific classes for performing search operations on models.net.ssehub.easy.varModel.model.values Instances of the datatypes.net.ssehub.easy.varModel.persistency These package is for reading and saving the variability model and the configuration.
Currently supported file formats: EASy-Producer 2.0 config files (xml) IVMLnet.ssehub.easy.varModel.validation Classes for validating e variability model, e.g. -
-
Uses of IDatatype in de.uni_hildesheim.sse.translation
Methods in de.uni_hildesheim.sse.translation that return IDatatype Modifier and Type Method Description IDatatypeTypeContext. findRefType(IDatatype contained)Finds a reference type (declaration or defines an implicit type) for a given contained type.IDatatypeTypeContext. findType(java.lang.String name, java.lang.Class<? extends IDatatype> type)Finds the specified data type definition.private IDatatypeExpressionTranslator. getSpecificType(IDatatype lhsType, de.uni_hildesheim.sse.ivml.ContainerInitializer initializer, TypeContext context)Returns the specific type of a collection initializer.private IDatatypeExpressionTranslator. inferDatatypeQuietly(ConstraintSyntaxTree cst)Infers the datatype ofcst.private static IDatatypeExpressionTranslator. refType(IDatatype varType, TypeContext context)Obtains the reference type.IDatatypeTypeContext. resolveType(de.uni_hildesheim.sse.ivml.Type type)Resolves a given type to a type representation in the IVML object model.Methods in de.uni_hildesheim.sse.translation with parameters of type IDatatype Modifier and Type Method Description static booleanTypeContext. allResolved(IDatatype[] types)Returns whether all types intypesare resolved.private static ConstantValueTypeContext. createConstantValue(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IDatatype type, java.lang.Object... values)Creates a constant value.private ConstraintSyntaxTreeTypeContext. createValueTree(java.lang.String sValue, IDatatype type, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature)Creates a value tree for a giventype.private booleanModelTranslator. findOperation(IDatatype datatype, Operation operation, boolean considerOperand)Finds an operation on a given datatype.IDatatypeTypeContext. findRefType(IDatatype contained)Finds a reference type (declaration or defines an implicit type) for a given contained type.private IDatatypeExpressionTranslator. getSpecificType(IDatatype lhsType, de.uni_hildesheim.sse.ivml.ContainerInitializer initializer, TypeContext context)Returns the specific type of a collection initializer.private ConstraintSyntaxTreeExpressionTranslator. processArgument(IDatatype lhsType, de.uni_hildesheim.sse.ivml.ActualArgument arg, TypeContext context, IModelElement parent)Process an argument and returns a (named) expression.private ConstraintSyntaxTreeExpressionTranslator. processCompoundInitializer(IDatatype lhsType, TypeContext context, IModelElement parent, IDatatype specificType, org.eclipse.emf.common.util.EList<de.uni_hildesheim.sse.ivml.ExpressionListEntry> entryList)Processes a compound initializer.private ConstraintSyntaxTreeExpressionTranslator. processContainerInitializer(IDatatype lhsType, TypeContext context, IModelElement parent, org.eclipse.emf.common.util.EList<de.uni_hildesheim.sse.ivml.ExpressionListEntry> entryList)Processes a container initializer.private ConstraintSyntaxTreeExpressionTranslator. processContainerInitializer(IDatatype lhsType, org.eclipse.emf.ecore.EObject expr, de.uni_hildesheim.sse.ivml.ContainerInitializer initializer, TypeContext context, IModelElement parent)Processes a container initializer.(package private) ConstraintSyntaxTreeExpressionTranslator. processExpression(IDatatype lhsType, de.uni_hildesheim.sse.ivml.Expression expr, TypeContext context, IModelElement parent)Processes an expression and returns the result as a syntax tree.private ConstraintSyntaxTreeExpressionTranslator. processExpression(IDatatype lhsType, de.uni_hildesheim.sse.ivml.OptBlockExpression expr, TypeContext context, IModelElement parent)Processes an (optional block) expression.private ConstraintSyntaxTreeExpressionTranslator. processLiteralContainer(IDatatype lhsType, de.uni_hildesheim.sse.ivml.ContainerInitializer initializer, TypeContext context, IModelElement parent)Processes a collection initializer and returns the related constraint syntax tree node.private static IDatatypeExpressionTranslator. refType(IDatatype varType, TypeContext context)Obtains the reference type.private static java.lang.StringModelTranslator. unqualified(IDatatype type)Returns the unqualified name oftype.Method parameters in de.uni_hildesheim.sse.translation with type arguments of type IDatatype Modifier and Type Method Description IDatatypeTypeContext. findType(java.lang.String name, java.lang.Class<? extends IDatatype> type)Finds the specified data type definition. -
Uses of IDatatype in de.uni_hildesheim.sse.ui.contentassist
Methods in de.uni_hildesheim.sse.ui.contentassist that return IDatatype Modifier and Type Method Description protected IDatatypeExpressionProposalProvider. findType(org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound typeDef, java.lang.String name)Finds the definition of a data type within the model represented bymodel.private IDatatypeExpressionProposalProvider. inferType(de.uni_hildesheim.sse.ivml.AdditiveExpression expression, org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound cmpDef)Returns the IVML type forexpression.protected IDatatypeExpressionProposalProvider. inferType(de.uni_hildesheim.sse.ivml.AssignmentExpression expression, org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound cmpDef)Returns the IVML type forexpression.private IDatatypeExpressionProposalProvider. inferType(de.uni_hildesheim.sse.ivml.Call call, IDatatype operand, org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound cmpDef)Returns the IVML type for acall.private IDatatypeExpressionProposalProvider. inferType(de.uni_hildesheim.sse.ivml.EqualityExpression expression, org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound cmpDef)Returns the IVML type forexpression.protected IDatatypeExpressionProposalProvider. inferType(de.uni_hildesheim.sse.ivml.Expression expression, org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound cmpDef)Returns the IVML type forexpression.private IDatatypeExpressionProposalProvider. inferType(de.uni_hildesheim.sse.ivml.FeatureCall call, IDatatype operand, org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound cmpDef)Returns the IVML type for acall.protected IDatatypeExpressionProposalProvider. inferType(de.uni_hildesheim.sse.ivml.ImplicationExpression expression, org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound cmpDef)Returns the IVML type forexpression.protected IDatatypeExpressionProposalProvider. inferType(de.uni_hildesheim.sse.ivml.LogicalExpression expression, org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound cmpDef)Returns the IVML type forexpression.private IDatatypeExpressionProposalProvider. inferType(de.uni_hildesheim.sse.ivml.MultiplicativeExpression expression, org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound cmpDef)Returns the IVML type forexpression.private IDatatypeExpressionProposalProvider. inferType(de.uni_hildesheim.sse.ivml.PostfixExpression expression, org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound cmpDef)Returns the IVML type forexpression.private IDatatypeExpressionProposalProvider. inferType(de.uni_hildesheim.sse.ivml.PrimaryExpression expression, org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound cmpDef)Returns the IVML type forexpression.private IDatatypeExpressionProposalProvider. inferType(de.uni_hildesheim.sse.ivml.RelationalExpression expression, org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound cmpDef)Returns the IVML type forexpression.private IDatatypeExpressionProposalProvider. inferType(de.uni_hildesheim.sse.ivml.UnaryExpression expression, org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound cmpDef)Returns the IVML type forexpression.private IDatatypeExpressionProposalProvider. inferType(de.uni_hildesheim.sse.ivml.Value value, org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound cmpDef)Returns the IVML type forvale.private IDatatypeExpressionProposalProvider. inferType(java.lang.String name, IDatatype operand, IDatatype[] pTypes, boolean containerOp)Determines the type of the operationnameonoperandwith given parameters.private IDatatypeExpressionProposalProvider. inferType(java.util.List<de.uni_hildesheim.sse.ivml.Call> calls, IDatatype operand, org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound cmpDef)Returns the IVML type for a chain ofcalls.Methods in de.uni_hildesheim.sse.ui.contentassist with parameters of type IDatatype Modifier and Type Method Description private IDatatypeExpressionProposalProvider. inferType(de.uni_hildesheim.sse.ivml.Call call, IDatatype operand, org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound cmpDef)Returns the IVML type for acall.private IDatatypeExpressionProposalProvider. inferType(de.uni_hildesheim.sse.ivml.FeatureCall call, IDatatype operand, org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound cmpDef)Returns the IVML type for acall.private IDatatypeExpressionProposalProvider. inferType(java.lang.String name, IDatatype operand, IDatatype[] pTypes, boolean containerOp)Determines the type of the operationnameonoperandwith given parameters.private IDatatypeExpressionProposalProvider. inferType(java.util.List<de.uni_hildesheim.sse.ivml.Call> calls, IDatatype operand, org.eclipse.emf.ecore.EObject model, de.uni_hildesheim.sse.ivml.TypedefCompound cmpDef)Returns the IVML type for a chain ofcalls.private voidExpressionProposalProvider. proposeOperations(IDatatype type, org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context, org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor, boolean containerOp)Propose operations based on an IVML type. -
Uses of IDatatype in net.ssehub.easy.instantiation.core.model.vilTypes
Fields in net.ssehub.easy.instantiation.core.model.vilTypes with type parameters of type IDatatype Modifier and Type Field Description private java.util.Map<IDatatype,TypeDescriptor<?>>TypeRegistry. fallbacksMethods in net.ssehub.easy.instantiation.core.model.vilTypes that return IDatatype Modifier and Type Method Description IDatatypeIActualTypeProvider. determineActualTypeName()The more actual type name of this object.Methods in net.ssehub.easy.instantiation.core.model.vilTypes with parameters of type IDatatype Modifier and Type Method Description TypeDescriptor<?>TypeRegistry. getType(IDatatype type)Returns the registered type descriptor for the giventype.TypeDescriptor<?>TypeRegistry. getTypeOrFallback(IDatatype type)Returns the registered type descriptor for the giventypeor tries an explicitly registered fallback, e.g., for unknown types in models without advices.voidTypeRegistry. registerFallbackType(IDatatype type, TypeDescriptor<?> descriptor)Registers a fallback type.TypeDescriptor<?>[]TypeRegistry. resolveGenerics(IDatatype type)Resolves IVML type generics.TypeDescriptor<?>ITypeResolver. resolveType(IDatatype type)Resolves a type by its IVML type. -
Uses of IDatatype in net.ssehub.easy.instantiation.core.model.vilTypes.configuration
Fields in net.ssehub.easy.instantiation.core.model.vilTypes.configuration declared as IDatatype Modifier and Type Field Description private IDatatypeIvmlConstructorOperationDescriptor. ivmlTypeprivate IDatatypeIvmlTypeDescriptor. typeFields in net.ssehub.easy.instantiation.core.model.vilTypes.configuration with type parameters of type IDatatype Modifier and Type Field Description private java.util.Map<IDatatype,java.util.Set<Attribute>>IvmlTypeResolver. attributesprivate java.util.Map<IDatatype,TypeDescriptor<?>>IvmlTypeResolver. ivmlMapMethods in net.ssehub.easy.instantiation.core.model.vilTypes.configuration that return IDatatype Modifier and Type Method Description IDatatypeAbstractIvmlVariable. determineActualTypeName()IDatatypeAbstractIvmlVariable. getActualType()Returns the actual IVML type ofdecVar.IDatatypeEnumValue. getDatatype()Returns the IVML data type.private IDatatypeIvmlTypeDescriptor. getDatatype(java.lang.Object object)Returns the datatype forobject.protected abstract IDatatypeAbstractIvmlTypeDescriptor. getIvmlType()Returns the underlying IVML type.IDatatypeAbstractIvmlVariable. getIvmlType()Returns the declared IVML type of the (dereferenced) decision variable (VIL view).protected IDatatypeIvmlProjectTypeDescriptor. getIvmlType()protected IDatatypeIvmlTypeDescriptor. getIvmlType()Methods in net.ssehub.easy.instantiation.core.model.vilTypes.configuration with parameters of type IDatatype Modifier and Type Method Description protected voidAbstractIvmlTypeDescriptor. addComparisonOperations(IDatatype type, java.util.Map<java.lang.String,OperationDescriptor> operations)Adds the default comparison operations.private voidIvmlTypeDescriptor. addCompoundOperations(IDatatype ivmlType, java.util.Map<java.lang.String,OperationDescriptor> operations, java.util.Map<java.lang.String,FieldDescriptor> fields)Adds the operations for compound types if needed.protected voidAbstractIvmlTypeDescriptor. addConversionOperations(IDatatype type, java.util.List<OperationDescriptor> operations)Adds required conversion operations tooperations.private voidIvmlTypeDescriptor. addDerivedTypeConversions(IDatatype ivmlType, java.util.List<OperationDescriptor> conversions)Adds the conversion operations for derived types if needed.private voidIvmlTypeDescriptor. addEnumOperations(IDatatype ivmlType, java.util.Map<java.lang.String,OperationDescriptor> operations)Adds the operations for enumeration types if needed.private DecisionVariableAbstractIvmlVariable. addValue(IDatatype type)adds a value of a given type to a container.private voidAbstractIvmlVariable. createValue(IDecisionVariable var, IDatatype type)Creates a value for the giventypeviaa safe reasoner adapter.protected static TypeDescriptor<?>[]Utils. determineGenerics(IDatatype type, TypeRegistry registry, boolean specific)Determines the VIL types for the given generic types.protected static TypeDescriptor<?>Utils. determineReturnType(IDatatype type, TypeRegistry registry, boolean specific)Determines the VIL/VTL return type for the given IVMLtype.(package private) static TypeDescriptor<?>IvmlElement. getTypeDescriptor(IDatatype type)Returns the type descriptor for a given IVML datatype.(package private) TypeDescriptor<?>IvmlTypeResolver. obtainType(IDatatype type)Obtains the VIL/VTL type for the giventype.(package private) voidIvmlTypeDescriptor. resolve(Project project, IDatatype ivmlType, java.util.Set<Attribute> declaredAttributes)Resolves the type descriptor by filling it with operations and fields.TypeDescriptor<?>IvmlBaseTypeResolver. resolveType(IDatatype type)TypeDescriptor<?>IvmlTypeResolver. resolveType(IDatatype type)Constructors in net.ssehub.easy.instantiation.core.model.vilTypes.configuration with parameters of type IDatatype Constructor Description AbstractIvmlTypeDescriptor(IDatatype ivmlType, IvmlTypeResolver resolver)Creates a new type descriptor.IvmlConstructorOperationDescriptor(TypeDescriptor<?> declaringType, IDatatype ivmlType)Creates a constructor descriptor without parameters.IvmlTypeDescriptor(Project project, IDatatype ivmlType, IvmlTypeResolver resolver)Creates a new type descriptor. -
Uses of IDatatype in net.ssehub.easy.instantiation.velocity
Methods in net.ssehub.easy.instantiation.velocity with parameters of type IDatatype Modifier and Type Method Description voidVelocityContextInitializer. visitDatatype(IDatatype datatype) -
Uses of IDatatype in net.ssehub.easy.integration.common.impl
Fields in net.ssehub.easy.integration.common.impl with type parameters of type IDatatype Modifier and Type Field Description private java.util.List<IDatatype>Model. typesConstructors in net.ssehub.easy.integration.common.impl with parameters of type IDatatype Constructor Description DecisionVariable(java.lang.String name, IDatatype type, java.lang.String defaultValue, Project parent)Creates a new decision variable. -
Uses of IDatatype in net.ssehub.easy.producer.ui.confModel
Fields in net.ssehub.easy.producer.ui.confModel declared as IDatatype Modifier and Type Field Description private IDatatypeComboboxGUIVariable. typeMethods in net.ssehub.easy.producer.ui.confModel that return IDatatype Modifier and Type Method Description protected IDatatypeGUIVariable. getType()Returns the type of the underlying IVML variable.Methods in net.ssehub.easy.producer.ui.confModel with parameters of type IDatatype Modifier and Type Method Description voidConfigEditorValueRetriever. visitDatatype(IDatatype datatype)voidGUIValueFactory.VariableVisitor. visitDatatype(IDatatype datatype)voidTooltipCreator. visitDatatype(IDatatype datatype)Constructors in net.ssehub.easy.producer.ui.confModel with parameters of type IDatatype Constructor Description ComboboxGUIVariable(IDecisionVariable variable, org.eclipse.swt.widgets.Composite parent, IDatatype type, ComboboxGUIVariable.ComboItem[] values, IGUIConfigurableElement confParent)Sole constructor for this class.MultipleSelectionEditor(org.eclipse.swt.widgets.Composite composite, IDatatype refType, IDecisionVariable refVariable)Constructor for aMultipleSelectionEditor. -
Uses of IDatatype in net.ssehub.easy.producer.ui.internal
Methods in net.ssehub.easy.producer.ui.internal with type parameters of type IDatatype Modifier and Type Method Description static <T extends IDatatype>
TTypeSelectionDialog. open(org.eclipse.swt.widgets.Shell shell, java.lang.String title, java.util.Collection<T> types)Opens a type selection dialog based on the giventitleandtypes.static <T extends IDatatype>
TTypeSelectionDialog. open(org.eclipse.swt.widgets.Shell shell, java.lang.String title, java.util.Collection<T> types, T selected)Opens a type selection dialog based on the giventitleandtypes.Methods in net.ssehub.easy.producer.ui.internal with parameters of type IDatatype Modifier and Type Method Description static java.lang.StringTypeSelectionDialog. getActualTypeString(IDatatype type, java.lang.String deflt)Returns "(actual:)" if typeis not null,defltelse. -
Uses of IDatatype in net.ssehub.easy.reasoning.core.frontend
Methods in net.ssehub.easy.reasoning.core.frontend with parameters of type IDatatype Modifier and Type Method Description ValueCreationResultIReasonerInstance. createValue(AbstractVariable var, IDatatype type, ProgressObserver observer)Creates the value for a certain IVML type/variable.ValueCreationResultReasonerAdapter. createValue(Configuration cfg, AbstractVariable var, IDatatype type, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Creates the value for a certain IVML type/variable.ValueCreationResultReasonerAdapter.FrontendReasonerAdapter. createValue(Configuration cfg, AbstractVariable var, IDatatype type, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)ValueCreationResultReasonerAdapter.InstanceReasonerAdapter. createValue(Configuration cfg, AbstractVariable var, IDatatype type, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)ValueCreationResultReasonerAdapter.IReasonerAdapter. createValue(Configuration cfg, AbstractVariable var, IDatatype type, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Creates the value for a certain IVML type/variable.ValueCreationResultReasonerFrontend. createValue(Configuration cfg, AbstractVariable var, IDatatype type, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Creates the value for a certain IVML type/variable. -
Uses of IDatatype in net.ssehub.easy.reasoning.core.impl
Methods in net.ssehub.easy.reasoning.core.impl with parameters of type IDatatype Modifier and Type Method Description static ValueCreationResultReasonerHelper. createValue(Configuration cfg, AbstractVariable var, IDatatype type, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Creates the value for a certain IVML type/variable. -
Uses of IDatatype in net.ssehub.easy.reasoning.core.reasoner
Fields in net.ssehub.easy.reasoning.core.reasoner declared as IDatatype Modifier and Type Field Description private IDatatypeAttachedConstraint. typeMethods in net.ssehub.easy.reasoning.core.reasoner with parameters of type IDatatype Modifier and Type Method Description ValueCreationResultDelegatingReasonerInstance. createValue(AbstractVariable var, IDatatype type, ProgressObserver observer)ValueCreationResultIReasoner. createValue(Configuration cfg, AbstractVariable var, IDatatype type, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Creates the value for a certain IVML type/variable.Constructors in net.ssehub.easy.reasoning.core.reasoner with parameters of type IDatatype Constructor Description AttachedConstraint(ConstraintSyntaxTree consSyntax, IDatatype type, IModelElement parent)Creates a new constraint from an already parsed syntax tree. -
Uses of IDatatype in net.ssehub.easy.reasoning.sseReasoner
Methods in net.ssehub.easy.reasoning.sseReasoner with parameters of type IDatatype Modifier and Type Method Description private voidCheckInitializerVisitor. checkForConstraint(IDatatype type, ConstraintSyntaxTree cst)Checks for a constraint expression.private static ConstraintSyntaxTreeResolver. checkTypeCast(IDatatype declType, IDatatype actType, AbstractVariable decl, ConstraintSyntaxTree cAcc)Inserts a type cast if needed.ValueCreationResultReasoner. createValue(Configuration cfg, AbstractVariable var, IDatatype type, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)ValueCreationResultReasoner.ReasonerInstance. createValue(AbstractVariable var, IDatatype type, ProgressObserver observer)private voidResolver. translateCompoundContainer(AbstractVariable decl, Compound type, IDatatype declaredContainedType, ConstraintSyntaxTree cAcc)Translates an entire compound containerdeclincluding defaults and constraints for the specific typecmpType(iterate through all relevant types).private voidResolver. translateContainerDeclaration(AbstractVariable decl, IDecisionVariable var, IDatatype type, ConstraintSyntaxTree cAcc)Translates the (transitive) defaults and type constraints for a container declaration.private voidResolver. translateDerivedDatatypeConstraints(AbstractVariable decl, IDatatype type, DecisionVariableDeclaration localDecl, IModelElement parent, int refCounter, ConstraintSyntaxTree cAcc)Extracts, translates and collects the internal constraints oftype(if derived or, transitively, a reference datatype) and stores the constraints in#derivedTypeConstraints. -
Uses of IDatatype in net.ssehub.easy.reasoning.sseReasoner.functions
Methods in net.ssehub.easy.reasoning.sseReasoner.functions with parameters of type IDatatype Modifier and Type Method Description private voidConstraintFunctions.TransitiveConstraintFinder. visit(IDatatype type)Internal method to start visiting a datatype.voidConstraintFunctions.TransitiveConstraintFinder. visitDatatype(IDatatype datatype) -
Uses of IDatatype in net.ssehub.easy.reasoning.sseReasoner.model
Fields in net.ssehub.easy.reasoning.sseReasoner.model declared as IDatatype Modifier and Type Field Description private IDatatypeContextStack.Context. typeStores the associated type.Fields in net.ssehub.easy.reasoning.sseReasoner.model with type parameters of type IDatatype Modifier and Type Field Description private java.util.Map<IDatatype,TypeCache.Entry>TypeCache. cacheprivate java.util.Set<? extends IDatatype>ContextStack. globalExcludesprivate java.util.Set<IDatatype>ContextStack.Context. processedTypesThe processed types.private java.util.Set<? extends IDatatype>ContextStack.Context. typeExcludesStores type-excludes for constraint re-scheduling.Methods in net.ssehub.easy.reasoning.sseReasoner.model that return IDatatype Modifier and Type Method Description IDatatypeContextStack. getCurrentType()Returns the type stored in the current context.static IDatatypeReasoningUtils. getDeepestContainedType(Container cnt)Returns the deepest contained type, i.e., for a nested container the deeply nested (base) type.static IDatatypeReasoningUtils. inferTypeSafe(ConstraintSyntaxTree cst, IDatatype dflt)Infers the type ofcstusingdfltas fallback.Methods in net.ssehub.easy.reasoning.sseReasoner.model with parameters of type IDatatype Modifier and Type Method Description voidContextStack. addAsParentCache(IDatatype type, TypeCache.IConstraintTarget target, IDecisionVariable register, AbstractVariable var)Adds the type cache oftypeas parent to the type cache that is currently in construction.booleanContextStack. alreadyProcessed(IDatatype type)Returns whethertypewas already processed.private static voidReasoningUtils. collectRefines(Compound cmp, IDatatype exclude, boolean add, java.util.Set<Compound> result)Collects all refines fromcmpexcluding all originating atexclude, adding or removing following compounds based onaddstoring the results inresult.static java.util.Set<Compound>ReasoningUtils. collectRefines(IDatatype start, IDatatype exclude)Collects all refines fromstartexcluding all originating atexclude.booleanTypeCache. contains(IDatatype type)Returns whether this type cache contains an entry fortype.static ConstraintSyntaxTreeReasoningUtils. createAsTypeCast(ConstraintSyntaxTree exp, IDatatype targetType)Creates a type cast ("asType" operation, if needed) from the type ofexptotargetTypeapplied toexp.static ConstraintSyntaxTreeReasoningUtils. createAsTypeCast(ConstraintSyntaxTree exp, IDatatype sourceType, IDatatype targetType)Creates a type cast ("asType" operation, if needed) fromsourceTypetotargetTypeapplied toexp.TypeCache.EntryTypeCache. createEntryFor(IDatatype type, AbstractVariable var)Creates a type cache entry.static ValueReasoningUtils. createTypeValue(IDatatype type)Creates a type value.static ConstraintSyntaxTreeReasoningUtils. createTypeValueConstant(IDatatype type)Creates a type value constraint tree node.static ConstraintSyntaxTreeReasoningUtils. createTypeValueConstantSafe(IDatatype type)Creates a type value constraint tree node and logs occurring exceptions.TypeCache.EntryTypeCache. get(IDatatype type)Returns a type cache entry for the giventype.ContextStack.TranslateModeContextStack. getMappingMode(IDatatype type)Returns the type cache mapping mode when trying to register a new type.static IDatatypeReasoningUtils. inferTypeSafe(ConstraintSyntaxTree cst, IDatatype dflt)Infers the type ofcstusingdfltas fallback.static booleanReasoningUtils. isNestedContainer(IDatatype type)Returns whethertypeis a type-nested container.booleanContextStack. isTypeExcluded(IDatatype type)Returns whether the giventypeis excluded in the current context.voidContextStack. popContext(IDatatype type)Pops a context and transfers the cache information.voidContextStack. recordProcessed(IDatatype type)Records a processed type (in case of compounds also all refined types) in the closest actual context that allows recording (seeContextStack.Context.recordProcessedTypesandContextStack.pushContext(AbstractVariable, ConstraintSyntaxTree, DecisionVariableDeclaration, boolean)).voidContextStack. registerForTypeCache(IDatatype type, AbstractVariable var)Registers the given type and the prototypical template variablevaras type in the type cache.booleanContextStack. transferConstraints(IDatatype type, TypeCache.IConstraintTarget target, IDecisionVariable register, AbstractVariable var)Transfers all constraints from the associated type cache entry into their respective target constraint sets.booleanTypeCache. transferConstraints(IDatatype type, TypeCache.IConstraintTarget target, IDecisionVariable register, AbstractVariable var)Transfers collected constraints fortype.voidTypeCache. transferContext(IDatatype type, java.util.Map<AbstractVariable,ConstraintSyntaxTree> varMap, java.util.Map<java.lang.String,ConstraintSyntaxTree> nameMap)Transfers the mappings of the givencontextinto the cache entry oftype.voidContextStack. transferToContext(IDatatype type, AbstractVariable var)Indicates that mapping information from the type cache shall be transferred into the current context.voidTypeCache. transferToContext(IDatatype type, ContextStack contexts, AbstractVariable var)Transfers all accessors stored inTypeCache.Entry.varMapinto the actual context incontextsby instantiating them.voidContextStack. transferTypeExcludes(IDatatype type)Transfers the type excludes from the next enclosing context defining type excludes to the current context.Method parameters in net.ssehub.easy.reasoning.sseReasoner.model with type arguments of type IDatatype Modifier and Type Method Description private voidContextStack. recordProcessed(java.util.Set<IDatatype> processed, Compound type)Records a processed compound.voidContextStack. setTypeExcludes(java.util.Set<? extends IDatatype> excludes)Sets type excludes on the current context. -
Uses of IDatatype in net.ssehub.easy.varModel.confModel
Fields in net.ssehub.easy.varModel.confModel with type parameters of type IDatatype Modifier and Type Field Description private java.util.Map<IDatatype,java.util.Map<IDecisionVariable,ReferenceValue>>Configuration. allInstancesprivate java.util.Map<IDatatype,java.util.List<IDecisionVariable>>AssignmentResolver. instancesPerTypeTemporary list of all instances per data type.private java.util.Map<IDatatype,java.util.List<ConstraintSyntaxTree>>QueryCache. refValuesTuple of (Reference.getType(), possible values for the reference).Methods in net.ssehub.easy.varModel.confModel that return IDatatype Modifier and Type Method Description IDatatypeContainerVariable. getContainedType()Returns the contained type of this container.IDatatypeCompoundVariable. getInstantiatableType()IDatatypeDecisionVariable. getInstantiatableType()Returns one of the actual types required to instantiate this variable.Methods in net.ssehub.easy.varModel.confModel with parameters of type IDatatype Modifier and Type Method Description IDecisionVariableContainerVariable. addNestedElement(IDatatype type)Adds a new nested element to this variable.private static voidConfigQuery. addVariableByType(IDecisionVariable variable, IDatatype type, boolean onlyToplevel, java.util.List<IDecisionVariable> variables)Recursive part ofConfigQuery.collectVariablesByType(Configuration, IDatatype, boolean), which searches for (nested) variables.private voidConfiguration. collectAllInstances(IDecisionVariable var, IDatatype type, java.util.Map<IDatatype,Reference> referenceTypes, java.util.Map<IDecisionVariable,ReferenceValue> instances)Collects all instances oftypestarting atvarand stores results intoreferenceTypesandinstances.static java.util.List<IDecisionVariable>ConfigQuery. collectVariablesByType(Configuration config, IDatatype type, boolean onlyToplevel)Gathers allIDecisionVariables of the givenConfiguration, which match the specified type.ValueConfiguration. getAllInstances(IDatatype type)Returns all instances of the given type and sub-types.ValueIConfiguration. getAllInstances(IDatatype type)Returns all instances oftype.protected java.util.List<IDecisionVariable>AssignmentResolver. getInstancesForType(IDatatype type)Returns a list of all (nested)IDecisionVariables for the given type.voidVariableCreator. visitDatatype(IDatatype datatype)Method parameters in net.ssehub.easy.varModel.confModel with type arguments of type IDatatype Modifier and Type Method Description private voidConfiguration. collectAllInstances(IDecisionVariable var, IDatatype type, java.util.Map<IDatatype,Reference> referenceTypes, java.util.Map<IDecisionVariable,ReferenceValue> instances)Collects all instances oftypestarting atvarand stores results intoreferenceTypesandinstances. -
Uses of IDatatype in net.ssehub.easy.varModel.cst
Fields in net.ssehub.easy.varModel.cst declared as IDatatype Modifier and Type Field Description private IDatatypeContainerOperationCall. iteratorBaseprivate IDatatypeContainerOperationCall. resultprivate IDatatypeIfThen. resultprivate IDatatypeOCLFeatureCall. resultprivate IDatatypeBlockExpression. typeMethods in net.ssehub.easy.varModel.cst that return IDatatype Modifier and Type Method Description private IDatatypeOCLFeatureCall. getActualReturnType(Operation op, IDatatype immediateOperand, IDatatype... parameter)Determines the actual return type and considers the actual type of meta type parameters.IDatatypeConstantValue. getContainedType()IDatatypeConstraintSyntaxTree. getContainedType()Returns the data type explicitly contained in this syntax tree.IDatatypeContainerOperationCall. getContainerType()Returns the actual container type taking into account that the left side must not be a container but can dynamically be mapped into one.IDatatypeContainerOperationCall. getIteratorBaseType()Returns the iterator base type (the type contained in the container we are iterating over).private IDatatypeOCLFeatureCall. getParameterType(Operation tmp, int index, int requiredParamCount, int opInc)Returns the parameter type oftmpat positionindexconsidering named and positional parameters.IDatatypeCompoundAccess. getStaticType()Returns the static type in case that this compound access is a static access.IDatatypeSelf. getType()Returns the type (without exception throwing).IDatatypeAttributeVariable. inferDatatype()IDatatypeBlockExpression. inferDatatype()IDatatypeComment. inferDatatype()IDatatypeCompoundAccess. inferDatatype()IDatatypeCompoundInitializer. inferDatatype()IDatatypeConstantValue. inferDatatype()abstract IDatatypeConstraintSyntaxTree. inferDatatype()Infers the datatype of the subtree represented by this object.IDatatypeContainerInitializer. inferDatatype()IDatatypeContainerOperationCall. inferDatatype()IDatatypeEmptyInitializer. inferDatatype()IDatatypeIfThen. inferDatatype()IDatatypeLet. inferDatatype()IDatatypeMultiAndExpression. inferDatatype()IDatatypeNamedArgument. inferDatatype()IDatatypeOCLFeatureCall. inferDatatype()IDatatypeParenthesis. inferDatatype()IDatatypeSelf. inferDatatype()IDatatypeUnresolvedExpression. inferDatatype()IDatatypeVariable. inferDatatype()Methods in net.ssehub.easy.varModel.cst with parameters of type IDatatype Modifier and Type Method Description private OperationOCLFeatureCall. checkOperand(Operation op, IDatatype operandType, IDatatype[] paramTypes)If required, checks the operand against the operation result type.private voidOCLFeatureCall. checkRequiredAssignableParameter(Operation op, IDatatype operandType, IDatatype[] paramTypes)Checks the operation for required assignable parameter if required.static voidOCLFeatureCall. checkTypeCompliance(Operation op, IDatatype operandType, IDatatype[] parameterTypes)Performs specific type compliance checks for found operations, e.g., in case of equality or assignments.static java.lang.StringUnknownOperationException. constructMessage(java.lang.String name, IDatatype operand, IDatatype... parameter)Constructs the message for the exception.private IDatatypeOCLFeatureCall. getActualReturnType(Operation op, IDatatype immediateOperand, IDatatype... parameter)Determines the actual return type and considers the actual type of meta type parameters.private OperationOCLFeatureCall. getCustomOperation(ICustomOperationAccessor accessor, IDatatype[] paramTypes, int opInc)Searches for a custom operation onaccessor.private OperationOCLFeatureCall. getCustomOperation(ICustomOperationAccessor accessor, IDatatype[] paramTypes, java.util.HashSet<ICustomOperationAccessor> done, int opInc)Searches for a custom operation onaccessorand, if not found, on the imports ofaccessor.private static booleanOCLFeatureCall. isParameterAssignable(IDatatype declared, IDatatype argument)Returns whether theargumenttype is assignable to thedeclaredtype.private static voidOCLFeatureCall. resolveFully(ConstraintSyntaxTree[] parameter, IDatatype[] types)Dereferencestypesifparameterdoes not indicate a refBy.Constructors in net.ssehub.easy.varModel.cst with parameters of type IDatatype Constructor Description UnknownOperationException(java.lang.String name, int code, IDatatype operand, IDatatype... parameter)Constructs the message for the exception. -
Uses of IDatatype in net.ssehub.easy.varModel.cstEvaluation
Fields in net.ssehub.easy.varModel.cstEvaluation declared as IDatatype Modifier and Type Field Description private IDatatype[]DispatchInformation. argTypesprivate IDatatypeDispatchInformation. returnTypeFields in net.ssehub.easy.varModel.cstEvaluation with type parameters of type IDatatype Modifier and Type Field Description private java.util.Map<IDatatype,java.util.Map<java.lang.String,VariableValueCopier.CopySpec>>VariableValueCopier. specsMethods in net.ssehub.easy.varModel.cstEvaluation that return IDatatype Modifier and Type Method Description private static IDatatypeGenericOperations. toType(Value value)Returns the type ofvalue.Methods in net.ssehub.easy.varModel.cstEvaluation that return types with arguments of type IDatatype Modifier and Type Method Description (package private) static java.util.Map<IDatatype,java.util.List<AbstractVariable>>EvaluationUtils. groupQuantors(java.util.Iterator<AbstractVariable> staticIter)Turns the statically accessed variables into groups of variables belonging to the same compound.Methods in net.ssehub.easy.varModel.cstEvaluation with parameters of type IDatatype Modifier and Type Method Description (package private) ValueEvaluationVisitor.EvaluationContextImpl. bind(IDatatype type)Binds the type to the first/closest definition of type.(package private) ValueLocalConfiguration. bind(IDatatype type, EvaluationContext context)Binds the giventypeto the first matching decision variable.(package private) static intEvaluationUtils. calculateDiff(CustomOperation operation, IDatatype returns, IDatatype[] argTypes)Returns the difference of the operations in terms of different (assignable) types.private static EvaluationAccessorContainerOperations. convert(EvaluationAccessor operand, IDatatype targetType)Performs the conversion of the operand to the given (container) datatype.private static intEvaluationUtils. diff(Compound type, IDatatype opType)Calculates the difference between the compoundtypeand its refinement hierarcy andopType.private static intEvaluationUtils. diff(IDatatype opType, IDatatype paramType)Returns the difference indicator between two types.ValueEvaluationVisitor.EvaluationContextImpl. getAllInstances(IDatatype type)ValueLocalConfiguration. getAllInstances(IDatatype type)ValueContainerIterators.CollectingIteratorEvaluator. getStartResult(IDatatype type, IDatatype iterType)ValueContainerIterators.NumberIteratorEvaluator. getStartResult(IDatatype type, IDatatype iterType)ValueIIteratorEvaluator. getStartResult(IDatatype type, IDatatype iterType)Returns the start result.Method parameters in net.ssehub.easy.varModel.cstEvaluation with type arguments of type IDatatype Modifier and Type Method Description private ConstraintSyntaxTreeEvaluationVisitor. bindFreeVarsByQuantors(ConstraintSyntaxTree cst, java.util.Map<IDatatype,java.util.List<AbstractVariable>> quantorGroups)Binds the free variables by one quantor per quantor group.Constructors in net.ssehub.easy.varModel.cstEvaluation with parameters of type IDatatype Constructor Description CollectionElementVariable(AbstractVariable base, IDatatype type, IResolutionPathElement path, int index)Creates a collection element variable. -
Uses of IDatatype in net.ssehub.easy.varModel.model
Classes in net.ssehub.easy.varModel.model that implement IDatatype Modifier and Type Class Description classProjectTypeImplements a private datatype class which represents the (pseudo) type of a project.Fields in net.ssehub.easy.varModel.model declared as IDatatype Modifier and Type Field Description private IDatatypeAbstractVariable. typeprivate IDatatypeModelQuery.FirstDeclTypeSelector. typeMethods in net.ssehub.easy.varModel.model that return IDatatype Modifier and Type Method Description static IDatatypeModelQuery. findElementByTypeName(IResolutionScope elements, java.lang.String typeName, java.lang.Class<? extends IDatatype> type)Finds the specified data type definition in the givenelements.static IDatatypeModelQuery. findElementByTypeName(IResolutionScope elements, java.lang.String typeName, java.lang.Class<? extends IDatatype> type, java.util.Set<IResolutionScope> done)Finds the specified data type definition in the givenelements.static IDatatypeModelQuery. findElementByTypeName(IDecisionVariableContainer container, java.lang.String typeName)Finds the specified data type definition in the givencontainer.private static IDatatypeModelQuery. findType(IResolutionScope elements, java.lang.String name, boolean considerVariableDeclarations, java.lang.Class<? extends IDatatype> type, java.util.Set<IResolutionScope> done)Finds the specified data type definition in the givenproject.static IDatatypeModelQuery. findType(IResolutionScope elements, java.lang.String name, java.lang.Class<? extends IDatatype> type)Finds the specified data type definition in the givenproject.IDatatypeProjectType. getGenericType(int index)IDatatypeAbstractVariable. getType()Returns the type of this variable.IDatatypeCompoundAccessStatement. getType()IDatatypeFreezeBlock. getType()Returns the internal type of this block.IDatatypeIFreezable. getType()Returns the type of this freezable.IDatatypeProject. getType()Returns the (pseudo) datatype of this project.IDatatypeProjectType. getType()Methods in net.ssehub.easy.varModel.model that return types with arguments of type IDatatype Modifier and Type Method Description java.lang.Class<? extends IDatatype>ProjectType. getTypeClass()Methods in net.ssehub.easy.varModel.model with parameters of type IDatatype Modifier and Type Method Description static java.lang.StringIvmlDatatypeVisitor. getQualifiedType(IDatatype type)Returns the textual representation of the given type based on the qualified name using an instance of this class.static java.lang.StringModelQuery. getReferenceTypeSearchName(IDatatype type)Returns the name to be used for searching for a reference with contained typetype.static java.lang.StringIvmlDatatypeVisitor. getType(IDatatype type, QualifiedNameMode mode)Returns the textual representation of the given type using an instance of this class.private static java.lang.StringModelQuery. getType(IDatatype type, QualifiedNameMode mode)Returns the textual representation of the given type.static java.lang.StringIvmlDatatypeVisitor. getUniqueType(IDatatype type)Returns the textual representation of the given type based on the unique name using an instance of this class.static java.lang.StringIvmlDatatypeVisitor. getUnqualifiedType(IDatatype type)Returns the textual representation of the given type based on the unqualified name using an instance of this class.booleanProjectType. isAssignableFrom(IDatatype type)Method parameters in net.ssehub.easy.varModel.model with type arguments of type IDatatype Modifier and Type Method Description static IDatatypeModelQuery. findElementByTypeName(IResolutionScope elements, java.lang.String typeName, java.lang.Class<? extends IDatatype> type)Finds the specified data type definition in the givenelements.static IDatatypeModelQuery. findElementByTypeName(IResolutionScope elements, java.lang.String typeName, java.lang.Class<? extends IDatatype> type, java.util.Set<IResolutionScope> done)Finds the specified data type definition in the givenelements.private static IDatatypeModelQuery. findType(IResolutionScope elements, java.lang.String name, boolean considerVariableDeclarations, java.lang.Class<? extends IDatatype> type, java.util.Set<IResolutionScope> done)Finds the specified data type definition in the givenproject.static IDatatypeModelQuery. findType(IResolutionScope elements, java.lang.String name, java.lang.Class<? extends IDatatype> type)Finds the specified data type definition in the givenproject.Constructors in net.ssehub.easy.varModel.model with parameters of type IDatatype Constructor Description AbstractVariable(java.lang.String name, IDatatype type, IModelElement parent)Constructor for decision variable declaration.AbstractVariable(java.lang.String name, IDatatype type, Value defaultValue, IModelElement parent)Constructor for explicit variable creation.Attribute(java.lang.String name, IDatatype type, IModelElement parent, IAttributableElement element)Constructor for an attribute.Attribute(java.lang.String name, IDatatype type, IModelElement parent, IAttributableElement element, Attribute origin)Constructor for an attribute.ConstantDecisionVariableDeclaration(java.lang.String name, IDatatype type, IModelElement parent)Constructor for decision variable declaration.DecisionVariableDeclaration(java.lang.String name, IDatatype type, IModelElement parent)Constructor for decision variable declaration.DotAttribute(java.lang.String name, IDatatype type, IModelElement parent, IAttributableElement element)Constructor for an attribute specified by ".".ExplicitTypeVariableDeclaration(java.lang.String name, IDatatype type, IModelElement parent)Constructor for explicitly typed variable declarator.FirstDeclTypeSelector(IDatatype type)Creates a selector fortype.ProjectDecisionVariableDeclaration(java.lang.String name, IDatatype type, ModelElement parent)Constructor for decision variable declaration. -
Uses of IDatatype in net.ssehub.easy.varModel.model.datatypes
Classes in net.ssehub.easy.varModel.model.datatypes that implement IDatatype Modifier and Type Class Description classAnyTypeThe AnyType is the "Object" of OCL, a type to which all types are compatible.classBasisDatatypeRepresents the basic data types of the IVML.classBooleanTypeCreates the BasisDatatype Boolean.classCompoundA compound type groups multiple types into a single named unit.classConstraintTypeDefines the basis datatype for holding constraints.classContainerRealizes an abstract container.classCustomDatatypeAbstract class, implements the setName method for the custom data types.(package private) classDelegatingTypeAn internal delegating type to resolve cyclic class dependencies.classDerivedDatatypeDerivedDatatype allows the user to create new data types based on existing types.classEnumEnumerations allow the definition of sets of named values.classFreezeVariableTypeAn internal type for freezes to iterate / specify expressions on freezables.classIntegerTypeCreates the BasisDatatype Integer.classMetaTypeImplements a data type which represents types (as result of type operations).classOrderedEnumEnumerations allow the definition of sets of named values.classRealTypeCreates the BasisDatatype Real.classReferenceA reference allows the definition of individual configurations of an (external) element for the referencing element.classSequenceRealizes a sequence container.classSetRealizes a set container.classStringTypeDefines the basis datatype String.classStructuredDatatypeClass to specify the container and compound.classVersionTypeDefines the basis (internal) datatype "Version".classVoidTypeThe AnyType is the "Object" of OCL, a type to which all types are compatible.Fields in net.ssehub.easy.varModel.model.datatypes declared as IDatatype Modifier and Type Field Description private IDatatypeDerivedDatatype. basisTypeprivate IDatatypeDelegatingType. delegateStores the type to delegate to.private IDatatypeOperation. operandStores the data type this operation is defined for.private IDatatype[]Operation. parametersprivate IDatatypeOperation. returnsprivate IDatatypeBaseTypeVisitor. typeprivate IDatatypeContainer. typeprivate IDatatypeReference. typestatic IDatatypeAnyType. TYPEstatic IDatatypeBooleanType. TYPEstatic IDatatypeCompound. TYPEThis constant represents the common type of all compounds.static IDatatypeConstraintType. TYPEstatic IDatatypeContainer. TYPEThis constant represents the common type of all sets.static IDatatypeDerivedDatatype. TYPEThis constant represents the common type of all derived datatypes.static IDatatypeEnum. TYPEThis constant represents the common type of all enums.static IDatatypeFreezeVariableType. TYPEThis constant represents the common type of all freeze variables.static IDatatypeIntegerType. TYPEstatic IDatatypeMetaType. TYPEstatic IDatatypeOrderedEnum. TYPEThis constant represents the common type of all enums.static IDatatypeRealType. TYPEstatic IDatatypeReference. TYPEThis constant represents the common type of all references.static IDatatypeSequence. TYPEThis constant represents the common type of all sets.static IDatatypeSet. TYPEThis constant represents the common type of all sets.static IDatatypeStringType. TYPEstatic IDatatypeVersionType. TYPEstatic IDatatypeVoidType. TYPEprivate static IDatatype[]Types. TYPESFields in net.ssehub.easy.varModel.model.datatypes with type parameters of type IDatatype Modifier and Type Field Description private static java.util.Map<java.lang.String,IDatatype>Types. BASICprivate static java.util.Map<java.lang.String,IDatatype>TypeMapper. STRING_TYPEStores the name-to-type-mappings.private static java.util.Map<IDatatype,java.lang.String>TypeMapper. TYPE_STRINGStores the type-to-name-mappings.Methods in net.ssehub.easy.varModel.model.datatypes that return IDatatype Modifier and Type Method Description protected IDatatypeOperation. createCollectionReturnType(IDatatype aim, IDatatype elementType, IModelElement parent)Creates a collection return type based onaim.protected IDatatypeSetReturningOperation. createCollectionReturnType(IDatatype aim, IDatatype elementType, IModelElement parent)static IDatatypeReference. dereference(IDatatype type)Aims at dereferencetypein case that it is a reference.static IDatatypeTypeQueries. findDeepestGeneric(IDatatype type, int pos)Finds the deepest generic type intypealways tryingposas position for the generic type.IDatatypeOperation. getActualReturnType(IDatatype immediateOperand, IDatatype... parameter)Determines the actual return type.static IDatatypeBaseTypeVisitor. getBaseType(IDatatype type)Returns the base type oftype.static IDatatypeTypes. getBasicTypeByName(java.lang.String name)Returns a basic type by name.IDatatypeDerivedDatatype. getBasisType()Returns the basis type.IDatatypeContainer. getContainedType()Returns the type of the contained elements.IDatatypeDelegatingType. getDelegate()Returns the delegate type.IDatatypeBasisDatatype. getGenericType(int index)IDatatypeContainer. getGenericType(int index)IDatatypeCustomDatatype. getGenericType(int index)IDatatypeDelegatingType. getGenericType(int index)IDatatypeIDatatype. getGenericType(int index)Returns the specified generic type.IDatatypeOperation. getOperand()The operand this operation is defined on.IDatatypeOperation. getParameterType(int index)Returns the parameter type at positionindex.private static IDatatype[]CustomOperation. getParameterTypes(DecisionVariableDeclaration[] decl)Returns the datatypes of the parameter declarations.IDatatypeOperation. getReturns()Getter for the return type of this operation.private IDatatypeBaseTypeVisitor. getType()Returns the inferred base type.IDatatypeBasisDatatype. getType()Returns the object realizing the type.IDatatypeCustomDatatype. getType()Returns the object realizing the type.IDatatypeDelegatingType. getType()Returns the object realizing the type.IDatatypeICustomOperationAccessor. getType()Returns the (pseudo) datatype of this accessor, the operand type for all accessible custom operations.IDatatypeIDatatype. getType()Returns the object realizing the type.IDatatypeReference. getType()Returns the type this reference is referring to.static IDatatypeTypeMapper. getType(java.lang.String name)Returns the mapped type for aname.static IDatatype[]Types. getTypes()Returns the currently known types.private IDatatypeOperation. immediateOperandCollection(IDatatype immediateOperand)Returns a collection type using the immediate operand as generic based on the original return type of this operation.private IDatatypeOperation. immediateOperandCollection(Operation.ReturnTypeMode mode, IDatatype immediateOperand, IDatatype[] parameter)Determines the immediate operand for a collection.static IDatatypeTypeQueries. resolveFully(IDatatype type)Resolves to the most basic type, i.e., even across nested references/derived types.static IDatatypeDerivedDatatype. resolveToBasis(IDatatype type)Resolves the given type to its innermost basis datatype.static IDatatype[]TypeQueries. toGenerics(IDatatype type)Turns the generics oftypeinto an array of types.Methods in net.ssehub.easy.varModel.model.datatypes that return types with arguments of type IDatatype Modifier and Type Method Description java.lang.Class<? extends IDatatype>BasisDatatype. getTypeClass()java.lang.Class<? extends IDatatype>CustomDatatype. getTypeClass()Returns the java class realizing the type.java.lang.Class<? extends IDatatype>DelegatingType. getTypeClass()java.lang.Class<? extends IDatatype>IDatatype. getTypeClass()Returns the java class realizing the type.Methods in net.ssehub.easy.varModel.model.datatypes with parameters of type IDatatype Modifier and Type Method Description private static voidTypes. addBasicType(IDatatype type)Registers a basic type for retrieval by name.voidDatatypeVisitor. constructReferenceName(IDatatype type)Constructs a reference name from the given containedtype.protected voidDatatypeVisitor. constructSurrounded(java.lang.String prefix, IDatatype type)Constructs a surrounded datatype, i.e.protected IDatatypeOperation. createCollectionReturnType(IDatatype aim, IDatatype elementType, IModelElement parent)Creates a collection return type based onaim.protected IDatatypeSetReturningOperation. createCollectionReturnType(IDatatype aim, IDatatype elementType, IModelElement parent)static OperationOperation. createInfixOperator(IDatatype returns, java.lang.String name, IDatatype operand, IDatatype... parameters)Creates an infix operator (descriptor).static OperationOperation. createPostfixOperator(IDatatype returns, java.lang.String name, IDatatype operand, IDatatype... parameters)Creates a postfix operator (descriptor).static OperationOperation. createPrefixOperator(IDatatype returns, java.lang.String name, IDatatype operand, IDatatype... parameters)Creates a prefix operator (descriptor).static IDatatypeReference. dereference(IDatatype type)Aims at dereferencetypein case that it is a reference.static voidReference. dereference(IDatatype[] types)Dereferences all datatypes intype.static IDatatypeTypeQueries. findDeepestGeneric(IDatatype type, int pos)Finds the deepest generic type intypealways tryingposas position for the generic type.IDatatypeOperation. getActualReturnType(IDatatype immediateOperand, IDatatype... parameter)Determines the actual return type.static IDatatypeBaseTypeVisitor. getBaseType(IDatatype type)Returns the base type oftype.private static BaseTypeVisitorBaseTypeVisitor. getInstance(IDatatype type)Obtains an instance from the pool.static java.lang.StringTypeMapper. getName(IDatatype type)Returns the mapping name for atype.static OperationTypeQueries. getOperation(IDatatype operand, java.lang.String name, IDatatype... parameter)Returns an operation defined onoperandwith givennameandparameters.java.lang.StringDatatypeVisitor. getType(IDatatype type)Returns the textual representation of this type.private IDatatypeOperation. immediateOperandCollection(IDatatype immediateOperand)Returns a collection type using the immediate operand as generic based on the original return type of this operation.private IDatatypeOperation. immediateOperandCollection(Operation.ReturnTypeMode mode, IDatatype immediateOperand, IDatatype[] parameter)Determines the immediate operand for a collection.static booleanTypeQueries. isAnyType(IDatatype type)Returns whethertypeisAnyType.booleanAnyType. isAssignableFrom(IDatatype type)booleanBasisDatatype. isAssignableFrom(IDatatype type)Determines if the data type represented by this object is either the same as, or is a supertype oftype.booleanBooleanType. isAssignableFrom(IDatatype type)booleanCompound. isAssignableFrom(IDatatype type)Determines if the data type represented by this object is either the same as, or is a supertype oftype.booleanConstraintType. isAssignableFrom(IDatatype type)booleanContainer. isAssignableFrom(IDatatype type)Determines if the data type represented by this object is either the same as, or is a supertype oftype.booleanCustomDatatype. isAssignableFrom(IDatatype type)Determines if the data type represented by this object is either the same as, or is a supertype oftype.booleanDelegatingType. isAssignableFrom(IDatatype type)booleanDerivedDatatype. isAssignableFrom(IDatatype type)booleanFreezeVariableType. isAssignableFrom(IDatatype type)booleanIDatatype. isAssignableFrom(IDatatype type)Determines if the data type represented by this object is either the same as, or is a supertype oftype.booleanRealType. isAssignableFrom(IDatatype type)Determines if the data type represented by this object is either the same as, or is a supertype oftype.booleanReference. isAssignableFrom(IDatatype type)Determines if the data type represented by this object is either the same as, or is a supertype oftype.booleanVoidType. isAssignableFrom(IDatatype type)static booleanTypeQueries. isCompound(IDatatype type)Returns whethertypeis a compound type.static booleanConstraintType. isConstraint(IDatatype type)Returns whethertypeis a constraint.static booleanTypeQueries. isConstraint(IDatatype type)Returns whethertypeis a constraint (in the sense of a constraint variable).static booleanContainer. isConstraintContainer(IDatatype type)Returns whethertypeis a container with one generic of type Constraint.static booleanContainer. isContainer(IDatatype type, IDatatype... generics)Returns whethertypeis a container and the givengenericsmatch.static booleanTypeQueries. isContainer(IDatatype type)Returns whethertypeis a container.static booleanTypeQueries. isEnum(IDatatype type)Returns whethertypeis an enum.static booleanTypeQueries. isFreezeVariableType(IDatatype type)Returns whethertypeis a freeze variable.static booleanTypeQueries. isReference(IDatatype type)Returns whethertypeis a reference.static booleanContainer. isReferencesContainer(IDatatype type)Returns iftypeis a container of references.static booleanContainer. isReferencesContainer(IDatatype type, IDatatype elementType)Returns iftypeis a container of references of the givenelementType.static booleanReference. isReferenceTo(IDatatype type, IDatatype parameter)Returns whether the giventypeis a reference with givengeneric.static booleanSequence. isSequence(IDatatype type, IDatatype... generics)Returns whethertypeis a squence and the givengenericsmatch.static booleanTypeQueries. isSequence(IDatatype type)Returns whethertypeis a sequence.static booleanSet. isSet(IDatatype type, IDatatype... generics)Returns whethertypeis a squence and the givengenericsmatch.static booleanTypeQueries. isSet(IDatatype type)Returns whethertypeis a set.protected static booleanCustomDatatype. isType(IDatatype requestedType, IDatatype type, IDatatype... generics)Returns whethertypeofrequestedTypeand the givengenericsmatch.private static voidTypeMapper. put(java.lang.String name, IDatatype type)Adds a name-type-mapping.static IDatatypeTypeQueries. resolveFully(IDatatype type)Resolves to the most basic type, i.e., even across nested references/derived types.static IDatatypeDerivedDatatype. resolveToBasis(IDatatype type)Resolves the given type to its innermost basis datatype.static booleanTypeQueries. sameTypes(IDatatype type1, IDatatype type2)Returns whether the two types given are the same.voidDelegatingType. setDelegate(IDatatype delegate)Changes the delegate.private voidBaseTypeVisitor. setType(IDatatype type)Defines the initial value of the base type (also used for resetting and reuse).static IDatatype[]TypeQueries. toGenerics(IDatatype type)Turns the generics oftypeinto an array of types.voidBaseTypeVisitor. visitDatatype(IDatatype datatype)voidDatatypeVisitor. visitDatatype(IDatatype datatype)voidIDatatypeVisitor. visitDatatype(IDatatype datatype)Is called by an arbitrary data type.Constructors in net.ssehub.easy.varModel.model.datatypes with parameters of type IDatatype Constructor Description Container(java.lang.String name, DelegatingType singleton, IDatatype type, IModelElement parent)Constructor for the container.CustomDynamicOperation(IDatatype returns, java.lang.String methodname, IDatatype operand, ConstraintSyntaxTree function, DecisionVariableDeclaration[] parameters)Operation Constructor.CustomOperation(IDatatype returns, java.lang.String methodname, IDatatype operand, ConstraintSyntaxTree function, DecisionVariableDeclaration[] parameters)Operation Constructor.DelegatingType(IDatatype delegate)Creates a delegating type.DelegatingType(IDatatype delegate, DelegatingType parent)Creates a delegating type.DerivedDatatype(java.lang.String name, IDatatype basisType, ModelElement parent)Constructor for the derived data type.DerivedDatatype(java.lang.String name, IDatatype basisType, ModelElement parent, Constraint... constraints)Constructor for the derived data type.Operation(IDatatype returns, java.lang.String name, IDatatype operand, IDatatype... parameters)Creates a non-container operation (descriptor).Operation(IDatatype returns, Operation.ReturnTypeMode returnTypeMode, java.lang.String name, IDatatype operand, IDatatype... parameters)Creates an operation (descriptor).Reference(java.lang.String name, IDatatype type, ModelElement parent)Constructor for the reference.Sequence(java.lang.String name, IDatatype type, IModelElement parent)Constructor for the container.Set(java.lang.String name, IDatatype type, IModelElement parent)Constructor for the container.SetReturningOperation(IDatatype returns, java.lang.String name, IDatatype operand, IDatatype... parameters)Creates a non-container operation (descriptor).SetReturningOperation(IDatatype returns, Operation.ReturnTypeMode returnTypeMode, java.lang.String name, IDatatype operand, IDatatype... parameters)Creates an operation (descriptor). -
Uses of IDatatype in net.ssehub.easy.varModel.model.filter
Fields in net.ssehub.easy.varModel.model.filter declared as IDatatype Modifier and Type Field Description private IDatatypeDatatypeFinder. typeprivate IDatatypeDeclarationFinder. typeMethods in net.ssehub.easy.varModel.model.filter with parameters of type IDatatype Modifier and Type Method Description static java.util.List<AbstractVariable>ReferenceValuesFinder. findPossibleValues(Project project, IDatatype type)Constructors in net.ssehub.easy.varModel.model.filter with parameters of type IDatatype Constructor Description DatatypeFinder(Project originProject, FilterType filterType, IDatatype type)Sole constructor for creating a newDatatypeFinder.DeclarationFinder(Project project, FilterType filterType, IDatatype type)Constructor for specifying whether search results should be filtered regarding the specifiedIDatatype.DeclarationFinder(Project project, FilterType filterType, IDatatype type, boolean onlyToplevel)Constructor for specifying whether search results should be filtered regarding the specifiedIDatatypeand whether only toplevel variables should be retrieved. -
Uses of IDatatype in net.ssehub.easy.varModel.model.filter.mandatoryVars
Fields in net.ssehub.easy.varModel.model.filter.mandatoryVars with type parameters of type IDatatype Modifier and Type Field Description private java.util.Map<IDatatype,java.util.List<AbstractVariable>>MandatoryDeclarationClassifier. declarationsByTypeMethods in net.ssehub.easy.varModel.model.filter.mandatoryVars with parameters of type IDatatype Modifier and Type Method Description private java.util.List<AbstractVariable>MandatoryDeclarationClassifier. getDeclarationsByType(IDatatype type)Find all declarations for the givenIDatatype, also not top level declarations. -
Uses of IDatatype in net.ssehub.easy.varModel.model.rewrite
Fields in net.ssehub.easy.varModel.model.rewrite with type parameters of type IDatatype Modifier and Type Field Description private java.util.Map<IDatatype,java.util.Set<IDecisionVariable>>VariableLookUpTable. instancesPerTypeList of instances for a givenIDatatype.private java.util.Map<IDatatype,Project>ProjectCopyVisitor. projectTypesDirty but needed forProjectCopyVisitor.getTranslatedType(IDatatype): Tuple of (original project type, copied project).Methods in net.ssehub.easy.varModel.model.rewrite that return IDatatype Modifier and Type Method Description private IDatatypeProjectCopyVisitor. getTranslatedContainer(Container originalType)Part ofProjectCopyVisitor.getTranslatedType(IDatatype): Returns the translated type for containers.(package private) IDatatypeProjectCopyVisitor. getTranslatedType(IDatatype originalType)Returns the copiedIDatatypefor the given one.Methods in net.ssehub.easy.varModel.model.rewrite with parameters of type IDatatype Modifier and Type Method Description private voidVariableLookUpTable. addVariable(IDecisionVariable variable, IDatatype type)Adds anIDecisionVariableto theVariableLookUpTable.instancesPerType.java.util.Set<IDecisionVariable>RewriteContext. getInstancesForType(Configuration config, IDatatype type)Returns the set of instances of the givenIDatatype.(package private) java.util.Set<IDecisionVariable>VariableLookUpTable. getInstancesForType(IDatatype type)Returns the set of instances of the givenIDatatype.(package private) IDatatypeProjectCopyVisitor. getTranslatedType(IDatatype originalType)Returns the copiedIDatatypefor the given one. -
Uses of IDatatype in net.ssehub.easy.varModel.model.search
Methods in net.ssehub.easy.varModel.model.search with parameters of type IDatatype Modifier and Type Method Description private java.lang.StringPrefixSearchVisitor. checkType(IDatatype type, ModelElement element)Checks atypefor inclusion. -
Uses of IDatatype in net.ssehub.easy.varModel.model.values
Fields in net.ssehub.easy.varModel.model.values declared as IDatatype Modifier and Type Field Description private IDatatypeValue. originprivate IDatatypeMetaTypeValue. valueFields in net.ssehub.easy.varModel.model.values with type parameters of type IDatatype Modifier and Type Field Description private static java.util.Map<java.lang.Class<? extends IDatatype>,ValueFactory.IValueCreator>ValueFactory. mapThis map values associated to the origin datatype.Methods in net.ssehub.easy.varModel.model.values that return IDatatype Modifier and Type Method Description static IDatatypeCompoundValue. getActualType(java.lang.Object[] slotValues)Returns the actual type if stored asCompoundValue.SPECIAL_SLOT_NAME_TYPEparameter in the given array.IDatatypeContainerValue. getContainedType()IDatatypeMetaTypeValue. getContainedType()Returns the data type explicitly contained in this value.IDatatypeValue. getContainedType()Returns the data type explicitly contained in this value.IDatatypeValue. getType()Returns the Datatype of this Value.IDatatypeMetaTypeValue. getValue()Getter for the value.Methods in net.ssehub.easy.varModel.model.values with parameters of type IDatatype Modifier and Type Method Description static ValueValueFactory. createValue(IDatatype type, java.lang.Object... value)Creates and returns a Value.ValueValueFactory.IValueCreator. createValue(IDatatype type, java.lang.Object... value)Part of this Factory, should call the constructor of a value.Constructors in net.ssehub.easy.varModel.model.values with parameters of type IDatatype Constructor Description BasisDatatypeValue(IDatatype type)Constructor for a new BasisDatatypeValue.ReferenceValue(IDatatype origin, java.lang.Object... ref)Constructor for a new ReferenceValue.Value(IDatatype origin)Constructor.ValueDoesNotMatchTypeException(java.lang.String value, IDatatype type, int code)Creates a new mismatch exception. -
Uses of IDatatype in net.ssehub.easy.varModel.persistency
Methods in net.ssehub.easy.varModel.persistency with parameters of type IDatatype Modifier and Type Method Description private voidIVMLWriter. emitType(IDatatype type, boolean considerValues)Emits the type of an initializer if required.static java.lang.StringStringProvider. toIvmlString(IDatatype type)Turns a type into a string containing IVML. -
Uses of IDatatype in net.ssehub.easy.varModel.validation
Fields in net.ssehub.easy.varModel.validation with type parameters of type IDatatype Modifier and Type Field Description private java.util.Set<IDatatype>IvmlValidationVisitor. customTypesMethods in net.ssehub.easy.varModel.validation with parameters of type IDatatype Modifier and Type Method Description private voidIvmlValidationVisitor. checkType(IDatatype type, java.lang.Object cause)Checks for a valid datatype.
-