public interface PropertyAssociation extends Element
The following features are supported:
Modifier and Type | Method and Description |
---|---|
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. |
PropertyExpression |
valueInMode(Mode mode) |
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, mustBeOwned, not_own_self
getLocationReference, setLocationReference, setLocationReference
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Property getProperty()
If the meaning of the 'Property' reference isn't clear, there really should be more of a description here...
setProperty(Property)
,
Aadl2Package.getPropertyAssociation_Property()
void setProperty(Property value)
Property
' reference.
value
- the new value of the 'Property' reference.getProperty()
org.eclipse.emf.common.util.EList<ContainedNamedElement> getAppliesTos()
ContainedNamedElement
.
If the meaning of the 'Applies To' reference list isn't clear, there really should be more of a description here...
Aadl2Package.getPropertyAssociation_AppliesTo()
ContainedNamedElement createAppliesTo(org.eclipse.emf.ecore.EClass eClass)
ContainedNamedElement
and appends it to the 'Applies To' containment reference list.
eClass
- The Ecore class of the ContainedNamedElement
to create.ContainedNamedElement
.getAppliesTos()
ContainedNamedElement createAppliesTo()
ContainedNamedElement
and appends it to the 'Applies To' containment reference list.
ContainedNamedElement
.getAppliesTos()
org.eclipse.emf.common.util.EList<Classifier> getInBindings()
Classifier
.
If the meaning of the 'In Binding' reference list isn't clear, there really should be more of a description here...
Aadl2Package.getPropertyAssociation_InBinding()
boolean isAppend()
If the meaning of the 'Append' attribute isn't clear, there really should be more of a description here...
setAppend(boolean)
,
Aadl2Package.getPropertyAssociation_Append()
void setAppend(boolean value)
Append
' attribute.
value
- the new value of the 'Append' attribute.isAppend()
boolean isConstant()
If the meaning of the 'Constant' attribute isn't clear, there really should be more of a description here...
setConstant(boolean)
,
Aadl2Package.getPropertyAssociation_Constant()
void setConstant(boolean value)
Constant
' attribute.
value
- the new value of the 'Constant' attribute.isConstant()
org.eclipse.emf.common.util.EList<ModalPropertyValue> getOwnedValues()
ModalPropertyValue
.
If the meaning of the 'Owned Value' containment reference list isn't clear, there really should be more of a description here...
Aadl2Package.getPropertyAssociation_OwnedValue()
ModalPropertyValue createOwnedValue()
ModalPropertyValue
and appends it to the 'Owned Value' containment reference list.
ModalPropertyValue
.getOwnedValues()
boolean isModal()
EvaluatedProperty evaluate(EvaluationContext ctx) throws InvalidModelException
InvalidModelException
PropertyExpression valueInMode(Mode mode)