Uses of Interface
net.ssehub.easy.varModel.model.datatypes.IDatatype
Packages that use IDatatype
Package
Description
This package represents a specific variability model configuration.
Package for elements of the constraint syntax tree.
Implements the evaluation of constraint syntax trees.
Base package for the variability model.
Base directory for the main datatype classes.
This package contains utility classes for filtering the model for specific model elements.
Filter for finding mandatory declarations.
Classes for creating an (adapted) copy of the
Project.Specific classes for performing search operations on models.
Instances of the datatypes.
These package is for reading and saving the variability model and the configuration.
Currently supported file formats: EASy-Producer 2.0 config files (xml) IVML
Currently supported file formats: EASy-Producer 2.0 config files (xml) IVML
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 IDatatypeModifier and TypeFieldDescriptionprivate Map<IDatatype, Map<IDecisionVariable, ReferenceValue>> Configuration.allInstancesprivate Map<IDatatype, List<IDecisionVariable>> AssignmentResolver.instancesPerTypeTemporary list of all instances per data type.private Map<IDatatype, List<ConstraintSyntaxTree>> QueryCache.refValuesTuple of (Reference.getType(), possible values for the reference).Methods in net.ssehub.easy.varModel.confModel that return IDatatypeModifier and TypeMethodDescriptionContainerVariable.getContainedType()Returns the contained type of this container.CompoundVariable.getInstantiatableType()DecisionVariable.getInstantiatableType()Returns one of the actual types required to instantiate this variable.Methods in net.ssehub.easy.varModel.confModel with parameters of type IDatatypeModifier and TypeMethodDescriptionContainerVariable.addNestedElement(IDatatype type) Adds a new nested element to this variable.private static voidConfigQuery.addVariableByType(IDecisionVariable variable, IDatatype type, boolean onlyToplevel, List<IDecisionVariable> variables) Recursive part ofConfigQuery.collectVariablesByType(Configuration, IDatatype, boolean), which searches for (nested) variables.private voidConfiguration.collectAllInstances(IDecisionVariable var, IDatatype type, Map<IDatatype, Reference> referenceTypes, Map<IDecisionVariable, ReferenceValue> instances) Collects all instances oftypestarting atvarand stores results intoreferenceTypesandinstances.static List<IDecisionVariable> ConfigQuery.collectVariablesByType(Configuration config, IDatatype type, boolean onlyToplevel) Gathers allIDecisionVariables of the givenConfiguration, which match the specified type.Configuration.getAllInstances(IDatatype type) Returns all instances of the given type and sub-types.IConfiguration.getAllInstances(IDatatype type) Returns all instances oftype.protected 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 IDatatypeModifier and TypeMethodDescriptionprivate voidConfiguration.collectAllInstances(IDecisionVariable var, IDatatype type, Map<IDatatype, Reference> referenceTypes, 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 IDatatypeModifier and TypeFieldDescriptionprivate IDatatypeContainerOperationCall.iteratorBaseprivate IDatatypeContainerOperationCall.resultprivate IDatatypeIfThen.resultprivate IDatatypeOCLFeatureCall.resultprivate IDatatypeBlockExpression.typeMethods in net.ssehub.easy.varModel.cst that return IDatatypeModifier and TypeMethodDescriptionprivate IDatatypeOCLFeatureCall.createCollectionType(IDatatype immediateOperand, IDatatype containedType) Creates a collection type.private IDatatypeOCLFeatureCall.getActualReturnType(Operation op, IDatatype immediateOperand, IDatatype... parameter) Determines the actual return type and considers the actual type of meta type parameters.ConstantValue.getContainedType()ConstraintSyntaxTree.getContainedType()Returns the data type explicitly contained in this syntax tree.ContainerOperationCall.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.ContainerOperationCall.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.CompoundAccess.getStaticType()Returns the static type in case that this compound access is a static access.Self.getType()Returns the type (without exception throwing).AttributeVariable.inferDatatype()BlockExpression.inferDatatype()Comment.inferDatatype()CompoundAccess.inferDatatype()CompoundInitializer.inferDatatype()ConstantValue.inferDatatype()abstract IDatatypeConstraintSyntaxTree.inferDatatype()Infers the datatype of the subtree represented by this object.ContainerInitializer.inferDatatype()ContainerOperationCall.inferDatatype()DeferInitExpression.inferDatatype()EmptyInitializer.inferDatatype()IfThen.inferDatatype()Let.inferDatatype()MultiAndExpression.inferDatatype()NamedArgument.inferDatatype()OCLFeatureCall.inferDatatype()Parenthesis.inferDatatype()Self.inferDatatype()UnresolvedExpression.inferDatatype()Variable.inferDatatype()Methods in net.ssehub.easy.varModel.cst with parameters of type IDatatypeModifier and TypeMethodDescriptionprivate 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 final StringUnknownOperationException.constructMessage(String name, IDatatype operand, IDatatype... parameter) Constructs the message for the exception.private IDatatypeOCLFeatureCall.createCollectionType(IDatatype immediateOperand, IDatatype containedType) Creates a collection type.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, HashSet<ICustomOperationAccessor> done, int opInc) Searches for a custom operation onaccessorand, if not found, on the imports ofaccessor.private OperationOCLFeatureCall.getCustomOperationOnImports(ICustomOperationAccessor accessor, IDatatype[] paramTypes, HashSet<ICustomOperationAccessor> done, int opInc) Finds an operation viaaccessorimports.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 IDatatypeModifierConstructorDescriptionUnknownOperationException(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 IDatatypeModifier and TypeFieldDescriptionprivate IDatatype[]DispatchInformation.argTypesprivate IDatatypeDispatchInformation.returnTypeFields in net.ssehub.easy.varModel.cstEvaluation with type parameters of type IDatatypeModifier and TypeFieldDescriptionprivate Map<IDatatype, Map<String, VariableValueCopier.CopySpec>> VariableValueCopier.specsMethods in net.ssehub.easy.varModel.cstEvaluation that return IDatatypeModifier and TypeMethodDescriptionprivate static IDatatype[]DispatchInformation.getArgTypes(EvaluationAccessor[] args) Extracts the argument types.private static IDatatypeReturns the type ofvalue.Methods in net.ssehub.easy.varModel.cstEvaluation that return types with arguments of type IDatatypeModifier and TypeMethodDescription(package private) static Map<IDatatype, List<AbstractVariable>> EvaluationUtils.groupQuantors(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 IDatatypeModifier and TypeMethodDescription(package private) ValueBinds 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 final EvaluationAccessorContainerOperations.convert(EvaluationAccessor operand, IDatatype targetType) Performs the conversion of the operand to the given (container) datatype.private static intCalculates the difference between the compoundtypeand its refinement hierarcy andopType.private static intReturns the difference indicator between two types.EvaluationVisitor.EvaluationContextImpl.getAllInstances(IDatatype type) LocalConfiguration.getAllInstances(IDatatype type) ContainerIterators.CollectingIteratorEvaluator.getStartResult(IDatatype type, IDatatype iterType) ContainerIterators.NumberIteratorEvaluator.getStartResult(IDatatype type, IDatatype iterType) IIteratorEvaluator.getStartResult(IDatatype type, IDatatype iterType) Returns the start result.Method parameters in net.ssehub.easy.varModel.cstEvaluation with type arguments of type IDatatypeModifier and TypeMethodDescriptionprivate ConstraintSyntaxTreeEvaluationVisitor.bindFreeVarsByQuantors(ConstraintSyntaxTree cst, Map<IDatatype, List<AbstractVariable>> quantorGroups) Binds the free variables by one quantor per quantor group.Constructors in net.ssehub.easy.varModel.cstEvaluation with parameters of type IDatatypeModifierConstructorDescription(package private)CollectionElementVariable(AbstractVariable base, IDatatype type, IResolutionPathElement path, int index) Creates a collection element variable.DispatchInformation(CustomOperation operation, IDatatype[] argTypes, boolean countAnnotations) Creates a dispatch information object. -
Uses of IDatatype in net.ssehub.easy.varModel.model
Classes in net.ssehub.easy.varModel.model that implement IDatatypeModifier and TypeClassDescriptionclassImplements a private datatype class which represents the (pseudo) type of a project.Fields in net.ssehub.easy.varModel.model declared as IDatatypeModifier and TypeFieldDescriptionprivate IDatatypeAbstractVariable.typeprivate IDatatypeModelQuery.FirstDeclTypeSelector.typeMethods in net.ssehub.easy.varModel.model that return IDatatypeModifier and TypeMethodDescriptionstatic IDatatypeModelQuery.findElementByTypeName(IResolutionScope elements, String typeName, Class<? extends IDatatype> type) Finds the specified data type definition in the givenelements.static IDatatypeModelQuery.findElementByTypeName(IResolutionScope elements, String typeName, Class<? extends IDatatype> type, Set<IResolutionScope> done) Finds the specified data type definition in the givenelements.static IDatatypeModelQuery.findElementByTypeName(IDecisionVariableContainer container, String typeName) Finds the specified data type definition in the givencontainer.private static IDatatypeModelQuery.findType(IResolutionScope elements, String name, boolean considerVariableDeclarations, Class<? extends IDatatype> type, Set<IResolutionScope> done) Finds the specified data type definition in the givenproject.static IDatatypeModelQuery.findType(IResolutionScope elements, String name, Class<? extends IDatatype> type) Finds the specified data type definition in the givenproject.ProjectType.getGenericType(int index) AbstractVariable.getType()Returns the type of this variable.CompoundAccessStatement.getType()FreezeBlock.getType()Returns the internal type of this block.IFreezable.getType()Returns the type of this freezable.Project.getType()Returns the (pseudo) datatype of this project.ProjectType.getType()Methods in net.ssehub.easy.varModel.model that return types with arguments of type IDatatypeMethods in net.ssehub.easy.varModel.model with parameters of type IDatatypeModifier and TypeMethodDescriptionstatic final StringIvmlDatatypeVisitor.getQualifiedType(IDatatype type) Returns the textual representation of the given type based on the qualified name using an instance of this class.static final StringModelQuery.getReferenceTypeSearchName(IDatatype type) Returns the name to be used for searching for a reference with contained typetype.static final StringIvmlDatatypeVisitor.getType(IDatatype type, QualifiedNameMode mode) Returns the textual representation of the given type using an instance of this class.private static final StringModelQuery.getType(IDatatype type, QualifiedNameMode mode) Returns the textual representation of the given type.static final StringIvmlDatatypeVisitor.getUniqueType(IDatatype type) Returns the textual representation of the given type based on the unique name using an instance of this class.static final 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 IDatatypeModifier and TypeMethodDescriptionstatic IDatatypeModelQuery.findElementByTypeName(IResolutionScope elements, String typeName, Class<? extends IDatatype> type) Finds the specified data type definition in the givenelements.static IDatatypeModelQuery.findElementByTypeName(IResolutionScope elements, String typeName, Class<? extends IDatatype> type, Set<IResolutionScope> done) Finds the specified data type definition in the givenelements.private static IDatatypeModelQuery.findType(IResolutionScope elements, String name, boolean considerVariableDeclarations, Class<? extends IDatatype> type, Set<IResolutionScope> done) Finds the specified data type definition in the givenproject.static IDatatypeModelQuery.findType(IResolutionScope elements, String name, Class<? extends IDatatype> type) Finds the specified data type definition in the givenproject.Constructors in net.ssehub.easy.varModel.model with parameters of type IDatatypeModifierConstructorDescriptionAbstractVariable(String name, IDatatype type, IModelElement parent) Constructor for decision variable declaration.AbstractVariable(String name, IDatatype type, Value defaultValue, IModelElement parent) Constructor for explicit variable creation.Attribute(String name, IDatatype type, IModelElement parent, IAttributableElement element) Constructor for an attribute.Attribute(String name, IDatatype type, IModelElement parent, IAttributableElement element, Attribute origin) Constructor for an attribute.ConstantDecisionVariableDeclaration(String name, IDatatype type, IModelElement parent) Constructor for decision variable declaration.DecisionVariableDeclaration(String name, IDatatype type, IModelElement parent) Constructor for decision variable declaration.DotAttribute(String name, IDatatype type, IModelElement parent, IAttributableElement element) Constructor for an attribute specified by ".".ExplicitTypeVariableDeclaration(String name, IDatatype type, IModelElement parent) Constructor for explicitly typed variable declarator.Creates a selector fortype.ProjectDecisionVariableDeclaration(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 IDatatypeModifier and TypeClassDescriptionclassThe AnyType is the "Object" of OCL, a type to which all types are compatible.classRepresents the basic data types of the IVML.classCreates the BasisDatatype Boolean.classA compound type groups multiple types into a single named unit.classDefines the basis datatype for holding constraints.classRealizes an abstract container.classAbstract class, implements the setName method for the custom data types.(package private) classAn internal delegating type to resolve cyclic class dependencies.classDerivedDatatype allows the user to create new data types based on existing types.classEnumerations allow the definition of sets of named values.classAn internal type for freezes to iterate / specify expressions on freezables.classCreates the BasisDatatype Integer.classImplements a data type which represents types (as result of type operations).classEnumerations allow the definition of sets of named values.classCreates the BasisDatatype Real.classA reference allows the definition of individual configurations of an (external) element for the referencing element.classRealizes a sequence container.classRealizes a set container.classDefines the basis datatype String.classClass to specify the container and compound.classDefines the basis (internal) datatype "Version".classThe AnyType is the "Object" of OCL, a type to which all types are compatible.Fields in net.ssehub.easy.varModel.model.datatypes declared as IDatatypeModifier and TypeFieldDescriptionprivate 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 final IDatatypeAnyType.TYPEstatic final IDatatypeBooleanType.TYPEstatic final IDatatypeCompound.TYPEThis constant represents the common type of all compounds.static final IDatatypeConstraintType.TYPEstatic final IDatatypeContainer.TYPEThis constant represents the common type of all sets.static final IDatatypeDerivedDatatype.TYPEThis constant represents the common type of all derived datatypes.static final IDatatypeEnum.TYPEThis constant represents the common type of all enums.static final IDatatypeFreezeVariableType.TYPEThis constant represents the common type of all freeze variables.static final IDatatypeIntegerType.TYPEstatic final IDatatypeMetaType.TYPEstatic final IDatatypeOrderedEnum.TYPEThis constant represents the common type of all enums.static final IDatatypeRealType.TYPEstatic final IDatatypeReference.TYPEThis constant represents the common type of all references.static final IDatatypeSequence.TYPEThis constant represents the common type of all sets.static final IDatatypeSet.TYPEThis constant represents the common type of all sets.static final IDatatypeStringType.TYPEstatic final IDatatypeVersionType.TYPEstatic final IDatatypeVoidType.TYPEprivate static final IDatatype[]Types.TYPESFields in net.ssehub.easy.varModel.model.datatypes with type parameters of type IDatatypeModifier and TypeFieldDescriptionTypes.BASICTypeMapper.STRING_TYPEStores the name-to-type-mappings.TypeMapper.TYPE_STRINGStores the type-to-name-mappings.Methods in net.ssehub.easy.varModel.model.datatypes that return IDatatypeModifier and TypeMethodDescriptionprotected 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.final IDatatypeOperation.getActualReturnType(IDatatype immediateOperand, IDatatype... parameter) Determines the actual return type.static final IDatatypeBaseTypeVisitor.getBaseType(IDatatype type) Returns the base type oftype.static final IDatatypeTypes.getBasicTypeByName(String name) Returns a basic type by name.DerivedDatatype.getBasisType()Returns the basis type.Container.getContainedType()Returns the type of the contained elements.DelegatingType.getDelegate()Returns the delegate type.BasisDatatype.getGenericType(int index) Container.getGenericType(int index) CustomDatatype.getGenericType(int index) DelegatingType.getGenericType(int index) IDatatype.getGenericType(int index) Returns the specified generic type.Operation.getOperand()The operand this operation is defined on.Operation.getParameterType(int index) Returns the parameter type at positionindex.private static IDatatype[]CustomOperation.getParameterTypes(DecisionVariableDeclaration[] decl) Returns the datatypes of the parameter declarations.Operation.getReturns()Getter for the return type of this operation.private IDatatypeBaseTypeVisitor.getType()Returns the inferred base type.BasisDatatype.getType()Returns the object realizing the type.CustomDatatype.getType()Returns the object realizing the type.DelegatingType.getType()Returns the object realizing the type.ICustomOperationAccessor.getType()Returns the (pseudo) datatype of this accessor, the operand type for all accessible custom operations.IDatatype.getType()Returns the object realizing the type.Reference.getType()Returns the type this reference is referring to.static final IDatatypeReturns the mapped type for aname.static final 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 final 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 IDatatypeModifier and TypeMethodDescriptionBasisDatatype.getTypeClass()CustomDatatype.getTypeClass()Returns the java class realizing the type.DelegatingType.getTypeClass()IDatatype.getTypeClass()Returns the java class realizing the type.Methods in net.ssehub.easy.varModel.model.datatypes with parameters of type IDatatypeModifier and TypeMethodDescriptionprivate 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(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, String name, IDatatype operand, IDatatype... parameters) Creates an infix operator (descriptor).static OperationOperation.createPostfixOperator(IDatatype returns, String name, IDatatype operand, IDatatype... parameters) Creates a postfix operator (descriptor).static OperationOperation.createPrefixOperator(IDatatype returns, 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.final IDatatypeOperation.getActualReturnType(IDatatype immediateOperand, IDatatype... parameter) Determines the actual return type.static final IDatatypeBaseTypeVisitor.getBaseType(IDatatype type) Returns the base type oftype.private static final BaseTypeVisitorBaseTypeVisitor.getInstance(IDatatype type) Obtains an instance from the pool.static final StringReturns the mapping name for atype.static OperationTypeQueries.getOperation(IDatatype operand, String name, IDatatype... parameter) Returns an operation defined onoperandwith givennameandparameters.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 booleanReturns 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 final booleanContainer.isConstraintContainer(IDatatype type) Returns whethertypeis a container with one generic of type Constraint.static final booleanContainer.isContainer(IDatatype type, IDatatype... generics) Returns whethertypeis a container and the givengenericsmatch.static booleanTypeQueries.isContainer(IDatatype type) Returns whethertypeis a container.static booleanReturns whethertypeis an enum.static booleanTypeQueries.isFreezeVariableType(IDatatype type) Returns whethertypeis a freeze variable.static booleanTypeQueries.isReference(IDatatype type) Returns whethertypeis a reference.static final 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 final booleanSequence.isSequence(IDatatype type, IDatatype... generics) Returns whethertypeis a squence and the givengenericsmatch.static booleanTypeQueries.isSequence(IDatatype type) Returns whethertypeis a sequence.static final booleanReturns whethertypeis a squence and the givengenericsmatch.static booleanReturns whethertypeis a set.protected static final booleanReturns whethertypeofrequestedTypeand the givengenericsmatch.private static final voidAdds a name-type-mapping.static IDatatypeTypeQueries.resolveFully(IDatatype type) Resolves to the most basic type, i.e., even across nested references/derived types.static final IDatatypeDerivedDatatype.resolveToBasis(IDatatype type) Resolves the given type to its innermost basis datatype.static booleanReturns whether the two types given are the same.voidDelegatingType.setDelegate(IDatatype delegate) Changes the delegate.private voidDefines 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 IDatatypeModifierConstructorDescriptionprotectedContainer(String name, DelegatingType singleton, IDatatype type, IModelElement parent) Constructor for the container.CustomDynamicOperation(IDatatype returns, String methodname, IDatatype operand, ConstraintSyntaxTree function, DecisionVariableDeclaration[] parameters) Operation Constructor.CustomOperation(IDatatype returns, String methodname, IDatatype operand, ConstraintSyntaxTree function, DecisionVariableDeclaration[] parameters) Operation Constructor.(package private)DelegatingType(IDatatype delegate) Creates a delegating type.(package private)DelegatingType(IDatatype delegate, DelegatingType parent) Creates a delegating type.DerivedDatatype(String name, IDatatype basisType, ModelElement parent) Constructor for the derived data type.DerivedDatatype(String name, IDatatype basisType, ModelElement parent, Constraint... constraints) Constructor for the derived data type.(package private)Creates a non-container operation (descriptor).(package private)Operation(IDatatype returns, Operation.ReturnTypeMode returnTypeMode, String name, IDatatype operand, IDatatype... parameters) Creates an operation (descriptor).Reference(String name, IDatatype type, ModelElement parent) Constructor for the reference.Sequence(String name, IDatatype type, IModelElement parent) Constructor for the container.Set(String name, IDatatype type, IModelElement parent) Constructor for the container.(package private)SetReturningOperation(IDatatype returns, String name, IDatatype operand, IDatatype... parameters) Creates a non-container operation (descriptor).(package private)SetReturningOperation(IDatatype returns, Operation.ReturnTypeMode returnTypeMode, 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 IDatatypeModifier and TypeFieldDescriptionprivate IDatatypeDatatypeFinder.typeprivate IDatatypeDeclarationFinder.typeMethods in net.ssehub.easy.varModel.model.filter with parameters of type IDatatypeModifier and TypeMethodDescriptionstatic List<AbstractVariable> ReferenceValuesFinder.findPossibleValues(Project project, IDatatype type) Constructors in net.ssehub.easy.varModel.model.filter with parameters of type IDatatypeModifierConstructorDescriptionDatatypeFinder(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 IDatatypeModifier and TypeFieldDescriptionprivate Map<IDatatype, List<AbstractVariable>> MandatoryDeclarationClassifier.declarationsByTypeMethods in net.ssehub.easy.varModel.model.filter.mandatoryVars with parameters of type IDatatypeModifier and TypeMethodDescriptionprivate 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 IDatatypeModifier and TypeFieldDescriptionprivate Map<IDatatype, Set<IDecisionVariable>> VariableLookUpTable.instancesPerTypeList of instances for a givenIDatatype.ProjectCopyVisitor.projectTypesDirty but needed forProjectCopyVisitor.getTranslatedType(IDatatype): Tuple of (original project type, copied project).Methods in net.ssehub.easy.varModel.model.rewrite that return IDatatypeModifier and TypeMethodDescriptionprivate 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 IDatatypeModifier and TypeMethodDescriptionprivate voidVariableLookUpTable.addVariable(IDecisionVariable variable, IDatatype type) Adds anIDecisionVariableto theVariableLookUpTable.instancesPerType.RewriteContext.getInstancesForType(Configuration config, IDatatype type) Returns the set of instances of the givenIDatatype.(package private) 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 IDatatypeModifier and TypeMethodDescriptionprivate 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 IDatatypeModifier and TypeFieldDescriptionprivate IDatatypeValue.originprivate IDatatypeMetaTypeValue.valueFields in net.ssehub.easy.varModel.model.values with type parameters of type IDatatypeModifier and TypeFieldDescriptionprivate static Map<Class<? extends IDatatype>, ValueFactory.IValueCreator> ValueFactory.mapThis map values associated to the origin datatype.Methods in net.ssehub.easy.varModel.model.values that return IDatatypeModifier and TypeMethodDescriptionstatic final IDatatypeCompoundValue.getActualType(Object[] slotValues) Returns the actual type if stored asCompoundValue.SPECIAL_SLOT_NAME_TYPEparameter in the given array.ContainerValue.getContainedType()MetaTypeValue.getContainedType()Returns the data type explicitly contained in this value.Value.getContainedType()Returns the data type explicitly contained in this value.Value.getType()Returns the Datatype of this Value.MetaTypeValue.getValue()Getter for the value.Methods in net.ssehub.easy.varModel.model.values with parameters of type IDatatypeModifier and TypeMethodDescriptionstatic ValueValueFactory.createValue(IDatatype type, Object... value) Creates and returns a Value.ValueFactory.IValueCreator.createValue(IDatatype type, 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 IDatatypeModifierConstructorDescriptionprotectedBasisDatatypeValue(IDatatype type) Constructor for a new BasisDatatypeValue.protectedReferenceValue(IDatatype origin, Object... ref) Constructor for a new ReferenceValue.protectedConstructor.ValueDoesNotMatchTypeException(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 IDatatypeModifier and TypeMethodDescriptionprivate voidEmits the type of an initializer if required.static final 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 IDatatypeMethods in net.ssehub.easy.varModel.validation with parameters of type IDatatype