|
|||||||||
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.CompositeOperationImpl
public class CompositeOperationImpl
An implementation of the model object ' Composite 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. |
AbstractOperation |
basicGetMainOperation()
|
void |
cannonize()
Remove all operations from the composite that are masked by later operations in the same composite. |
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)
|
String |
getCompositeDescription()
|
String |
getCompositeName()
|
List<AbstractOperation> |
getLeafOperations()
Get all operations that are a leaf operation. |
AbstractOperation |
getMainOperation()
|
Set<ModelElementId> |
getOtherInvolvedModelElements()
Get all model elements that are involved in the operation other than the element the operation is directly operating on. |
org.eclipse.emf.common.util.EList<AbstractOperation> |
getSubOperations()
Returns all sub operations. |
boolean |
isReversed()
|
AbstractOperation |
reverse()
Reverse the operation. |
void |
setCompositeDescription(String newCompositeDescription)
|
void |
setCompositeName(String newCompositeName)
|
void |
setMainOperation(AbstractOperation newMainOperation)
|
void |
setReversed(boolean newReversed)
|
String |
toString()
|
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.AbstractOperation |
---|
getAllInvolvedModelElements, getClientDate, 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 Set<ModelElementId> getOtherInvolvedModelElements()
getOtherInvolvedModelElements
in interface AbstractOperation
getOtherInvolvedModelElements
in class AbstractOperationImpl
AbstractOperationImpl.getOtherInvolvedModelElements()
public org.eclipse.emf.common.util.EList<AbstractOperation> getSubOperations()
getSubOperations
in interface CompositeOperation
OperationsPackage.getCompositeOperation_SubOperations()
public AbstractOperation getMainOperation()
getMainOperation
in interface CompositeOperation
CompositeOperation.setMainOperation(AbstractOperation)
,
OperationsPackage.getCompositeOperation_MainOperation()
public AbstractOperation basicGetMainOperation()
public void setMainOperation(AbstractOperation newMainOperation)
setMainOperation
in interface CompositeOperation
newMainOperation
- the new value of the 'Main Operation' reference.CompositeOperation.getMainOperation()
public String getCompositeName()
getCompositeName
in interface CompositeOperation
CompositeOperation.setCompositeName(String)
,
OperationsPackage.getCompositeOperation_CompositeName()
public void setCompositeName(String newCompositeName)
setCompositeName
in interface CompositeOperation
newCompositeName
- the new value of the 'Composite Name' attribute.CompositeOperation.getCompositeName()
public String getCompositeDescription()
getCompositeDescription
in interface CompositeOperation
CompositeOperation.setCompositeDescription(String)
,
OperationsPackage.getCompositeOperation_CompositeDescription()
public void setCompositeDescription(String newCompositeDescription)
setCompositeDescription
in interface CompositeOperation
newCompositeDescription
- the new value of the 'Composite Description' attribute.CompositeOperation.getCompositeDescription()
public boolean isReversed()
isReversed
in interface CompositeOperation
CompositeOperation.setReversed(boolean)
,
OperationsPackage.getCompositeOperation_Reversed()
public void setReversed(boolean newReversed)
setReversed
in interface CompositeOperation
newReversed
- the new value of the 'Reversed' attribute.CompositeOperation.isReversed()
public void cannonize()
cannonize
in interface CompositeOperation
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 AbstractOperationImpl
public void eSet(int featureID, Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class AbstractOperationImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class AbstractOperationImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class AbstractOperationImpl
public String toString()
toString
in class AbstractOperationImpl
public void apply(IdEObjectCollection project)
AbstractOperation
apply
in interface AbstractOperation
project
- the projectpublic AbstractOperation reverse()
AbstractOperationImpl
reverse
in interface AbstractOperation
reverse
in class AbstractOperationImpl
public List<AbstractOperation> getLeafOperations()
getLeafOperations
in interface AbstractOperation
AbstractOperation.getLeafOperations()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |