public interface ConfigNode extends EObject
The following features are supported:
featureconfigPackage.getConfigNode()| Modifier and Type | Method and Description |
|---|---|
boolean |
CheckMultiplicityOfFeatureGroup(DiagnosticChain diagnostics,
Map<Object,Object> context)
true
--not self.origin.featuregroup->isEmpty() implies (self.origin.featuregroup.children->size() <= self.origin.featuregroup.max and self.origin.featuregroup.children->size() >= self.origin.featuregroup.min)
|
boolean |
ConfigCardinalityInvalid(DiagnosticChain diagnostics,
Map<Object,Object> context)
true
--let childSelectedCount : Integer = self.children->select(c|c.configState = ConfigState::USER_SELECTED or c.configState = ConfigState::MASCHINE_SELECTED)->size()
--in
-- if self.origin.oclIsTypeOf(featuremodel::FeatureGroup) then
-- childSelectedCount >= self.origin.min and (childSelectedCount <= self.origin.max or self.origin.max = -1)
-- else
-- self.origin.min >= 1 implies (self.configState = ConfigState::USER_SELECTED or self.configState = ConfigState::MASCHINE_SELECTED)
-- endif
|
EList<AttributeValue> |
getAttributevalue()
Returns the value of the 'Attributevalue' containment reference list.
|
ConfigState |
getConfigState()
Returns the value of the 'Config State' attribute.
|
Feature |
getOrigin()
Returns the value of the 'Origin' reference.
|
void |
setConfigState(ConfigState value)
Sets the value of the '
Config State' attribute. |
void |
setOrigin(Feature value)
Sets the value of the '
Origin' reference. |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliverFeature getOrigin()
If the meaning of the 'Origin' reference isn't clear, there really should be more of a description here...
setOrigin(Feature),
featureconfigPackage.getConfigNode_Origin()void setOrigin(Feature value)
Origin' reference.
value - the new value of the 'Origin' reference.getOrigin()ConfigState getConfigState()
"DEFAULT".
The literals are from the enumeration ConfigState.
actual state for annotated Features; for FeatureGroups it is a derived attribute
ConfigState,
setConfigState(ConfigState),
featureconfigPackage.getConfigNode_ConfigState()void setConfigState(ConfigState value)
Config State' attribute.
value - the new value of the 'Config State' attribute.ConfigState,
getConfigState()EList<AttributeValue> getAttributevalue()
AttributeValue.
It is bidirectional and its opposite is 'Confignode'.
If the meaning of the 'Attributevalue' reference list isn't clear, there really should be more of a description here...
featureconfigPackage.getConfigNode_Attributevalue(),
AttributeValue.getConfignode()boolean ConfigCardinalityInvalid(DiagnosticChain diagnostics, Map<Object,Object> context)
diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
boolean CheckMultiplicityOfFeatureGroup(DiagnosticChain diagnostics, Map<Object,Object> context)
diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.