public class PropertyAcc
extends java.lang.Object
Constructor and Description |
---|
PropertyAcc(Property property) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(PropertyAssociation pa) |
boolean |
addLocal(NamedElement target)
Accumulate the associations for the given property as found
in the immediate properties attribute of the given property holder.
|
boolean |
addLocalContained(NamedElement target,
NamedElement container)
Accumulate the associations for the given property as found in the
contained property associations of the target's containing component.
|
PropertyAssociation |
first() |
java.util.List<PropertyAssociation> |
getAssociations() |
public PropertyAcc(Property property)
public boolean add(PropertyAssociation pa)
public boolean addLocal(NamedElement target)
ph
- The property holder whose properties attribute is of interestpublic boolean addLocalContained(NamedElement target, NamedElement container)
target
- The named element whose property values are being looked upcontainer
- The containing classifier of target
, whose
contained property associations are of interest.public java.util.List<PropertyAssociation> getAssociations()
public PropertyAssociation first()