Package de.uka.ipd.sdq.featuremodel
Interface FeatureGroup
- All Superinterfaces:
ChildRelation
,EObject
,Notifier
- All Known Implementing Classes:
FeatureGroupImpl
A representation of the model object 'Feature Group'.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
ALLImpliesCardinalitiesToBeMinusOne
(DiagnosticChain diagnostics, Map<Object, Object> context) true --self.groupType = GroupTypes::ALL implies (self.min = -1 and self.max = -1)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)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 Details
-
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:
- 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:
- 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:
- 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:
- Generated class or method.
-
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:
- Generated class or method.
- EMF model class or method.
- opposite="featuregroup" containment="true" lower="2" ordered="false"
-
XORorORImpliesChildrenAreMandatory
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
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'"
-