|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectEObjectImpl
de.uka.ipd.sdq.featureconfig.impl.ConfigurationImpl
public class ConfigurationImpl
An implementation of the model object 'Configuration'.
The following features are implemented:
| Field Summary | |
|---|---|
protected FeatureConfig |
configOverrides
The cached value of the ' Config Overrides' containment reference. |
protected FeatureConfig |
defaultConfig
The cached value of the ' Default Config' containment reference. |
protected String |
name
The cached value of the ' Name' attribute. |
protected static String |
NAME_EDEFAULT
The default value of the ' Name' attribute. |
| Constructor Summary | |
|---|---|
protected |
ConfigurationImpl()
|
| Method Summary | |
|---|---|
NotificationChain |
basicSetConfigOverrides(FeatureConfig newConfigOverrides,
NotificationChain msgs)
|
NotificationChain |
basicSetDefaultConfig(FeatureConfig newDefaultConfig,
NotificationChain msgs)
|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
FeatureConfig |
getConfigOverrides()
|
FeatureConfig |
getDefaultConfig()
|
String |
getName()
|
boolean |
mandatoryFeaturesChecked(Configuration configuration,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Checks if all mandatory Features are selected |
boolean |
minMaxCorrect(Configuration configuration,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Checks if the the number of selected Feature objects in every FeatureGroup is in the Min:Max range of that group |
void |
setConfigOverrides(FeatureConfig newConfigOverrides)
|
void |
setDefaultConfig(FeatureConfig newDefaultConfig)
|
void |
setName(String newName)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected FeatureConfig defaultConfig
Default Config' containment reference.
getDefaultConfig()protected FeatureConfig configOverrides
Config Overrides' containment reference.
getConfigOverrides()protected static final String NAME_EDEFAULT
Name' attribute.
getName()protected String name
Name' attribute.
getName()| Constructor Detail |
|---|
protected ConfigurationImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
public FeatureConfig getDefaultConfig()
getDefaultConfig in interface ConfigurationConfiguration.setDefaultConfig(FeatureConfig),
featureconfigPackage.getConfiguration_DefaultConfig()
public NotificationChain basicSetDefaultConfig(FeatureConfig newDefaultConfig,
NotificationChain msgs)
public void setDefaultConfig(FeatureConfig newDefaultConfig)
setDefaultConfig in interface ConfigurationnewDefaultConfig - the new value of the 'Default Config' containment reference.Configuration.getDefaultConfig()public FeatureConfig getConfigOverrides()
getConfigOverrides in interface ConfigurationConfiguration.setConfigOverrides(FeatureConfig),
featureconfigPackage.getConfiguration_ConfigOverrides()
public NotificationChain basicSetConfigOverrides(FeatureConfig newConfigOverrides,
NotificationChain msgs)
public void setConfigOverrides(FeatureConfig newConfigOverrides)
setConfigOverrides in interface ConfigurationnewConfigOverrides - the new value of the 'Config Overrides' containment reference.Configuration.getConfigOverrides()public String getName()
getName in interface ConfigurationConfiguration.setName(String),
featureconfigPackage.getConfiguration_Name()public void setName(String newName)
setName in interface ConfigurationnewName - the new value of the 'Name' attribute.Configuration.getName()
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
public Object eGet(int featureID,
boolean resolve,
boolean coreType)
public void eSet(int featureID,
Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public String toString()
public boolean mandatoryFeaturesChecked(Configuration configuration,
DiagnosticChain diagnostics,
Map<Object,Object> context)
mandatoryFeaturesChecked in interface Configurationconfiguration - The Configuration objectdiagnostics - The DiagnosticChain object for the validation processcontext - The context map
true if the validation succeeded
false else
public boolean minMaxCorrect(Configuration configuration,
DiagnosticChain diagnostics,
Map<Object,Object> context)
minMaxCorrect in interface Configurationconfiguration - The Configuration objectdiagnostics - The DiagnosticChain object for the validation processcontext - The context map
true if the validation succeeded
false else
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||