|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModalPropertyValueAccumulator
Fill this in
Method Summary | |
---|---|
void |
addDefaultValue(AadlPropertyValue defValue)
Accumulate a default value. |
java.util.Set |
addLocalContainedPropertyAssociations(PropertyHolder target,
PropertyHolder container,
PropertyDefinition pn)
Accumulate the associations for the given property as found in the contained property associations of the target's containing component. |
java.util.Set |
addLocalContainedPropertyAssociations(PropertyHolder target,
PropertyHolder container,
PropertyDefinition pn,
java.util.List targetInModes,
ModeContext modeContext)
Accumulate the associations for the given property as found in the contained property associations of the target's containing component. |
java.util.Set |
addPropertyAssociations(PropertyHolder ph,
PropertyDefinition pn)
Accumulate the associations for the given property as found in the immediate properties attribute of the given property holder. |
java.util.Set |
addPropertyAssociations(PropertyHolder ph,
PropertyDefinition pn,
java.util.List compInModes,
ModeContext modeContext)
Accumulate the associations for the given property as found in the immediate properties attribute of the given property holder. |
Methods inherited from interface edu.cmu.sei.aadl.model.properties.ModalPropertyValue |
---|
getAllModeBindings, getAllValues, getModeContexts, getModeContextsAsArray, getValue, getValue, isModal |
Method Detail |
---|
void addDefaultValue(AadlPropertyValue defValue) throws InvalidModelException
defValue
- The default property value.
InvalidModelException
- Thrown if the default property value cannot
be added because the model is incompletejava.util.Set addPropertyAssociations(PropertyHolder ph, PropertyDefinition pn, java.util.List compInModes, ModeContext modeContext) throws InvalidModelException
ph
- The property holder whose properties attribute is of interestpn
- The property definitioncompInModes
- The modes in which the element that the properties are
associated with exist. This is a superset of the modes that
the property association might exist for. May be
null
if the properties are not associated with
a sub element of a component implementation.modeContext
- An abstraction of the model element whose modes are the domain for this
assocation.
InvalidModelException
- Thrown if the properties clause of
given property holder is incomplete.java.util.Set addPropertyAssociations(PropertyHolder ph, PropertyDefinition pn) throws InvalidModelException
ph
- The property holder whose properties attribute is of interestpn
- The property definition
InvalidModelException
- Thrown if the properties clause of
given property holder is incomplete.java.util.Set addLocalContainedPropertyAssociations(PropertyHolder target, PropertyHolder container, PropertyDefinition pn, java.util.List targetInModes, ModeContext modeContext) throws InvalidModelException
target
- The property holder whose property values are being looked upcontainer
- The containing component of target
, whose
contained property associations are of interest.pn
- The property definitiontargetInModes
- The modes in which target
exists. This is a superset of the modes that
the property association might exist for. May be
null
if the properties are not associated with
a sub element of a component implementation.modeContext
- An abstraction of the model element whose modes are the domain for this
assocation.
InvalidModelException
- Thrown if the properties clause of
given property holder is incomplete.java.util.Set addLocalContainedPropertyAssociations(PropertyHolder target, PropertyHolder container, PropertyDefinition pn) throws InvalidModelException
target
- The property holder whose property values are being looked upcontainer
- The containing component of target
, whose
contained property associations are of interest.pn
- The property definition
InvalidModelException
- Thrown if the properties clause of given property holder
is incomplete.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |