public interface FeatureConfig extends EObject
The following features are supported:
featureconfigPackage.getFeatureConfig()| Modifier and Type | Method and 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() |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliverFeatureConfigState getFeatureConfigState()
"NOT_SET".
The literals are from the enumeration FeatureConfigState.
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()
FeatureConfigState,
setFeatureConfigState(FeatureConfigState),
featureconfigPackage.getFeatureConfig_FeatureConfigState()void setFeatureConfigState(FeatureConfigState value)
Feature Config State' attribute.
value - the new value of the 'Feature Config State' attribute.FeatureConfigState,
getFeatureConfigState()EList<ConfigNode> getConfignode()
ConfigNode.
If the meaning of the 'Confignode' containment reference list isn't clear, there really should be more of a description here...
featureconfigPackage.getFeatureConfig_Confignode()FeatureDiagram getAnnotatedElement()
If the meaning of the 'Annotated Element' reference list isn't clear, there really should be more of a description here...
setAnnotatedElement(FeatureDiagram),
featureconfigPackage.getFeatureConfig_AnnotatedElement()void setAnnotatedElement(FeatureDiagram value)
Annotated Element' reference.
value - the new value of the 'Annotated Element' reference.getAnnotatedElement()Configuration getConfigurationOverrides()
Config Overrides'.
If the meaning of the 'Configuration Overrides' container reference isn't clear, there really should be more of a description here...
setConfigurationOverrides(Configuration),
featureconfigPackage.getFeatureConfig_ConfigurationOverrides(),
Configuration.getConfigOverrides()void setConfigurationOverrides(Configuration value)
Configuration Overrides' container reference.
value - the new value of the 'Configuration Overrides' container reference.getConfigurationOverrides()Configuration getConfigurationDefault()
Default Config'.
If the meaning of the 'Configuration Default' container reference isn't clear, there really should be more of a description here...
setConfigurationDefault(Configuration),
featureconfigPackage.getFeatureConfig_ConfigurationDefault(),
Configuration.getDefaultConfig()void setConfigurationDefault(Configuration value)
Configuration Default' container reference.
value - the new value of the 'Configuration Default' container reference.getConfigurationDefault()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