Uses of Interface
net.ssehub.easy.varModel.model.IModelElement
-
Packages that use IModelElement Package Description 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.rewrite Classes for creating an (adapted) copy of theProject.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 IModelElement in net.ssehub.easy.varModel.cst
Methods in net.ssehub.easy.varModel.cst that return IModelElement Modifier and Type Method Description IModelElementConstraintSyntaxTree. getParent()Returns the parent model element. -
Uses of IModelElement in net.ssehub.easy.varModel.cstEvaluation
Classes in net.ssehub.easy.varModel.cstEvaluation that implement IModelElement Modifier and Type Class Description (package private) classCollectionElementVariableA temporary variable representing a value of a container. -
Uses of IModelElement in net.ssehub.easy.varModel.model
Subinterfaces of IModelElement in net.ssehub.easy.varModel.model Modifier and Type Interface Description interfaceIConstraintHolderSpecific methods for holding constraints.interfaceIDecisionVariableContainerDescribes a container for decision variables.Classes in net.ssehub.easy.varModel.model that implement IModelElement Modifier and Type Class Description classAbstractVariableDefines an abstract variable.classAttributeDefines an attribute.classAttributeAssignmentRepresents an assignment of a value to attributes of at least one model element.classBasicDecisionVariableContainerThis class basically realizes a decision variable container (this class does not support realizing constraints).classCommentRepresents a comment in the source of an IVML file.classCompoundAccessStatementRepresents a compound access statement, e.g., within a freeze block.classConstantDecisionVariableDeclarationDefines a constant decision variable declaration.classConstraintClass to create a rule-based constraint.classContainableModelElementRepresents the objects, a project can handle.classDecisionVariableDeclarationImplements a decision variable.classDotAttributeSpecial form of attribute specified by ".".classEvaluationBlockAn evaluation block consisting of constraints to be evaluated.classExplicitTypeVariableDeclarationRepresents an explicitly typed declarator in a set operation.classFreezeBlockHandles frozen elements.classFullDecisionVariableContainerAn extended version of the a decision variable container which also supports realizing constraints.classModelElementAll elements a VarModel could contain.classOperationDefinitionA containable element which represents user defined operations.classPartialEvaluationBlockMaintains partial evaluable elements.classProjectThis class holds the project imports, the containable model-, and attributable elements.classProjectDecisionVariableDeclarationFacilitates attribute propagation to parent project.classProjectInterfaceProjectInterface class.classStructuredCommentDefines a structured comment which stores relations between nested model elements of the following model element and the comments stored in this comment.Fields in net.ssehub.easy.varModel.model declared as IModelElement Modifier and Type Field Description private IModelElementContainableModelElement. parentprivate IModelElementContainableModelElementList. parentMethods in net.ssehub.easy.varModel.model that return IModelElement Modifier and Type Method Description private static IModelElementModelQuery. findCompoundOrAttributeAccess(IResolutionScope elements, java.lang.String name, java.lang.String innerName, IModelElement result)Finds a variable by compound/attribute access as part ofModelQuery.findVariable(IResolutionScope, String, Class).static IModelElementModelQuery. findVariableUse(IResolutionScope elements, java.lang.String name, java.lang.Class<?> type)Searches for a specified variable or variable use.private static IModelElementModelQuery. findVariableUse(IResolutionScope elements, java.lang.String name, java.lang.Class<?> type, java.util.Set<IResolutionScope> done)Searches for a specified variable or variable use.IModelElementAttributeAssignment. getEffectiveParent()Returns the effective parent of this assignment, i.e., the containing compound or project.IModelElementContainableModelElement. getParent()IModelElementContainableModelElementList. getParent()IModelElementIAttributeAccess. getParent()Returns the parent model element.IModelElementIFreezable. getParent()Getter-Method for the parent-object.IModelElementIModelElement. getParent()Returns the parent model element.IModelElementIPartialEvaluable. getParent()Returns the parent model element.IModelElementModelElement. getParent()IModelElementContainableModelElement. getTopLevelParent()Returns the topLevel parent.Methods in net.ssehub.easy.varModel.model with parameters of type IModelElement Modifier and Type Method Description protected voidAnnotationVisitor. addToScope(java.util.Set<java.lang.Object> scope, IModelElement element, IAttributeAccess access)Addselementtoscopefor starting iteration ataccess.static AttributeModelQuery. findAttribute(IModelElement scope, java.lang.String name)Finds an attribute withinscopeor enclosing parentscopes, i.e., search in inverted direction along attribute application/inheritance.private static IModelElementModelQuery. findCompoundOrAttributeAccess(IResolutionScope elements, java.lang.String name, java.lang.String innerName, IModelElement result)Finds a variable by compound/attribute access as part ofModelQuery.findVariable(IResolutionScope, String, Class).CommentProject. getCommentBefore(IModelElement element, boolean ensureStructured)Returns the comment before the specified model element.voidContainableModelElement. setParent(IModelElement parent)Changes the parent object.Constructors in net.ssehub.easy.varModel.model with parameters of type IModelElement 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.AttributeAssignment(IModelElement parent)Creates a new attribute assignment.Comment(java.lang.String comment, IModelElement parent)Creates a new comment element.CompoundAccessStatement(AbstractVariable compoundVariable, java.lang.String slotName, IModelElement parent)Creates a compound access statement.ConstantDecisionVariableDeclaration(java.lang.String name, IDatatype type, IModelElement parent)Constructor for decision variable declaration.Constraint(java.lang.String name, ConstraintSyntaxTree consSyntax, IModelElement parent)Creates a new constraint from an already parsed syntax tree.Constraint(java.lang.String name, IModelElement parent)Constructor for a new Constraint.Constraint(ConstraintSyntaxTree consSyntax, IModelElement parent)Creates a new constraint from an already parsed syntax tree.Constraint(IModelElement parent)Constructor for a new Constraint.ContainableModelElement(java.lang.String name, IModelElement parent)Constructor for containable model element.ContainableModelElementList(int initialCapacity, IModelElement parent)Creates a new model element list.ContainableModelElementList(IModelElement parent)Creates a new model element list.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 ".".EvaluationBlock(java.lang.String name, IModelElement parent)Constructor for the evaluation block.ExplicitTypeVariableDeclaration(java.lang.String name, IDatatype type, IModelElement parent)Constructor for explicitly typed variable declarator.FreezeBlock(IFreezable[] freezables, DecisionVariableDeclaration iter, ConstraintSyntaxTree selector, IModelElement parent)Constructor for containable model element.PartialEvaluationBlock(java.lang.String name, IModelElement parent)Constructor for the partial evaluation block.PartialEvaluationBlock(java.lang.String name, IPartialEvaluable[] elements, IModelElement parent)Constructor for the partial evaluation block.PartialEvaluationBlock(java.lang.String name, IPartialEvaluable[] elements, PartialEvaluationBlock[] nested, IModelElement parent)Constructor for the partial evaluation block.StructuredComment(java.lang.String comment, IModelElement parent)Creates a new structured comment element. -
Uses of IModelElement in net.ssehub.easy.varModel.model.datatypes
Classes in net.ssehub.easy.varModel.model.datatypes that implement IModelElement Modifier and Type Class Description classCompoundA compound type groups multiple types into a single named unit.classContainerRealizes an abstract container.classCustomDatatypeAbstract class, implements the setName method for the custom data types.classDerivedDatatypeDerivedDatatype allows the user to create new data types based on existing types.classEnumEnumerations allow the definition of sets of named values.classEnumLiteralObjects represents the literal of an enum.classFreezeVariableTypeAn internal type for freezes to iterate / specify expressions on freezables.classOrderedEnumEnumerations allow the definition of sets of named values.classReferenceA reference allows the definition of individual configurations of an (external) element for the referencing element.classSequenceRealizes a sequence container.classSetRealizes a set container.classStructuredDatatypeClass to specify the container and compound.Fields in net.ssehub.easy.varModel.model.datatypes declared as IModelElement Modifier and Type Field Description private IModelElementEnumLiteral. parentMethods in net.ssehub.easy.varModel.model.datatypes that return IModelElement Modifier and Type Method Description IModelElementEnumLiteral. getParent()IModelElementIResolutionScope. getParent()Returns the parent model element.Methods in net.ssehub.easy.varModel.model.datatypes with parameters of type IModelElement 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)Constructors in net.ssehub.easy.varModel.model.datatypes with parameters of type IModelElement Constructor Description Container(java.lang.String name, DelegatingType singleton, IDatatype type, IModelElement parent)Constructor for the container.CustomDatatype(java.lang.String name, DelegatingType singleton, IModelElement parent)Constructor for custom data type.FreezeVariableType(IFreezable[] freezables, IModelElement parent)Constructor for a specific freeze variable type.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.StructuredDatatype(java.lang.String name, DelegatingType singleton, IModelElement parent)Constructor. -
Uses of IModelElement in net.ssehub.easy.varModel.model.rewrite
Fields in net.ssehub.easy.varModel.model.rewrite with type parameters of type IModelElement Modifier and Type Field Description private java.util.Deque<IModelElement>ProjectCopyVisitor. parentsAlready translated model elements, which should be used as current parent of a model element.Methods in net.ssehub.easy.varModel.model.rewrite that return IModelElement Modifier and Type Method Description (package private) IModelElementProjectCopyVisitor. getCopiedParent(IModelElement orgParent)Returns the copied parent (should only be used by theCSTCopyVisitor).Methods in net.ssehub.easy.varModel.model.rewrite with parameters of type IModelElement Modifier and Type Method Description private voidProjectCopyVisitor. addToParent(ContainableModelElement copiedElement, IModelElement parent)Adds the specified element to the given parent.private booleanProjectCopyVisitor. buildParents(IModelElement orgElement)Fills up theProjectCopyVisitor.parentsstack in the correct order for elements which are copied at the end of the visitation process as part of theProjectCopyVisitor.visitProject(Project)method.(package private) IModelElementProjectCopyVisitor. getCopiedParent(IModelElement orgParent)Returns the copied parent (should only be used by theCSTCopyVisitor).Method parameters in net.ssehub.easy.varModel.model.rewrite with type arguments of type IModelElement Modifier and Type Method Description private booleanProjectCopyVisitor. retryCopy(java.util.Iterator<? extends IModelElement> itr)Retries to copy not copied, original elements. -
Uses of IModelElement in net.ssehub.easy.varModel.persistency
Fields in net.ssehub.easy.varModel.persistency declared as IModelElement Modifier and Type Field Description private IModelElementAbstractVarModelWriter. expressionContextFields in net.ssehub.easy.varModel.persistency with type parameters of type IModelElement Modifier and Type Field Description private java.util.List<IModelElement>AbstractVarModelWriter. parentsStores the all parents of the currently visited element.
Can be an empty list in case of root elements.Methods in net.ssehub.easy.varModel.persistency with type parameters of type IModelElement Modifier and Type Method Description protected <T extends IModelElement>
TAbstractVarModelWriter. getParent(java.lang.Class<T> type)Returns the latest parent with the giventype.Methods in net.ssehub.easy.varModel.persistency that return IModelElement Modifier and Type Method Description protected IModelElementAbstractVarModelWriter. getExpressionContext()Returns the expression context.protected IModelElementAbstractVarModelWriter. getParent()Returns the direct parent of the current visited object.protected IModelElementAbstractVarModelWriter. getParent(int index)Returns the specified hierarchically visited parent.Methods in net.ssehub.easy.varModel.persistency with parameters of type IModelElement Modifier and Type Method Description protected voidAbstractVarModelWriter. addParent(IModelElement parent)Adds the given element to the list of all parents.protected voidAbstractVarModelWriter. emitConstraintExpression(IModelElement context, ConstraintSyntaxTree constraint)Visits the expression of a constraint (for extension).protected voidConstraintSplitWriter. emitConstraintExpression(IModelElement context, ConstraintSyntaxTree constraint)private booleanConstraintSplitWriter. pre(IModelElement context, ConstraintSyntaxTree constraint)To be called before a potential split point (checking the filter).protected voidAbstractVarModelWriter. setExpressionContext(IModelElement expressionContext)Changes the expression context.booleanConstraintSplitWriter.IConstraintFilter. splitAt(IModelElement context, ConstraintSyntaxTree constraint)Returns whether the split shall happen atconstraint.booleanConstraintSplitWriter.IdentityConstraintFilter. splitAt(IModelElement context, ConstraintSyntaxTree constraint)static java.lang.StringStringProvider. toIvmlString(ConstraintSyntaxTree cst, IModelElement context)Turns a syntax tree into a string containing IVML. -
Uses of IModelElement in net.ssehub.easy.varModel.validation
Methods in net.ssehub.easy.varModel.validation with parameters of type IModelElement Modifier and Type Method Description private voidIvmlValidationVisitor. checkParent(IModelElement parent, java.lang.Object cause, IModelElement expectedParent)Checks for a valid parent (reference).private voidIvmlValidationVisitor. checkParent(IModelElement element, IModelElement expectedParent)Checks for a valid parent (reference).
-