Interface FeatureConfig

All Superinterfaces:
EObject, Notifier
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:
Generated class or method.
EMF model class or method.
  • 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 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()

      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

      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:
      Generated class or method.
    • getConfignode

      EList<ConfigNode> getConfignode()
      Returns the value of the 'Confignode' containment reference list. The list contents are of type ConfigNode.

      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

      void setAnnotatedElement(FeatureDiagram value)
      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

      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:
      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

      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:
      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'"