public class MorphDeltaImpl extends DeltaImpl implements MorphDelta
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplorg.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.EObservableAdapterListappliedResolution, base, composites, conflicts, contributor, customProperties, dependents, prerequisites, propertyChangeSupport, systemDelta, typeeAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXYEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETRESOLUTION_PROPERTY| Modifier | Constructor and Description |
|---|---|
protected |
MorphDeltaImpl() |
|
MorphDeltaImpl(org.eclipse.emf.ecore.resource.Resource base,
org.eclipse.emf.ecore.resource.Resource contributor,
Location base_location,
java.lang.String matchingId,
org.eclipse.emf.ecore.EClass originalMetaclass,
org.eclipse.emf.ecore.EClass morphedMetclass,
java.util.List preconditionFeatureDeltas,
java.util.List postconditionFeatureDeltas) |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
java.lang.Object |
getAffectedObject()
Returns the object that has been affected.
|
java.lang.String |
getAffectedObjectMatchingId()
Returns the matching ID of the object that has been affected if the
feature of the location is a containment reference, otherwise null.
|
Location |
getDestinationLocation()
Returns the destination location of the delta.
|
boolean |
getDestinationNewSetState()
Returns the new destination set state.
|
boolean |
getDestinationOldSetState()
Returns the old destination set state.
|
java.lang.String |
getId()
Returns a unique ID for this delta.
|
org.eclipse.emf.ecore.EClass |
getMorphMetaclass()
Returns the eClass to morph into
|
org.eclipse.emf.ecore.EClass |
getOriginalMetaclass()
Returns the original eClass
|
java.util.List |
getPostMorphFeatureDeltas()
post-condition deltas will be used to place gained feature values into the morphed object, and remember their values on unapply/undo on un-morph
|
java.util.List |
getPreMorphFeatureDeltas()
pre-condition deltas will be used to remember the state of the object before morph, they will be executed on unapply/undo on un-morph
|
Location |
getSourceLocation()
Returns the source location of the delta.
|
boolean |
getSourceNewSetState()
Returns the new source set state.
|
boolean |
getSourceOldSetState()
Returns the old source set state.
|
boolean |
isDestinationSetStateChanged()
Returns whether or not the destination feature changed set state.
|
boolean |
isSameDelta(Delta thatDelta)
Returns whether or not resolving this delta has the same effect as
resolving the given delta.
|
boolean |
isSourceSetStateChanged()
Returns whether or not the source feature changed set state.
|
void |
print(java.io.PrintStream out)
Prints a text representation to a stream.
|
void |
toStringImpl(java.lang.StringBuilder sb)
Appends an String representation to the string buffer.
|
addComposite, addConflict, addDependent, addPrerequisite, addPropertyChangeListener, canAutoResolve, canResolve, canUnresolve, collectAtomicDeltaSet, collectResolutionSet, deleteConflict, deleteDependent, deletePrerequisite, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eUnset, getAdapter, getAppliedResolution, getAtomicComposites, getAtomicDeltaSet, getAtomicDeltaSet, getBase, getComposites, getConflicts, getContributor, getCustomProperty, getDependents, getDependentsRecursively, getEquivalentDelta, getPrerequisites, getPrerequisitesRecursively, getRequiredDeltasRecursively, getResolution, getResolutionSet, getType, hasUnresolvedConflicts, isAccepted, isConflicting, isInComposite, isInConflictedAtomicContainer, isRejected, isResolved, isSystemDelta, removePropertyChangeListener, resolve, setAppliedResolution, setCustomProperty, setEquivalentDelta, setSystemDelta, toString, unresolveeAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValueseBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddComposite, addConflict, addDependent, addPrerequisite, addPropertyChangeListener, canAutoResolve, canResolve, canUnresolve, collectAtomicDeltaSet, collectResolutionSet, deleteConflict, deleteDependent, deletePrerequisite, getAppliedResolution, getAtomicComposites, getAtomicDeltaSet, getBase, getComposites, getConflicts, getContributor, getCustomProperty, getDependents, getDependentsRecursively, getEquivalentDelta, getPrerequisites, getPrerequisitesRecursively, getResolution, getResolutionSet, getType, hasUnresolvedConflicts, isAccepted, isConflicting, isInConflictedAtomicContainer, isRejected, isResolved, isSystemDelta, removePropertyChangeListener, resolve, setAppliedResolution, setCustomProperty, setEquivalentDelta, setSystemDelta, unresolveeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected MorphDeltaImpl()
public MorphDeltaImpl(org.eclipse.emf.ecore.resource.Resource base,
org.eclipse.emf.ecore.resource.Resource contributor,
Location base_location,
java.lang.String matchingId,
org.eclipse.emf.ecore.EClass originalMetaclass,
org.eclipse.emf.ecore.EClass morphedMetclass,
java.util.List preconditionFeatureDeltas,
java.util.List postconditionFeatureDeltas)
base - contributor - base_location - matchingId - originalMetaclass - morphedMetclass - protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class DeltaImplpublic Location getSourceLocation()
DeltagetSourceLocation in interface DeltagetSourceLocation in class DeltaImplpublic java.lang.Object getAffectedObject()
DeltagetAffectedObject in interface DeltagetAffectedObject in class DeltaImplpublic java.lang.String getId()
Deltapublic boolean isSameDelta(Delta thatDelta)
DeltaisSameDelta in interface Deltapublic void toStringImpl(java.lang.StringBuilder sb)
DeltatoStringImpl in interface DeltatoStringImpl in class DeltaImplsb - the string buffer to append topublic void print(java.io.PrintStream out)
Printablepublic boolean getDestinationNewSetState()
DeltagetDestinationNewSetState in interface DeltagetDestinationNewSetState in class DeltaImplpublic boolean getDestinationOldSetState()
DeltagetDestinationOldSetState in interface DeltagetDestinationOldSetState in class DeltaImplpublic boolean isDestinationSetStateChanged()
DeltaisDestinationSetStateChanged in interface DeltaisDestinationSetStateChanged in class DeltaImplpublic boolean getSourceNewSetState()
DeltagetSourceNewSetState in interface DeltagetSourceNewSetState in class DeltaImplpublic boolean getSourceOldSetState()
DeltagetSourceOldSetState in interface DeltagetSourceOldSetState in class DeltaImplpublic boolean isSourceSetStateChanged()
DeltaisSourceSetStateChanged in interface DeltaisSourceSetStateChanged in class DeltaImplpublic org.eclipse.emf.ecore.EClass getMorphMetaclass()
MorphDeltagetMorphMetaclass in interface MorphDeltapublic org.eclipse.emf.ecore.EClass getOriginalMetaclass()
MorphDeltagetOriginalMetaclass in interface MorphDeltapublic java.lang.String getAffectedObjectMatchingId()
DeltagetAffectedObjectMatchingId in interface DeltagetAffectedObjectMatchingId in class DeltaImplpublic Location getDestinationLocation()
DeltagetDestinationLocation in interface DeltagetDestinationLocation in class DeltaImplpublic java.util.List getPreMorphFeatureDeltas()
public java.util.List getPostMorphFeatureDeltas()