Class SetVariable
java.lang.Object
net.ssehub.easy.varModel.confModel.DecisionVariable
net.ssehub.easy.varModel.confModel.StructuredVariable
net.ssehub.easy.varModel.confModel.ContainerVariable
net.ssehub.easy.varModel.confModel.SetVariable
- All Implemented Interfaces:
IConfigurationElement,IConfigurationVisitable,IDecisionVariable,IValueParent
Decision variable for
Sets.- Author:
- lueder, Holger Eichelberger
-
Constructor Summary
ConstructorsConstructorDescriptionSetVariable(AbstractVariable varDecl, IConfigurationElement parent, boolean isVisible, boolean isAttribute) Sole Constructor for this class. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetElementName(int index) Returns the symbolic name for an element in this container, such as the index for sequences.Methods inherited from class net.ssehub.easy.varModel.confModel.ContainerVariable
addNestedElement, addNestedElement, addNestedElement, allowsNestedStates, clear, freeze, freeze, getContainedType, getNestedElement, getNestedElementsCount, getState, indexOf, notifyWasAssigned, removeDerivedValues, removeNestedElement, setValue, setValueMethods inherited from class net.ssehub.easy.varModel.confModel.DecisionVariable
accept, enableWasAssignedForIsDefined, getAttribute, getAttributesCount, getConfigProvider, getConfiguration, getDeclaration, getInstantiatableType, getNestedDepth, getNestedElement, getParent, getPathForNestedElement, getQualifiedName, getResolutionPath, getValue, hasNullValue, hasValue, isAttribute, isLocal, isNested, isVisible, notifyCreated, ownStateAllowed, setHistoryValue, setIndex, setState, setValue, toString, unfreeze, wasAssigned, wasCreated
-
Constructor Details
-
SetVariable
public SetVariable(AbstractVariable varDecl, IConfigurationElement parent, boolean isVisible, boolean isAttribute) Sole Constructor for this class.- Parameters:
varDecl- the variable declaration for this variableparent- the parent of this setisVisible- Specifies whether this variables is exported by an interface or not:true: The variable is exported by an interface or there is no interface.false: There is an interface which does not export this variable.
isAttribute- whether this variable represents (a part of) an attribute or a variable
-
-
Method Details
-
getElementName
Description copied from class:ContainerVariableReturns the symbolic name for an element in this container, such as the index for sequences.- Overrides:
getElementNamein classContainerVariable- Parameters:
index- the position of the element within the container- Returns:
- the symbolic name
-