|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReferencedProperty
A representation of the model object 'Referenced Property'.
PropertyPackage.getReferencedProperty()
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Method Summary | |
---|---|
AadlPropertyValue |
evaluate(java.lang.String sign,
java.util.Map modes,
PropertyHolder context)
Evaluate a referenced property. |
PropertyType |
getThePropertyType()
Get the type of the referenced property or constant. |
boolean |
isList()
Does the referenced property or constant refer to a list? |
void |
preEvaluate(PropertyHolder context,
java.util.Set reqModeContexts)
Pre-evaluate a property value to determine which ComponentImpls have modes that can affect the property value. |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Field Detail |
---|
static final java.lang.String copyright
Method Detail |
---|
PropertyType getThePropertyType()
boolean isList()
AadlPropertyValue evaluate(java.lang.String sign, java.util.Map modes, PropertyHolder context) throws InvalidModelException
sign
- the referenceSign
value from the containing
PropertyReference.modes
- The mode in which to look up the value; a mapping from
component impls to modescontext
- The context in which to look up any property value references.
null
, a
PropertyValue, or a list of PropertyValues. If the evaluation is
trivial, then this will be the same as the receiver.
InvalidModelException
- Thrown if there is a problem with the
model that prevents the prpoerty value from being evaluated.void preEvaluate(PropertyHolder context, java.util.Set reqModeContexts) throws InvalidModelException
context
- The context in which the property value is to be looked up.reqModeContexts
- The working set of component implementations whose modes
affect the value of the property. This set is modified as
a side-effect of this method.
InvalidModelException
- Thrown if there is a problem with the
model that prevents the prpoerty value from being pre-evaluated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |