Class SequenceVariable
- 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.SequenceVariable
-
- All Implemented Interfaces:
IConfigurationElement,IConfigurationVisitable,IDecisionVariable,IValueParent
public class SequenceVariable extends ContainerVariable
Decision variable for Sequencess.- Author:
- lueder, Holger Eichelberger
-
-
Constructor Summary
Constructors Constructor Description SequenceVariable(AbstractVariable varDecl, IConfigurationElement parent, boolean isVisible, boolean isAttribute)Sole Constructor for this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.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, setValue
-
Methods 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 Detail
-
SequenceVariable
public SequenceVariable(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 Detail
-
getElementName
protected java.lang.String getElementName(int index)
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
-
-