Package de.uka.ipd.sdq.featuremodel
Interface Feature
-
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,EObject
,de.uka.ipd.sdq.identifier.Identifier
,NamedElement
,Notifier
- All Known Implementing Classes:
FeatureImpl
public interface Feature extends NamedElement
A representation of the model object 'Feature'.The following features are supported:
- See Also:
featuremodelPackage.getFeature()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
EachAttributeNameDefinedJustOnce(DiagnosticChain diagnostics, Map<Object,Object> context)
true --each attribute name is unique for this feature --self.attributes->isUnique(attr | attr.name)EList<Attribute>
getAttributes()
Returns the value of the 'Attributes' containment reference list.ChildRelation
getChildrelation()
Returns the value of the 'Childrelation' containment reference.FeatureGroup
getFeaturegroup()
Returns the value of the 'Featuregroup' container reference.Simple
getSimpleMandatory()
Returns the value of the 'Simple Mandatory' container reference.Simple
getSimpleOptional()
Returns the value of the 'Simple Optional' container reference.void
setChildrelation(ChildRelation value)
Sets the value of the 'Childrelation
' containment reference.void
setFeaturegroup(FeatureGroup value)
Sets the value of the 'Featuregroup
' container reference.void
setSimpleMandatory(Simple value)
Sets the value of the 'Simple Mandatory
' container reference.void
setSimpleOptional(Simple value)
Sets the value of the 'Simple Optional
' container reference.-
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
-
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 de.uka.ipd.sdq.featuremodel.NamedElement
getName, setName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
getAttributes
EList<Attribute> getAttributes()
Returns the value of the 'Attributes' containment reference list. The list contents are of typeAttribute
.If the meaning of the 'Attributes' containment reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Attributes' containment reference list.
- See Also:
featuremodelPackage.getFeature_Attributes()
- Generated class or method.
- EMF model class or method.
- containment="true" ordered="false"
-
getChildrelation
ChildRelation getChildrelation()
Returns the value of the 'Childrelation' containment reference.If the meaning of the 'Childrelation' containment reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Childrelation' containment reference.
- See Also:
setChildrelation(ChildRelation)
,featuremodelPackage.getFeature_Childrelation()
- Generated class or method.
- EMF model class or method.
- containment="true" ordered="false"
-
setChildrelation
void setChildrelation(ChildRelation value)
Sets the value of the 'Childrelation
' containment reference.- Parameters:
value
- the new value of the 'Childrelation' containment reference.- See Also:
getChildrelation()
- Generated class or method.
-
getSimpleMandatory
Simple getSimpleMandatory()
Returns the value of the 'Simple Mandatory' container reference. It is bidirectional and its opposite is 'Mandatory Children
'.If the meaning of the 'Simple Mandatory' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Simple Mandatory' container reference.
- See Also:
setSimpleMandatory(Simple)
,featuremodelPackage.getFeature_SimpleMandatory()
,Simple.getMandatoryChildren()
- Generated class or method.
- EMF model class or method.
- opposite="mandatoryChildren" transient="false" ordered="false"
-
setSimpleMandatory
void setSimpleMandatory(Simple value)
Sets the value of the 'Simple Mandatory
' container reference.- Parameters:
value
- the new value of the 'Simple Mandatory' container reference.- See Also:
getSimpleMandatory()
- Generated class or method.
-
getSimpleOptional
Simple getSimpleOptional()
Returns the value of the 'Simple Optional' container reference. It is bidirectional and its opposite is 'Optional Children
'.If the meaning of the 'Simple Optional' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Simple Optional' container reference.
- See Also:
setSimpleOptional(Simple)
,featuremodelPackage.getFeature_SimpleOptional()
,Simple.getOptionalChildren()
- Generated class or method.
- EMF model class or method.
- opposite="optionalChildren" transient="false" ordered="false"
-
setSimpleOptional
void setSimpleOptional(Simple value)
Sets the value of the 'Simple Optional
' container reference.- Parameters:
value
- the new value of the 'Simple Optional' container reference.- See Also:
getSimpleOptional()
- Generated class or method.
-
getFeaturegroup
FeatureGroup getFeaturegroup()
Returns the value of the 'Featuregroup' container reference. It is bidirectional and its opposite is 'Children
'.If the meaning of the 'Featuregroup' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Featuregroup' container reference.
- See Also:
setFeaturegroup(FeatureGroup)
,featuremodelPackage.getFeature_Featuregroup()
,FeatureGroup.getChildren()
- Generated class or method.
- EMF model class or method.
- opposite="children" transient="false" ordered="false"
-
setFeaturegroup
void setFeaturegroup(FeatureGroup value)
Sets the value of the 'Featuregroup
' container reference.- Parameters:
value
- the new value of the 'Featuregroup' container reference.- See Also:
getFeaturegroup()
- Generated class or method.
-
EachAttributeNameDefinedJustOnce
boolean EachAttributeNameDefinedJustOnce(DiagnosticChain diagnostics, Map<Object,Object> context)
true --each attribute name is unique for this feature --self.attributes->isUnique(attr | attr.name)- 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--each attribute name is unique for this feature\r\n--self.attributes->isUnique(attr | attr.name)\r\n'"
-
-