public class PropertyAssociationImpl extends ElementImpl implements PropertyAssociation
The following features are implemented:
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
copyright
Modifier and Type | Method and Description |
---|---|
Property |
basicGetProperty() |
ContainedNamedElement |
createAppliesTo() |
ContainedNamedElement |
createAppliesTo(org.eclipse.emf.ecore.EClass eClass) |
ModalPropertyValue |
createOwnedValue() |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
void |
eUnset(int featureID) |
EvaluatedProperty |
evaluate(EvaluationContext ctx)
Evaluate all property expressions in this property association.
|
org.eclipse.emf.common.util.EList<ContainedNamedElement> |
getAppliesTos() |
org.eclipse.emf.common.util.EList<Classifier> |
getInBindings() |
org.eclipse.emf.common.util.EList<ModalPropertyValue> |
getOwnedValues() |
Property |
getProperty() |
boolean |
isAppend() |
boolean |
isConstant() |
boolean |
isModal()
Determine if the property value depends on mode.
|
void |
setAppend(boolean newAppend) |
void |
setConstant(boolean newConstant) |
void |
setProperty(Property newProperty) |
java.lang.String |
toString() |
PropertyExpression |
valueInMode(Mode mode) |
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, isSetOwnedElements, mustBeOwned, not_own_self
getAdapter, getLocationReference, setLocationReference, setLocationReference
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
eNotificationRequired, eNotify
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
public org.eclipse.emf.common.util.EList<ContainedNamedElement> getAppliesTos()
getAppliesTos
in interface PropertyAssociation
Aadl2Package.getPropertyAssociation_AppliesTo()
public ContainedNamedElement createAppliesTo(org.eclipse.emf.ecore.EClass eClass)
createAppliesTo
in interface PropertyAssociation
eClass
- The Ecore class of the ContainedNamedElement
to create.ContainedNamedElement
.PropertyAssociation.getAppliesTos()
public ContainedNamedElement createAppliesTo()
createAppliesTo
in interface PropertyAssociation
ContainedNamedElement
.PropertyAssociation.getAppliesTos()
public org.eclipse.emf.common.util.EList<Classifier> getInBindings()
getInBindings
in interface PropertyAssociation
Aadl2Package.getPropertyAssociation_InBinding()
public boolean isAppend()
isAppend
in interface PropertyAssociation
PropertyAssociation.setAppend(boolean)
,
Aadl2Package.getPropertyAssociation_Append()
public void setAppend(boolean newAppend)
setAppend
in interface PropertyAssociation
newAppend
- the new value of the 'Append' attribute.PropertyAssociation.isAppend()
public boolean isConstant()
isConstant
in interface PropertyAssociation
PropertyAssociation.setConstant(boolean)
,
Aadl2Package.getPropertyAssociation_Constant()
public void setConstant(boolean newConstant)
setConstant
in interface PropertyAssociation
newConstant
- the new value of the 'Constant' attribute.PropertyAssociation.isConstant()
public org.eclipse.emf.common.util.EList<ModalPropertyValue> getOwnedValues()
getOwnedValues
in interface PropertyAssociation
Aadl2Package.getPropertyAssociation_OwnedValue()
public ModalPropertyValue createOwnedValue()
createOwnedValue
in interface PropertyAssociation
ModalPropertyValue
.PropertyAssociation.getOwnedValues()
public Property getProperty()
getProperty
in interface PropertyAssociation
PropertyAssociation.setProperty(Property)
,
Aadl2Package.getPropertyAssociation_Property()
public Property basicGetProperty()
public void setProperty(Property newProperty)
setProperty
in interface PropertyAssociation
newProperty
- the new value of the 'Property' reference.PropertyAssociation.getProperty()
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class ElementImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class ElementImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class ElementImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class ElementImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class ElementImpl
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean isModal()
PropertyAssociation
isModal
in interface PropertyAssociation
public EvaluatedProperty evaluate(EvaluationContext ctx) throws InvalidModelException
PropertyAssociation
evaluate
in interface PropertyAssociation
InvalidModelException
public PropertyExpression valueInMode(Mode mode)
valueInMode
in interface PropertyAssociation