Uses of Class
net.ssehub.easy.varModel.model.ContainableModelElement
-
Packages that use ContainableModelElement Package Description net.ssehub.easy.varModel.cstEvaluation Implements the evaluation of constraint syntax trees.net.ssehub.easy.varModel.management Provides functionality to manage variability models and their dependencies.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.rewrite Classes for creating an (adapted) copy of theProject.net.ssehub.easy.varModel.model.rewrite.modifier Modifier for theProjectRewriteVisitor. -
-
Uses of ContainableModelElement in net.ssehub.easy.varModel.cstEvaluation
Subclasses of ContainableModelElement in net.ssehub.easy.varModel.cstEvaluation Modifier and Type Class Description (package private) classCollectionElementVariableA temporary variable representing a value of a container. -
Uses of ContainableModelElement in net.ssehub.easy.varModel.management
Methods in net.ssehub.easy.varModel.management with parameters of type ContainableModelElement Modifier and Type Method Description private voidModelCommentsPersistencer. assignComment(ContainableModelElement elt, CommentResource props)Assigns a comment fromprops(if exists) toelt. -
Uses of ContainableModelElement in net.ssehub.easy.varModel.model
Subclasses of ContainableModelElement in net.ssehub.easy.varModel.model 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.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.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.classOperationDefinitionA containable element which represents user defined operations.classPartialEvaluationBlockMaintains partial evaluable 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 with type parameters of type ContainableModelElement Modifier and Type Field Description private java.util.List<ContainableModelElement>BasicDecisionVariableContainer. modelElementsprivate java.util.List<ContainableModelElement>PartialEvaluationBlock. modelElementsprivate java.util.List<ContainableModelElement>Project. modelElementsprivate java.util.Map<java.lang.String,ContainableModelElement>Project. namesMethods in net.ssehub.easy.varModel.model that return ContainableModelElement Modifier and Type Method Description private static ContainableModelElementModelQuery. checkElement(ContainableModelElement element, java.lang.String name, java.lang.Class<?> type)Checks a containable model element.static ContainableModelElementModelQuery. findElementByName(IResolutionScope elements, java.lang.String name, java.lang.Class<?> type)Finds an element by its given name inelements.private static ContainableModelElementModelQuery. findElementByName(IResolutionScope elements, java.lang.String name, java.lang.Class<?> type, java.util.Set<IResolutionScope> done)Finds an element by its given name inelements.ContainableModelElementContainableModelElementList. getElement(int index)ContainableModelElementContainableModelElementList. getElement(java.lang.String name)ContainableModelElementProject. getElement(int index)Returns a contained model element specified byindex.ContainableModelElementProject. getElement(java.lang.String name)ContainableModelElementProjectInterface. getElement(int index)Returns a contained model element specified byindex.ContainableModelElementProjectInterface. getElement(java.lang.String name)ContainableModelElementAttributeAssignment. getModelElement(int index)ContainableModelElementBasicDecisionVariableContainer. getModelElement(int index)ContainableModelElementIDecisionVariableContainer. getModelElement(int index)Returns a contained model element specified byindex.ContainableModelElementPartialEvaluationBlock. getModelElement(int index)Returns the specified model element.Methods in net.ssehub.easy.varModel.model with parameters of type ContainableModelElement Modifier and Type Method Description booleanProject. add(ContainableModelElement element)Method to add an object to the modelElement list of the project.voidPartialEvaluationBlock. addModelElement(ContainableModelElement element)Adds a model element in sequence.private static ContainableModelElementModelQuery. checkElement(ContainableModelElement element, java.lang.String name, java.lang.Class<?> type)Checks a containable model element.private static java.lang.StringModelQuery. getType(ContainableModelElement element, QualifiedNameMode mode)Returns the textual representation of the given element.booleanProject. removeElement(ContainableModelElement element)Removes the specified element from from this project.booleanBasicDecisionVariableContainer. removeModelElement(ContainableModelElement element)Removes the specified model element from this container (if it exists).Method parameters in net.ssehub.easy.varModel.model with type arguments of type ContainableModelElement Modifier and Type Method Description booleanProject. removeElements(java.util.List<ContainableModelElement> elementsToRemove)Removes all specified elements from this project.voidAttributeAssignment. sortContainedElements(java.util.Comparator<ContainableModelElement> comp)voidBasicDecisionVariableContainer. sortContainedElements(java.util.Comparator<ContainableModelElement> comp)voidProject. sortContainedElements(java.util.Comparator<ContainableModelElement> comp)Sorts the contained elements according to the specified comparator. -
Uses of ContainableModelElement in net.ssehub.easy.varModel.model.datatypes
Subclasses of ContainableModelElement in net.ssehub.easy.varModel.model.datatypes 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.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.Methods in net.ssehub.easy.varModel.model.datatypes that return ContainableModelElement Modifier and Type Method Description ContainableModelElementIResolutionScope. getElement(int index)Returns a contained model element specified byindex.ContainableModelElementIResolutionScope. getElement(java.lang.String name)Returns a contained model element specified by itsname.ContainableModelElementCompound. getModelElement(int index)Methods in net.ssehub.easy.varModel.model.datatypes with parameters of type ContainableModelElement Modifier and Type Method Description booleanCompound. removeConstraint(ContainableModelElement element)Removes the specified model element from this compound (if it exists).Method parameters in net.ssehub.easy.varModel.model.datatypes with type arguments of type ContainableModelElement Modifier and Type Method Description voidCompound. sortContainedElements(java.util.Comparator<ContainableModelElement> comp)voidIContainableElementsSorter. sortContainedElements(java.util.Comparator<ContainableModelElement> comp)Sorts the contained elements (and creates the related datastructure if needed) according to the specified comparator. -
Uses of ContainableModelElement in net.ssehub.easy.varModel.model.filter
Constructors in net.ssehub.easy.varModel.model.filter with parameters of type ContainableModelElement Constructor Description DeclarationInContainerFinder(ContainableModelElement element)Sole constructor for this class. -
Uses of ContainableModelElement in net.ssehub.easy.varModel.model.rewrite
Fields in net.ssehub.easy.varModel.model.rewrite declared as ContainableModelElement Modifier and Type Field Description private ContainableModelElementUncopiedElementsContainer.UnresolvedSyntaxContainer. copiedParentFields in net.ssehub.easy.varModel.model.rewrite with type parameters of type ContainableModelElement Modifier and Type Field Description private java.util.Map<AbstractVariable,java.util.Set<ContainableModelElement>>VariableLookUpTable. constraintReusersList model elements, reusing a constraint variable (declaration).private java.util.Map<ContainableModelElement,ContainableModelElement>ProjectCopyVisitor. copiedElementsTuple of (oldElement, copiedElement) containing the mapping of copied model elements.private java.util.Map<ContainableModelElement,ContainableModelElement>ProjectCopyVisitor. copiedElementsTuple of (oldElement, copiedElement) containing the mapping of copied model elements.private java.util.Map<java.lang.String,java.util.List<ContainableModelElement>>RewriteContext. elementsOfRemovedImportsElements of a removed import.private java.util.Map<java.lang.Class<?>,java.util.Set<ContainableModelElement>>RewriteContext. removedElementsMethods in net.ssehub.easy.varModel.model.rewrite that return ContainableModelElement Modifier and Type Method Description private ContainableModelElementProjectRewriteVisitor. filter(ContainableModelElement original)Method for filtering (and modifying) the originalContainableModelElementusing theIModelElementFilter.(package private) ContainableModelElementProjectCopyVisitor. getCopiedElement(ContainableModelElement orgElement)Returns a copied element if it was copied already.(package private) ContainableModelElementUncopiedElementsContainer.UnresolvedSyntaxContainer. getCopiedParent()Returns the already translated parent to which the default belongs to.Methods in net.ssehub.easy.varModel.model.rewrite with parameters of type ContainableModelElement Modifier and Type Method Description private voidProjectRewriteVisitor. addCopiedElement(ContainableModelElement copy)Adds a modified and filtered element to theProjectRewriteVisitor.currentProject, part of theProjectRewriteVisitor.filter(ContainableModelElement)method.private voidProjectCopyVisitor. addToCurrentParent(ContainableModelElement copiedElement)Adds the copied element to the current parent (ProjectCopyVisitor.parents, considering needed class casts.private voidProjectCopyVisitor. addToParent(ContainableModelElement copiedElement, IModelElement parent)Adds the specified element to the given parent.(package private) voidUncopiedElementsContainer. addUncopyableCST(ContainableModelElement copiedParent, ConstraintSyntaxTree originalCST)Adds an CST which could not be copied so far, also not partially.private voidInitialStructureCollector. collectNestedConstraintVariables(ConstraintSyntaxTree cst, ContainableModelElement element)Finds all nested constraint variables in the givenConstraintSyntaxTreeand adds them to theVariableLookUpTable.booleanRewriteContext. elementWasRemoved(ContainableModelElement elememt)Returns whether the given element was removed from the project.private ContainableModelElementProjectRewriteVisitor. filter(ContainableModelElement original)Method for filtering (and modifying) the originalContainableModelElementusing theIModelElementFilter.(package private) ContainableModelElementProjectCopyVisitor. getCopiedElement(ContainableModelElement orgElement)Returns a copied element if it was copied already.(package private) voidRewriteContext. markForImportRemoval(Project declaringProject, ContainableModelElement nestedElement)Marks an element of an imported project for removal if the relatedProjectImportwas deleted.(package private) voidVariableLookUpTable. putConstraintOccurrence(AbstractVariable constraintDecl, ContainableModelElement referringElement)Stores that the given constraint declaration was used inside the referring element.voidRewriteContext. removeElement(ContainableModelElement removedElememt)Stores the information that a model element was removed.private voidProjectCopyVisitor. setComment(ContainableModelElement copiedElement, ContainableModelElement originalElement)Helper method for copying the comment from the original to the copied element.Method parameters in net.ssehub.easy.varModel.model.rewrite with type arguments of type ContainableModelElement Modifier and Type Method Description private voidUncopiedElementsContainer. addAll(java.util.List<UncopiedElement> unrelsovedElements, java.util.Collection<? extends ContainableModelElement> elementsToAdd)ConvertsContainableModelElements intoUncopiedElements and adds them to unrelsovedElements.booleanRewriteContext. hasRemovedElementsOfType(java.lang.Class<? extends ContainableModelElement> type)Checks whether elements of the givenContainableModelElementwas removed.Constructors in net.ssehub.easy.varModel.model.rewrite with parameters of type ContainableModelElement Constructor Description UncopiedElement(ContainableModelElement originalElement)Constructor for a containable model element. -
Uses of ContainableModelElement in net.ssehub.easy.varModel.model.rewrite.modifier
Classes in net.ssehub.easy.varModel.model.rewrite.modifier with type parameters of type ContainableModelElement Modifier and Type Class Description classAbstractFrozenChecker<M extends ContainableModelElement>Super class for Filters which should remove elements based on already frozen variables.interfaceIModelElementFilter<M extends ContainableModelElement>Optional Rule how to handle elements of aProject, while creating a copy using theProjectRewriteVisitor.Fields in net.ssehub.easy.varModel.model.rewrite.modifier with type parameters of type ContainableModelElement Modifier and Type Field Description private java.lang.Class<? extends ContainableModelElement>ModelElementFilter. ommitingClassMethods in net.ssehub.easy.varModel.model.rewrite.modifier that return types with arguments of type ContainableModelElement Modifier and Type Method Description java.lang.Class<? extends ContainableModelElement>DeclarationNameFilter. getModifyingModelClass()java.lang.Class<? extends ContainableModelElement>FrozenCompoundConstraintsOmitter. getModifyingModelClass()java.lang.Class<? extends ContainableModelElement>FrozenConstraintsFilter. getModifyingModelClass()java.lang.Class<? extends ContainableModelElement>FrozenConstraintVarFilter. getModifyingModelClass()java.lang.Class<? extends ContainableModelElement>FrozenTypeDefResolver. getModifyingModelClass()java.lang.Class<? extends ContainableModelElement>IModelElementFilter. getModifyingModelClass()Specification for which kind of classes this may be applied to.java.lang.Class<? extends ContainableModelElement>ModelElementFilter. getModifyingModelClass()Constructor parameters in net.ssehub.easy.varModel.model.rewrite.modifier with type arguments of type ContainableModelElement Constructor Description ModelElementFilter(java.lang.Class<? extends ContainableModelElement> ommitingClass)Default constructor for this class.
-