edu.cmu.sei.aadl.model.properties
Class ModalPropertyValueAccumulatorImpl.PAWrapper
java.lang.Object
edu.cmu.sei.aadl.model.properties.ModalPropertyValueAccumulatorImpl.PAWrapper
- Direct Known Subclasses:
- ModalPropertyValueAccumulatorImpl.DefaultPAWrapper
- Enclosing class:
- ModalPropertyValueAccumulatorImpl
protected abstract static class ModalPropertyValueAccumulatorImpl.PAWrapper
- extends java.lang.Object
Wraps a reference to the PropertyAssociation as used by the
ModeAssocNode. This additional layer of abstraction is needed
so that in InstanceMPVA we can subclass it and add a reference
to the InstanceObject that is the "current component". This
instance object reference is then used as the root object
during the evaluation of ReferencePropertyValue objects to
correctly turn them into InstanceRefernecePropertyValue objects.
(There really has to be a less complicated way of doing this stuff!)
- Author:
- aarong
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pa
protected final PropertyAssociation pa
ModalPropertyValueAccumulatorImpl.PAWrapper
public ModalPropertyValueAccumulatorImpl.PAWrapper(PropertyAssociation pa)
getPropertyAssociation
public final PropertyAssociation getPropertyAssociation()
isAppend
public final boolean isAppend()
evaluate
public abstract AadlPropertyValue evaluate(PropertyHolder ph,
java.util.Map modes)
throws InvalidModelException
- Throws:
InvalidModelException