|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfigNode
A representation of the model object 'Config Node'. Holds ConfigState of a Feature. For a Feature it holds the actual value.
The following features are supported:
featureconfigPackage.getConfigNode()| Method Summary | |
|---|---|
ConfigState |
getConfigState()
Returns the value of the 'Config State' attribute. |
Feature |
getOrigin()
Returns the value of the 'Origin' reference. |
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 value)
Sets the value of the ' Config State' attribute. |
void |
setOrigin(Feature value)
Sets the value of the ' Origin' reference. |
| Method Detail |
|---|
Feature getOrigin()
If the meaning of the 'Origin' reference isn't clear, there really should be more of a description here...
setOrigin(Feature),
featureconfigPackage.getConfigNode_Origin()void setOrigin(Feature value)
Origin' reference.
value - the new value of the 'Origin' reference.getOrigin()ConfigState getConfigState()
"DEFAULT".
The literals are from the enumeration ConfigState.
actual state for annotated Features; for FeatureGroups it is a derived attribute
ConfigState,
setConfigState(ConfigState),
featureconfigPackage.getConfigNode_ConfigState()void setConfigState(ConfigState value)
Config State' attribute.
value - the new value of the 'Config State' attribute.ConfigState,
getConfigState()
boolean requiresFeaturesChecked(ConfigNode configNode,
DiagnosticChain diagnostics,
Map<Object,Object> context)
configNode - 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 else
boolean prohibitsFeaturesUnchecked(ConfigNode configNode,
DiagnosticChain diagnostics,
Map<Object,Object> context)
configNode - 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||