|
||||||||||
| 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.ConfigNodeImpl
public class ConfigNodeImpl
An implementation of the model object 'Config Node'.
The following features are implemented:
| Field Summary | |
|---|---|
protected static ConfigState |
CONFIG_STATE_EDEFAULT
The default value of the ' Config State' attribute. |
protected ConfigState |
configState
The cached value of the ' Config State' attribute. |
protected Feature |
origin
The cached value of the ' Origin' reference. |
| Constructor Summary | |
|---|---|
protected |
ConfigNodeImpl()
|
| Method Summary | |
|---|---|
Feature |
basicGetOrigin()
|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
ConfigState |
getConfigState()
|
Feature |
getOrigin()
|
boolean |
prohibitsFeaturesUnchecked(ConfigNode configNode,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Checks if the ProhibitConstraints are valid Checks if a ProhibitsConstraint object with the given ConfigNode as source exists and validates if every prohibited Feature of this Constraint is eliminated |
boolean |
requiresFeaturesChecked(ConfigNode configNode,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Checks if the RequiresConstraints are valid Checks if a RequiresConstraint object with the given ConfigNode as source exists and validates if every required Feature of this Constraint is selected |
void |
setConfigState(ConfigState newConfigState)
|
void |
setOrigin(Feature newOrigin)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Feature origin
Origin' reference.
getOrigin()protected static final ConfigState CONFIG_STATE_EDEFAULT
Config State' attribute.
getConfigState()protected ConfigState configState
Config State' attribute.
getConfigState()| Constructor Detail |
|---|
protected ConfigNodeImpl()
| Method Detail |
|---|
public boolean prohibitsFeaturesUnchecked(ConfigNode configNode,
DiagnosticChain diagnostics,
Map<Object,Object> context)
prohibitsFeaturesUnchecked in interface ConfigNodeconfigNode - the current ConfigNode object in the validation processdiagnostics - the DiagnosticChain objectcontext - The context map
true if every prohibited Feature is eliminated, if no ProhibitsConstraint exists or if the given ConfigNode is not selected
false else
public boolean requiresFeaturesChecked(ConfigNode configNode,
DiagnosticChain diagnostics,
Map<Object,Object> context)
requiresFeaturesChecked in interface ConfigNodeconfigNode - the current ConfigNode object in the validation processdiagnostics - the DiagnosticChain objectcontext - The context map
true if every required Feature is selected, if no RequiredConstraint exists or if the given ConfigNode is not selected
false elseprotected EClass eStaticClass()
public Feature getOrigin()
getOrigin in interface ConfigNodeConfigNode.setOrigin(Feature),
featureconfigPackage.getConfigNode_Origin()public Feature basicGetOrigin()
public void setOrigin(Feature newOrigin)
setOrigin in interface ConfigNodenewOrigin - the new value of the 'Origin' reference.ConfigNode.getOrigin()public ConfigState getConfigState()
getConfigState in interface ConfigNodeConfigState,
ConfigNode.setConfigState(ConfigState),
featureconfigPackage.getConfigNode_ConfigState()public void setConfigState(ConfigState newConfigState)
setConfigState in interface ConfigNodenewConfigState - the new value of the 'Config State' attribute.ConfigState,
ConfigNode.getConfigState()
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||