Interface FeatureConfig
- All Known Implementing Classes:
FeatureConfigImpl
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Annotated Element' reference.Returns the value of the 'Confignode' containment reference list.Returns the value of the 'Configuration Default' container reference.Returns the value of the 'Configuration Overrides' container reference.Returns the value of the 'Feature Config State' attribute.void
Sets the value of the 'Annotated Element
' reference.void
Sets the value of the 'Configuration Default
' container reference.void
Sets the value of the 'Configuration Overrides
' container reference.void
Sets the value of the 'Feature Config State
' attribute.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
-
getFeatureConfigState
FeatureConfigState getFeatureConfigState()Returns the value of the 'Feature Config State' attribute. The default value is"NOT_SET"
. The literals are from the enumerationFeatureConfigState
.If the meaning of the 'Feature Config State' attribute isn't clear, there really should be more of a description here...
Returns the result of showFeatureConfigState()
- Returns:
- the value of the 'Feature Config State' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- default="NOT_SET" required="true" ordered="false"
-
setFeatureConfigState
Sets the value of the 'Feature Config State
' attribute.- Parameters:
value
- the new value of the 'Feature Config State' attribute.- See Also:
- Generated class or method.
-
getConfignode
EList<ConfigNode> getConfignode()Returns the value of the 'Confignode' containment reference list. The list contents are of typeConfigNode
.If the meaning of the 'Confignode' containment reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Confignode' containment reference list.
- See Also:
- Generated class or method.
- EMF model class or method.
- containment="true" ordered="false"
-
getAnnotatedElement
FeatureDiagram getAnnotatedElement()Returns the value of the 'Annotated Element' reference.If the meaning of the 'Annotated Element' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Annotated Element' reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- ordered="false"
-
setAnnotatedElement
Sets the value of the 'Annotated Element
' reference.- Parameters:
value
- the new value of the 'Annotated Element' reference.- See Also:
- Generated class or method.
-
getConfigurationOverrides
Configuration getConfigurationOverrides()Returns the value of the 'Configuration Overrides' container reference. It is bidirectional and its opposite is 'Config Overrides
'.If the meaning of the 'Configuration Overrides' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Configuration Overrides' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="configOverrides" transient="false" ordered="false"
-
setConfigurationOverrides
Sets the value of the 'Configuration Overrides
' container reference.- Parameters:
value
- the new value of the 'Configuration Overrides' container reference.- See Also:
- Generated class or method.
-
getConfigurationDefault
Configuration getConfigurationDefault()Returns the value of the 'Configuration Default' container reference. It is bidirectional and its opposite is 'Default Config
'.If the meaning of the 'Configuration Default' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Configuration Default' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="defaultConfig" transient="false" ordered="false"
-
setConfigurationDefault
Sets the value of the 'Configuration Default
' container reference.- Parameters:
value
- the new value of the 'Configuration Default' container reference.- See Also:
- Generated class or method.
-
showFeatureConfigState
FeatureConfigState showFeatureConfigState()The FeatureConfigState of a FeatureConfig is DEFAULT, if the FeatureConfig equals its configurationDefault.defaultConfig. It is OVERRIDE, if it is included in its configurationOverrides.configOverrides. If neither of these conditions applies, the FeatureConfigState is NOT_SET
if (configurationDefault->size() = 1 and configurationDefault.defaultConfig = self) then FeatureConfigState::DEFAULT else ( if (configurationOverrides->size() = 1 and configurationOverrides.configOverrides->size() > 0 and configurationOverrides.configOverrides->includes(self)) then FeatureConfigState::OVERRIDE else FeatureConfigState::NOT_SET endif ) endif- Generated class or method.
- EMF model class or method.
- required="true" ordered="false" annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='if (configurationDefault->size() = 1 and configurationDefault.defaultConfig = self) then FeatureConfigState::DEFAULT\r\n else (\r\n if (configurationOverrides->size() = 1 and configurationOverrides.configOverrides->size() > 0 and configurationOverrides.configOverrides->includes(self)) then FeatureConfigState::OVERRIDE\r\n else FeatureConfigState::NOT_SET\r\n endif\r\n ) endif'"
-