Interface FeatureConfig
-
- All Known Implementing Classes:
FeatureConfigImpl
public interface FeatureConfig extends EObject
A representation of the model object 'Feature Config'.The following features are supported:
- See Also:
featureconfigPackage.getFeatureConfig()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FeatureDiagram
getAnnotatedElement()
Returns the value of the 'Annotated Element' reference.EList<ConfigNode>
getConfignode()
Returns the value of the 'Confignode' containment reference list.Configuration
getConfigurationDefault()
Returns the value of the 'Configuration Default' container reference.Configuration
getConfigurationOverrides()
Returns the value of the 'Configuration Overrides' container reference.FeatureConfigState
getFeatureConfigState()
Returns the value of the 'Feature Config State' attribute.void
setAnnotatedElement(FeatureDiagram value)
Sets the value of the 'Annotated Element
' reference.void
setConfigurationDefault(Configuration value)
Sets the value of the 'Configuration Default
' container reference.void
setConfigurationOverrides(Configuration value)
Sets the value of the 'Configuration Overrides
' container reference.void
setFeatureConfigState(FeatureConfigState value)
Sets the value of the 'Feature Config State
' attribute.FeatureConfigState
showFeatureConfigState()
-
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
-
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:
FeatureConfigState
,setFeatureConfigState(FeatureConfigState)
,featureconfigPackage.getFeatureConfig_FeatureConfigState()
- Generated class or method.
- EMF model class or method.
- default="NOT_SET" required="true" ordered="false"
-
setFeatureConfigState
void setFeatureConfigState(FeatureConfigState value)
Sets the value of the 'Feature Config State
' attribute.- Parameters:
value
- the new value of the 'Feature Config State' attribute.- See Also:
FeatureConfigState
,getFeatureConfigState()
- 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:
featureconfigPackage.getFeatureConfig_Confignode()
- 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:
setAnnotatedElement(FeatureDiagram)
,featureconfigPackage.getFeatureConfig_AnnotatedElement()
- Generated class or method.
- EMF model class or method.
- ordered="false"
-
setAnnotatedElement
void setAnnotatedElement(FeatureDiagram value)
Sets the value of the 'Annotated Element
' reference.- Parameters:
value
- the new value of the 'Annotated Element' reference.- See Also:
getAnnotatedElement()
- 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:
setConfigurationOverrides(Configuration)
,featureconfigPackage.getFeatureConfig_ConfigurationOverrides()
,Configuration.getConfigOverrides()
- Generated class or method.
- EMF model class or method.
- opposite="configOverrides" transient="false" ordered="false"
-
setConfigurationOverrides
void setConfigurationOverrides(Configuration value)
Sets the value of the 'Configuration Overrides
' container reference.- Parameters:
value
- the new value of the 'Configuration Overrides' container reference.- See Also:
getConfigurationOverrides()
- 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:
setConfigurationDefault(Configuration)
,featureconfigPackage.getFeatureConfig_ConfigurationDefault()
,Configuration.getDefaultConfig()
- Generated class or method.
- EMF model class or method.
- opposite="defaultConfig" transient="false" ordered="false"
-
setConfigurationDefault
void setConfigurationDefault(Configuration value)
Sets the value of the 'Configuration Default
' container reference.- Parameters:
value
- the new value of the 'Configuration Default' container reference.- See Also:
getConfigurationDefault()
- 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'"
-
-