edu.cmu.sei.aadl.aadl2
Interface PropertyAssociation

All Superinterfaces:
AObject, Element, org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.IAdaptable, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
PropertyAssociationImpl

public interface PropertyAssociation
extends Element

A representation of the model object 'Property Association'.

The following features are supported:

See Also:
Aadl2Package.getPropertyAssociation()

Field Summary
 
Fields inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject
copyright
 
Method Summary
 ContainedNamedElement createAppliesTo()
          Creates a new ContainedNamedElement and appends it to the 'Applies To' containment reference list
 ContainedNamedElement createAppliesTo(org.eclipse.emf.ecore.EClass eClass)
          Creates a new ContainedNamedElement and appends it to the 'Applies To' containment reference list
 ModalPropertyValue createOwnedValue()
          Creates a new ModalPropertyValue and appends it to the 'Owned Value' containment reference list
 EvaluatedProperty evaluate(EvaluationContext ctx)
          Evaluate all property expressions in this property association.
 org.eclipse.emf.common.util.EList<ContainedNamedElement> getAppliesTos()
          Returns the value of the 'Applies To' containment reference list.
 org.eclipse.emf.common.util.EList<Classifier> getInBindings()
          Returns the value of the 'In Binding' reference list.
 org.eclipse.emf.common.util.EList<ModalPropertyValue> getOwnedValues()
          Returns the value of the 'Owned Value' containment reference list.
 Property getProperty()
          Returns the value of the 'Property' reference
 boolean isAppend()
          Returns the value of the 'Append' attribute
 boolean isConstant()
          Returns the value of the 'Constant' attribute
 boolean isModal()
          Determine if the property value depends on mode.
 void setAppend(boolean value)
          Sets the value of the 'Append' attribute
 void setConstant(boolean value)
          Sets the value of the 'Constant' attribute
 void setProperty(Property value)
          Sets the value of the 'Property' reference
 
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

getProperty

Property getProperty()
Returns the value of the 'Property' reference.

If the meaning of the 'Property' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Property' reference.
See Also:
setProperty(Property), Aadl2Package.getPropertyAssociation_Property()

setProperty

void setProperty(Property value)
Sets the value of the 'Property' reference.

Parameters:
value - the new value of the 'Property' reference.
See Also:
getProperty()

getAppliesTos

org.eclipse.emf.common.util.EList<ContainedNamedElement> getAppliesTos()
Returns the value of the 'Applies To' containment reference list. The list contents are of type ContainedNamedElement.

If the meaning of the 'Applies To' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Applies To' containment reference list.
See Also:
Aadl2Package.getPropertyAssociation_AppliesTo()

createAppliesTo

ContainedNamedElement createAppliesTo(org.eclipse.emf.ecore.EClass eClass)
Creates a new ContainedNamedElement and appends it to the 'Applies To' containment reference list.

Parameters:
eClass - The Ecore class of the ContainedNamedElement to create.
Returns:
The new ContainedNamedElement.
See Also:
getAppliesTos()

createAppliesTo

ContainedNamedElement createAppliesTo()
Creates a new ContainedNamedElement and appends it to the 'Applies To' containment reference list.

Returns:
The new ContainedNamedElement.
See Also:
getAppliesTos()

getInBindings

org.eclipse.emf.common.util.EList<Classifier> getInBindings()
Returns the value of the 'In Binding' reference list. The list contents are of type Classifier.

If the meaning of the 'In Binding' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'In Binding' reference list.
See Also:
Aadl2Package.getPropertyAssociation_InBinding()

isAppend

boolean isAppend()
Returns the value of the 'Append' attribute.

If the meaning of the 'Append' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Append' attribute.
See Also:
setAppend(boolean), Aadl2Package.getPropertyAssociation_Append()

setAppend

void setAppend(boolean value)
Sets the value of the 'Append' attribute.

Parameters:
value - the new value of the 'Append' attribute.
See Also:
isAppend()

isConstant

boolean isConstant()
Returns the value of the 'Constant' attribute.

If the meaning of the 'Constant' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Constant' attribute.
See Also:
setConstant(boolean), Aadl2Package.getPropertyAssociation_Constant()

setConstant

void setConstant(boolean value)
Sets the value of the 'Constant' attribute.

Parameters:
value - the new value of the 'Constant' attribute.
See Also:
isConstant()

getOwnedValues

org.eclipse.emf.common.util.EList<ModalPropertyValue> getOwnedValues()
Returns the value of the 'Owned Value' containment reference list. The list contents are of type ModalPropertyValue.

If the meaning of the 'Owned Value' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Owned Value' containment reference list.
See Also:
Aadl2Package.getPropertyAssociation_OwnedValue()

createOwnedValue

ModalPropertyValue createOwnedValue()
Creates a new ModalPropertyValue and appends it to the 'Owned Value' containment reference list.

Returns:
The new ModalPropertyValue.
See Also:
getOwnedValues()

isModal

boolean isModal()
Determine if the property value depends on mode.

Returns:
True, iff there are multiple modal property values, or the single value has a non-empty inModes.

evaluate

EvaluatedProperty evaluate(EvaluationContext ctx)
                           throws InvalidModelException
Evaluate all property expressions in this property association.

Returns:
copies of the owned modal property values.
Throws:
InvalidModelException