Class StructuredVariable
- java.lang.Object
-
- net.ssehub.easy.varModel.confModel.DecisionVariable
-
- net.ssehub.easy.varModel.confModel.StructuredVariable
-
- All Implemented Interfaces:
IConfigurationElement,IConfigurationVisitable,IDecisionVariable,IValueParent
- Direct Known Subclasses:
CompoundVariable,ContainerVariable
abstract class StructuredVariable extends DecisionVariable
Abstract super class for variables of StructuredDatatype's. Specialized classes are:- Author:
- El-Sharkawy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedStructuredVariable(IConfigurationElement parent, AbstractVariable varDeclaration, boolean isVisible, boolean isAttribute)Sole constructor for this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description (package private) abstract booleanallowsNestedStates()Returns whether this variable support individual states for nested items.-
Methods inherited from class net.ssehub.easy.varModel.confModel.DecisionVariable
accept, enableWasAssignedForIsDefined, freeze, getAttribute, getAttributesCount, getConfigProvider, getConfiguration, getDeclaration, getInstantiatableType, getNestedDepth, getNestedElement, getParent, getPathForNestedElement, getQualifiedName, getResolutionPath, getState, getValue, hasNullValue, hasValue, isAttribute, isLocal, isNested, isVisible, notifyCreated, notifyWasAssigned, ownStateAllowed, setHistoryValue, setIndex, setState, setValue, setValue, toString, unfreeze, wasAssigned, wasCreated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.ssehub.easy.varModel.confModel.IConfigurationElement
freeze, setValue
-
Methods inherited from interface net.ssehub.easy.varModel.confModel.IDecisionVariable
getNestedElement, getNestedElementsCount, removeDerivedValues
-
-
-
-
Constructor Detail
-
StructuredVariable
protected StructuredVariable(IConfigurationElement parent, AbstractVariable varDeclaration, boolean isVisible, boolean isAttribute)
Sole constructor for this class.- Parameters:
parent- the parent this variable is part of, typically theConfigurationinstance, but in case of compounds/container also the containingIDecisionVariablevarDeclaration- the variable declaration instantiated by this decisionisVisible- 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
-
-