|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReflectiveAadlPropertyValue
Property value that provides information about where it came from.
The method AadlPropertyValue.instantiate(ComponentInstance)
is implemented to make sure that it also returns a
ReflectiveAadlPropertyValue
.
Method Summary | |
---|---|
AadlPropertyValue |
evaluate(PropertyHolder context,
java.util.Map modes)
Evaluate a property value in the given context and with the given mode bindings. |
java.util.Map |
getModeBinding()
Get the map from ModeContexts to Modes that was used to generate this property value. |
Methods inherited from interface edu.cmu.sei.aadl.model.properties.AadlPropertyValue |
---|
exists, getDefiningAssociations, getScalarValue, getValue, instantiate, isList, isNotPresent, preEvaluate |
Method Detail |
---|
java.util.Map getModeBinding()
AadlPropertyValue evaluate(PropertyHolder context, java.util.Map modes) throws InvalidModelException
evaluate
in interface AadlPropertyValue
context
- The element any property references should be looked up
against.modes
- A map from ComponentImpl
to Mode
defining the mode
bindings to use for the evaluation.
InvalidModelException
- Thrown if the property value cannot
be evaluated because the model is incomplete or malformed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |