|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.impl.BasicNotifierImpl org.eclipse.emf.ecore.impl.BasicEObjectImpl org.eclipse.emf.ecore.impl.EObjectImpl org.eclipse.emf.emfstore.internal.common.model.impl.IdentifiableElementImpl org.eclipse.emf.emfstore.internal.server.model.versioning.operations.impl.AbstractOperationImpl org.eclipse.emf.emfstore.internal.server.model.versioning.operations.impl.FeatureOperationImpl org.eclipse.emf.emfstore.internal.server.model.versioning.operations.impl.ReferenceOperationImpl org.eclipse.emf.emfstore.internal.server.model.versioning.operations.impl.SingleReferenceOperationImpl
public class SingleReferenceOperationImpl
An implementation of the model object ' Single Reference Operation'.
The following features are implemented:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
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 |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary |
---|
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
ELAST_EOBJECT_FLAG |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Method Summary | |
---|---|
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)
|
Methods inherited from class org.eclipse.emf.emfstore.internal.server.model.versioning.operations.impl.ReferenceOperationImpl |
---|
getContainmentType, getOppositeFeatureName, isBidirectional, setBidirectional, setContainmentType, setOppositeFeatureName, toString |
Methods inherited from class org.eclipse.emf.emfstore.internal.server.model.versioning.operations.impl.FeatureOperationImpl |
---|
getFeature, getFeature, getFeatureName, getLeafOperations, getUnset, setFeatureName, setUnset |
Methods inherited from class org.eclipse.emf.emfstore.internal.server.model.versioning.operations.impl.AbstractOperationImpl |
---|
basicGetModelElementId, basicSetModelElementId, createAPI, getAllInvolvedModelElements, getClientDate, getModelElementId, getOperationId, isAccepted, setAccepted, setClientDate, setModelElementId, toAPI |
Methods inherited from class org.eclipse.emf.emfstore.internal.common.model.impl.IdentifiableElementImpl |
---|
getIdentifier, setIdentifier |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
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 |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.emfstore.internal.server.model.versioning.operations.ReferenceOperation |
---|
getContainmentType, getOppositeFeatureName, isBidirectional, setBidirectional, setContainmentType, setOppositeFeatureName |
Methods inherited from interface org.eclipse.emf.emfstore.internal.server.model.versioning.operations.FeatureOperation |
---|
getFeature, getFeature, getFeatureName, getUnset, setFeatureName, setUnset |
Methods inherited from interface org.eclipse.emf.emfstore.internal.server.model.versioning.operations.AbstractOperation |
---|
getAllInvolvedModelElements, getClientDate, getLeafOperations, getModelElementId, getOperationId, isAccepted, setAccepted, setClientDate, setModelElementId |
Methods inherited from interface org.eclipse.emf.emfstore.internal.common.model.IdentifiableElement |
---|
getIdentifier, setIdentifier |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, 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.emf.emfstore.internal.common.api.APIDelegate |
---|
createAPI, toAPI |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Method Detail |
---|
public ModelElementId getOldValue()
getOldValue
in interface SingleReferenceOperation
SingleReferenceOperation.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 SingleReferenceOperation
newOldValue
- the new value of the 'Old Value' containment reference.SingleReferenceOperation.getOldValue()
public ModelElementId getNewValue()
getNewValue
in interface SingleReferenceOperation
SingleReferenceOperation.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 SingleReferenceOperation
newNewValue
- 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 AbstractOperationImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class ReferenceOperationImpl
public void eSet(int featureID, Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class ReferenceOperationImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class ReferenceOperationImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class ReferenceOperationImpl
public void apply(IdEObjectCollection project)
AbstractOperation
apply
in interface AbstractOperation
project
- the projectpublic AbstractOperation reverse()
FeatureOperationImpl
reverse
in interface AbstractOperation
reverse
in class FeatureOperationImpl
AbstractOperationImpl.reverse()
public Set<ModelElementId> getOtherInvolvedModelElements()
getOtherInvolvedModelElements
in interface AbstractOperation
getOtherInvolvedModelElements
in class AbstractOperationImpl
AbstractOperation.getOtherInvolvedModelElements()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |