edu.cmu.sei.aadl.aadl2.properties
Class PropertyAcc

java.lang.Object
  extended by edu.cmu.sei.aadl.aadl2.properties.PropertyAcc

public class PropertyAcc
extends java.lang.Object

Fill this in

Author:
lwrage

Constructor Summary
PropertyAcc(Property property)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyAcc

public PropertyAcc(Property property)
Method Detail

addLocal

public boolean addLocal(NamedElement target)
Accumulate the associations for the given property as found in the immediate properties attribute of the given property holder.

Parameters:
ph - The property holder whose properties attribute is of interest
Returns:
If we're done.

addLocalContained

public 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. Considers the contained property associations whose applies to list is of length 1, and that element is the target property holder.

Parameters:
target - The named element whose property values are being looked up
container - The containing classifier of target, whose contained property associations are of interest.
Returns:
If we're done

getAssociations

public java.util.List<PropertyAssociation> getAssociations()

first

public PropertyAssociation first()