Class StructuredValue
java.lang.Object
net.ssehub.easy.varModel.model.values.Value
net.ssehub.easy.varModel.model.values.StructuredValue
- Direct Known Subclasses:
CompoundValue,ContainerValue
Super class of
ContainerValue and CompoundValue.- Author:
- beck, El-Sharkawy
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescription(package private)Constructor for serialization.protectedConstructor for the Class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value parent.final booleanAbstract Method to check whether a value is configured.abstract booleanMethod to check, whether each object of the Value has a value assigned.voidsetValueParent(IValueParent valueParent) Changes the value parent.Methods inherited from class net.ssehub.easy.varModel.model.values.Value
accept, clone, equals, equals, equalsPartially, equalsPartially, getContainedType, getType, getValue, hashCode, setValue, stringValueOf, toString
-
Field Details
-
valueParent
-
-
Constructor Details
-
StructuredValue
StructuredValue()Constructor for serialization. -
StructuredValue
Constructor for the Class.- Parameters:
type- the type of the specific object.
-
-
Method Details
-
isFullyConfigured
public abstract boolean isFullyConfigured()Method to check, whether each object of the Value has a value assigned.- Returns:
- true if all sub-elements are configured, else false
-
isConfigured
public final boolean isConfigured()Description copied from class:ValueAbstract Method to check whether a value is configured.- Specified by:
isConfiguredin classValue- Returns:
- true = it is configured / false = it is not
-
setValueParent
Description copied from class:ValueChanges the value parent.- Overrides:
setValueParentin classValue- Parameters:
valueParent- the parent
-
getValueParent
Description copied from class:ValueReturns the value parent.- Overrides:
getValueParentin classValue- Returns:
- the parent (may be null for none)
-