Uses of Interface
net.ssehub.easy.varModel.model.datatypes.IDatatype
-
Packages that use IDatatype Package Description 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 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()IDatatypeDeferInitExpression. 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.
-