Package de.uka.ipd.sdq.featuremodel
Interface FeatureGroup
-
- All Superinterfaces:
ChildRelation,EObject,Notifier
- All Known Implementing Classes:
FeatureGroupImpl
public interface FeatureGroup extends ChildRelation
A representation of the model object 'Feature Group'.The following features are supported:
- See Also:
featuremodelPackage.getFeatureGroup()- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanALLImpliesCardinalitiesToBeMinusOne(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.intgetMax()Returns the value of the 'Max' attribute.intgetMin()Returns the value of the 'Min' attribute.booleanORImpliesCardinalitiesMinToBeOneAndMaxToBeMinusOne(DiagnosticChain diagnostics, Map<Object,Object> context)true --self.groupType = GroupTypes::OR implies (self.min = 1 and self.max = -1)voidsetMax(int value)Sets the value of the 'Max' attribute.voidsetMin(int value)Sets the value of the 'Min' attribute.booleanXORImpliesCardinalitiesToBeOne(DiagnosticChain diagnostics, Map<Object,Object> context)true --self.groupType = GroupTypes::XOR implies (self.min = 1 and self.max = 1)booleanXORorORImpliesChildrenAreMandatory(DiagnosticChain diagnostics, Map<Object,Object> context)true --(self.groupType = GroupTypes::OR or self.groupType = GroupTypes::XOR) implies self.children->forAll(c|c.isMandatory)-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
getMin
int getMin()
Returns the value of the 'Min' attribute. The default value is"1".If the meaning of the 'Min' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Min' attribute.
- See Also:
setMin(int),featuremodelPackage.getFeatureGroup_Min()- Generated class or method.
- EMF model class or method.
- default="1" required="true" ordered="false"
-
setMin
void setMin(int value)
Sets the value of the 'Min' attribute.- Parameters:
value- the new value of the 'Min' attribute.- See Also:
getMin()- Generated class or method.
-
getMax
int getMax()
Returns the value of the 'Max' attribute. The default value is"1".If the meaning of the 'Max' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Max' attribute.
- See Also:
setMax(int),featuremodelPackage.getFeatureGroup_Max()- Generated class or method.
- EMF model class or method.
- default="1" required="true" ordered="false"
-
setMax
void setMax(int value)
Sets the value of the 'Max' attribute.- Parameters:
value- the new value of the 'Max' attribute.- See Also:
getMax()- Generated class or method.
-
getChildren
EList<Feature> getChildren()
Returns the value of the 'Children' containment reference list. The list contents are of typeFeature. 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...
- Returns:
- the value of the 'Children' containment reference list.
- See Also:
featuremodelPackage.getFeatureGroup_Children(),Feature.getFeaturegroup()- Generated class or method.
- EMF model class or method.
- opposite="featuregroup" containment="true" lower="2" ordered="false"
-
XORorORImpliesChildrenAreMandatory
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)- Parameters:
diagnostics- The chain of diagnostics to which problems are to be appended.context- The cache of context-specific information.- Generated class or method.
- EMF model class or method.
- annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='true \r\n--(self.groupType = GroupTypes::OR or self.groupType = GroupTypes::XOR) implies self.children->forAll(c|c.isMandatory)\r\n'"
-
ALLImpliesCardinalitiesToBeMinusOne
boolean ALLImpliesCardinalitiesToBeMinusOne(DiagnosticChain diagnostics, Map<Object,Object> context)
true --self.groupType = GroupTypes::ALL implies (self.min = -1 and self.max = -1)- Parameters:
diagnostics- The chain of diagnostics to which problems are to be appended.context- The cache of context-specific information.- Generated class or method.
- EMF model class or method.
- annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='true \r\n --self.groupType = GroupTypes::ALL implies (self.min = -1 and self.max = -1)\r\n'"
-
ORImpliesCardinalitiesMinToBeOneAndMaxToBeMinusOne
boolean ORImpliesCardinalitiesMinToBeOneAndMaxToBeMinusOne(DiagnosticChain diagnostics, Map<Object,Object> context)
true --self.groupType = GroupTypes::OR implies (self.min = 1 and self.max = -1)- Parameters:
diagnostics- The chain of diagnostics to which problems are to be appended.context- The cache of context-specific information.- Generated class or method.
- EMF model class or method.
- annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='true \r\n--self.groupType = GroupTypes::OR implies (self.min = 1 and self.max = -1)'"
-
XORImpliesCardinalitiesToBeOne
boolean XORImpliesCardinalitiesToBeOne(DiagnosticChain diagnostics, Map<Object,Object> context)
true --self.groupType = GroupTypes::XOR implies (self.min = 1 and self.max = 1)- Parameters:
diagnostics- The chain of diagnostics to which problems are to be appended.context- The cache of context-specific information.- Generated class or method.
- EMF model class or method.
- annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='true \r\n --self.groupType = GroupTypes::XOR implies (self.min = 1 and self.max = 1)\r\n'"
-
-