Class NestedVarConfigProvider
java.lang.Object
net.ssehub.easy.varModel.confModel.VariableConfigProvider
net.ssehub.easy.varModel.confModel.NestedVarConfigProvider
- Direct Known Subclasses:
CompoundItemConfigProvider,ContainerItemConfigProvider
VariableConfigProvider for nested variables of a StructuredVariable.- Author:
- El-Sharkawy
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSole constructor for this class. -
Method Summary
Modifier and TypeMethodDescriptionprotected final ConfigurationReturn the configuration containing the relatedIDecisionVariable.protected StructuredVariableReturns theStructuredVariablewhich hold the relatedIDecisionVariablewhere this provider belongs to.protected final booleanSpecifies whether the relatedIDecisionVariablecan have its ownIAssignmentState.Methods inherited from class net.ssehub.easy.varModel.confModel.VariableConfigProvider
freeze, freeze, getDeclaration, getState, getValue, setHistoryValue, setState, setValue, unfreeze
-
Field Details
-
parent
-
-
Constructor Details
-
NestedVarConfigProvider
Sole constructor for this class.- Parameters:
parent- AStructuredVariablewhich will hold the nestedIDecisionVariablewhere this provider belongs to.
-
-
Method Details
-
getParent
Returns theStructuredVariablewhich hold the relatedIDecisionVariablewhere this provider belongs to.- Returns:
- The
StructuredVariablewhich hold the relatedIDecisionVariable.
-
getConfiguration
Description copied from class:VariableConfigProviderReturn the configuration containing the relatedIDecisionVariable.- Specified by:
getConfigurationin classVariableConfigProvider- Returns:
IConfigurationElement.getConfiguration().
-
isStateChangeAllowed
protected final boolean isStateChangeAllowed()Description copied from class:VariableConfigProviderSpecifies whether the relatedIDecisionVariablecan have its ownIAssignmentState. In case of a nestedIDecisionVariableof aStructuredVariable, this is not supported.- Specified by:
isStateChangeAllowedin classVariableConfigProvider- Returns:
trueif the relatedIDecisionVariablecan have its ownIAssignmentState, otherwisefalse.
-