|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.emfstore.internal.server.model.versioning.impl.ChangePackageImpl
public class ChangePackageImpl
An implementation of the model object ' Change Package'.
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(Project project)
Apply all operations in the change package to the given project. |
void |
apply(Project project,
boolean force)
Apply all operations in the change package to the given project. |
LogMessage |
basicGetLogMessage()
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetLogMessage(LogMessage newLogMessage,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
void |
cannonize()
Cannonize the change package, that is remove all operations that are masked by later operations. |
static int |
countLeafOperations(Collection<AbstractOperation> operations)
|
static int |
countLeafOperations(List<ChangePackage> changePackages)
|
static int |
countOperations(List<ChangePackage> changePackages)
|
ESChangePackageImpl |
createAPI()
Creates the API interface for this class. |
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)
|
Set<ModelElementId> |
getAllInvolvedModelElements()
Returns all model elements that are involved in this change package. |
List<AbstractOperation> |
getCopyOfOperations()
Retrieve a copy of all operations in the change package. |
org.eclipse.emf.common.util.EList<Event> |
getEvents()
|
List<AbstractOperation> |
getLeafOperations()
Get all leaf operations of a change package, decomposing all composite operations. |
LogMessage |
getLogMessage()
|
org.eclipse.emf.common.util.EList<AbstractOperation> |
getOperations()
Returns the operations of the change package. |
int |
getSize()
Counts the number of Leaf Operations within this change package. |
List<AbstractOperation> |
getTouchingOperations(ModelElementId modelElementId)
Get all operations of a change package, that are touching the given model element id |
org.eclipse.emf.common.util.EList<VersionProperty> |
getVersionProperties()
|
ChangePackage |
reverse()
Reverse the change package. |
void |
setLogMessage(LogMessage newLogMessage)
|
ESChangePackageImpl |
toAPI()
Returns the API interface of this class. |
| 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, toString |
| 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.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.ecore.InternalEObject |
|---|
eNotificationRequired |
| Method Detail |
|---|
public org.eclipse.emf.common.util.EList<AbstractOperation> getOperations()
getOperations in interface ChangePackageVersioningPackage.getChangePackage_Operations()public org.eclipse.emf.common.util.EList<Event> getEvents()
getEvents in interface ChangePackageVersioningPackage.getChangePackage_Events()public LogMessage getLogMessage()
getLogMessage in interface ChangePackageChangePackage.setLogMessage(LogMessage),
VersioningPackage.getChangePackage_LogMessage()public LogMessage basicGetLogMessage()
public org.eclipse.emf.common.notify.NotificationChain basicSetLogMessage(LogMessage newLogMessage,
org.eclipse.emf.common.notify.NotificationChain msgs)
public void setLogMessage(LogMessage newLogMessage)
setLogMessage in interface ChangePackagenewLogMessage - the new value of the 'Log Message' containment reference.ChangePackage.getLogMessage()public org.eclipse.emf.common.util.EList<VersionProperty> getVersionProperties()
getVersionProperties in interface ChangePackageVersioningPackage.getChangePackage_VersionProperties()public ChangePackage reverse()
reverse in interface ChangePackagepublic void apply(Project project)
apply in interface ChangePackageproject - the projectChangePackage.apply(org.eclipse.emf.emfstore.internal.common.model.Project)
public void apply(Project project,
boolean force)
apply in interface ChangePackageproject - the projectforce - if true, illegal Operations won't stop the other to be appliedChangePackage.apply(org.eclipse.emf.emfstore.internal.common.model.Project,
boolean)public void cannonize()
cannonize in interface ChangePackage
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 org.eclipse.emf.ecore.impl.BasicEObjectImpl
public Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID,
Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic List<AbstractOperation> getCopyOfOperations()
getCopyOfOperations in interface ChangePackageChangePackage.getCopyOfOperations()public List<AbstractOperation> getLeafOperations()
getLeafOperations in interface ChangePackagepublic Set<ModelElementId> getAllInvolvedModelElements()
getAllInvolvedModelElements in interface ChangePackageChangePackage.getAllInvolvedModelElements()public List<AbstractOperation> getTouchingOperations(ModelElementId modelElementId)
ChangePackage
getTouchingOperations in interface ChangePackagepublic int getSize()
ChangePackage
getSize in interface ChangePackagepublic static int countLeafOperations(List<ChangePackage> changePackages)
public static int countLeafOperations(Collection<AbstractOperation> operations)
public static int countOperations(List<ChangePackage> changePackages)
public ESChangePackageImpl toAPI()
toAPI in interface APIDelegate<ESChangePackage>APIDelegate.toAPI()public ESChangePackageImpl createAPI()
createAPI in interface APIDelegate<ESChangePackage>APIDelegate.createAPI()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||