edu.cmu.sei.aadl.aadl2
Interface PropertyExpression

All Superinterfaces:
AObject, Element, org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.IAdaptable, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
BooleanLiteral, ClassifierValue, ComputedValue, ConstantValue, EnumerationValue, InstanceReferenceValue, IntegerLiteral, ListValue, NumberValue, Operation, PropertyReference, PropertyValue, RangeValue, RealLiteral, RecordValue, ReferenceValue, StringLiteral, UnitValue
All Known Implementing Classes:
BooleanLiteralImpl, ClassifierValueImpl, ComputedValueImpl, ConstantValueImpl, EnumerationValueImpl, InstanceReferenceValueImpl, IntegerLiteralImpl, ListValueImpl, NumberValueImpl, OperationImpl, PropertyExpressionImpl, PropertyReferenceImpl, PropertyValueImpl, RangeValueImpl, RealLiteralImpl, RecordValueImpl, ReferenceValueImpl, StringLiteralImpl, UnitValueImpl

public interface PropertyExpression
extends Element

A representation of the model object 'Property Expression'.

See Also:
Aadl2Package.getPropertyExpression()

Field Summary
 
Fields inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject
copyright
 
Method Summary
 EvaluatedProperty evaluate(EvaluationContext ctx)
          Evaluate a property value.
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.Element
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, mustBeOwned, not_own_self
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject
getLocationReference, setLocationReference, setLocationReference
 
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
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

evaluate

EvaluatedProperty evaluate(EvaluationContext ctx)
                           throws InvalidModelException
Evaluate a property value.

Parameters:
context - The context in which to look up any property value references.
modes - The mode in which to look up the value; a mapping from component impls to modes
Returns:
The evaluated property value.
Throws:
InvalidModelException - Thrown if there is some problem or inconsistency in the model that prevents the property value from being evaluated.