public interface FeatureGroup extends ChildRelation
The following features are supported:
featuremodelPackage.getFeatureGroup()| Modifier and Type | Method and Description |
|---|---|
boolean |
ALLImpliesCardinalitiesToBeMinusOne(DiagnosticChain diagnostics,
Map<Object,Object> context)
true
--self.groupType = GroupTypes::ALL implies (self.min = -1 and self.max = -1)
|
EList<Feature> |
getChildren()
Returns the value of the 'Children' containment reference list.
|
int |
getMax()
Returns the value of the 'Max' attribute.
|
int |
getMin()
Returns the value of the 'Min' attribute.
|
boolean |
ORImpliesCardinalitiesMinToBeOneAndMaxToBeMinusOne(DiagnosticChain diagnostics,
Map<Object,Object> context)
true
--self.groupType = GroupTypes::OR implies (self.min = 1 and self.max = -1)
|
void |
setMax(int value)
Sets the value of the '
Max' attribute. |
void |
setMin(int value)
Sets the value of the '
Min' attribute. |
boolean |
XORImpliesCardinalitiesToBeOne(DiagnosticChain diagnostics,
Map<Object,Object> context)
true
--self.groupType = GroupTypes::XOR implies (self.min = 1 and self.max = 1)
|
boolean |
XORorORImpliesChildrenAreMandatory(DiagnosticChain diagnostics,
Map<Object,Object> context)
true
--(self.groupType = GroupTypes::OR or self.groupType = GroupTypes::XOR) implies self.children->forAll(c|c.isMandatory)
|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliverint getMin()
"1".
If the meaning of the 'Min' attribute isn't clear, there really should be more of a description here...
setMin(int),
featuremodelPackage.getFeatureGroup_Min()void setMin(int value)
Min' attribute.
value - the new value of the 'Min' attribute.getMin()int getMax()
"1".
If the meaning of the 'Max' attribute isn't clear, there really should be more of a description here...
setMax(int),
featuremodelPackage.getFeatureGroup_Max()void setMax(int value)
Max' attribute.
value - the new value of the 'Max' attribute.getMax()EList<Feature> getChildren()
Feature.
It is bidirectional and its opposite is 'Featuregroup'.
If the meaning of the 'Children' containment reference list isn't clear, there really should be more of a description here...
featuremodelPackage.getFeatureGroup_Children(),
Feature.getFeaturegroup()boolean XORorORImpliesChildrenAreMandatory(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 ALLImpliesCardinalitiesToBeMinusOne(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 ORImpliesCardinalitiesMinToBeOneAndMaxToBeMinusOne(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 XORImpliesCardinalitiesToBeOne(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.