public class SingleReferenceOperationImpl extends ReferenceOperationImpl implements SingleReferenceOperation
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList| Modifier and Type | Method and Description |
|---|---|
void |
apply(IdEObjectCollection project)
Apply an operation to the given project if it can be applied.
|
ModelElementId |
basicGetNewValue() |
ModelElementId |
basicGetOldValue() |
org.eclipse.emf.common.notify.NotificationChain |
basicSetNewValue(ModelElementId newNewValue,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetOldValue(ModelElementId newOldValue,
org.eclipse.emf.common.notify.NotificationChain msgs) |
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,
Object newValue) |
void |
eUnset(int featureID) |
ModelElementId |
getNewValue() |
ModelElementId |
getOldValue() |
Set<ModelElementId> |
getOtherInvolvedModelElements()
Get all model elements that are involved in the operation other than the
element the operation is directly operating on.
|
AbstractOperation |
reverse()
Reverse the operation.
|
void |
setNewValue(ModelElementId newNewValue) |
void |
setOldValue(ModelElementId newOldValue) |
getContainmentType, getOppositeFeatureName, isBidirectional, setBidirectional, setContainmentType, setOppositeFeatureName, toStringgetFeature, getFeature, getFeatureName, getLeafOperations, getUnset, setFeatureName, setUnsetbasicGetModelElementId, basicSetModelElementId, createAPI, getAllInvolvedModelElements, getClientDate, getModelElementId, getOperationId, isAccepted, setAccepted, setClientDate, setModelElementId, toAPIgetIdentifier, setIdentifiereAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIeAllContents, 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, eVirtualUnseteNotificationRequired, eNotifyequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContainmentType, getOppositeFeatureName, isBidirectional, setBidirectional, setContainmentType, setOppositeFeatureNamegetFeature, getFeature, getFeatureName, getUnset, setFeatureName, setUnsetgetAllInvolvedModelElements, getClientDate, getLeafOperations, getModelElementId, getOperationId, isAccepted, setAccepted, setClientDate, setModelElementIdgetIdentifier, setIdentifiereAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivercreateAPI, toAPIpublic ModelElementId getOldValue()
getOldValue in interface SingleReferenceOperationSingleReferenceOperation.setOldValue(ModelElementId),
OperationsPackage.getSingleReferenceOperation_OldValue()public ModelElementId basicGetOldValue()
public org.eclipse.emf.common.notify.NotificationChain basicSetOldValue(ModelElementId newOldValue, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setOldValue(ModelElementId newOldValue)
setOldValue in interface SingleReferenceOperationnewOldValue - the new value of the 'Old Value' containment reference.SingleReferenceOperation.getOldValue()public ModelElementId getNewValue()
getNewValue in interface SingleReferenceOperationSingleReferenceOperation.setNewValue(ModelElementId),
OperationsPackage.getSingleReferenceOperation_NewValue()public ModelElementId basicGetNewValue()
public org.eclipse.emf.common.notify.NotificationChain basicSetNewValue(ModelElementId newNewValue, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setNewValue(ModelElementId newNewValue)
setNewValue in interface SingleReferenceOperationnewNewValue - the new value of the 'New Value' containment reference.SingleReferenceOperation.getNewValue()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 AbstractOperationImplpublic Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class ReferenceOperationImplpublic void eSet(int featureID,
Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class ReferenceOperationImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class ReferenceOperationImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class ReferenceOperationImplpublic void apply(IdEObjectCollection project)
AbstractOperationapply in interface AbstractOperationproject - the projectpublic AbstractOperation reverse()
FeatureOperationImplreverse in interface AbstractOperationreverse in class FeatureOperationImplAbstractOperationImpl.reverse()public Set<ModelElementId> getOtherInvolvedModelElements()
getOtherInvolvedModelElements in interface AbstractOperationgetOtherInvolvedModelElements in class AbstractOperationImplAbstractOperation.getOtherInvolvedModelElements()Copyright © 2017. All rights reserved.