|
||||||||||
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.ecore.change.impl.ChangeDescriptionImpl
org.apache.tuscany.sdo.impl.ChangeSummaryImpl
public class ChangeSummaryImpl
An implementation of the model object 'EChange Summary'.
The following features are implemented:
Nested Class Summary | |
---|---|
protected class |
ChangeSummaryImpl.SDOChangeRecorder
|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.change.impl.ChangeDescriptionImpl |
---|
org.eclipse.emf.ecore.change.impl.ChangeDescriptionImpl.OldContainmentInformation |
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList |
Nested classes/interfaces inherited from interface commonj.sdo.ChangeSummary |
---|
commonj.sdo.ChangeSummary.Setting |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary | |
---|---|
protected java.util.List |
cachedCreatedObjects
|
protected java.util.Set |
cachedDeletedObjects
|
protected java.util.HashMap |
cachedSDOObjectChanges
|
protected ChangeSummaryImpl.SDOChangeRecorder |
changeRecorder
|
protected commonj.sdo.DataObject |
dataObject
|
protected commonj.sdo.DataGraph |
eDataGraph
The cached value of the ' EData Graph ' reference. |
protected boolean |
isStale
|
Fields inherited from class org.eclipse.emf.ecore.change.impl.ChangeDescriptionImpl |
---|
objectChanges, objectsToAttach, objectsToDetach, oldContainmentInformation, resourceChanges |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
protected |
ChangeSummaryImpl()
|
Method Summary | |
---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetEDataGraph(commonj.sdo.DataGraph newEDataGraph,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
void |
beginLogging()
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
endLogging()
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
protected java.util.List |
getCachedCreatedObjects()
|
protected java.util.Set |
getCachedDeletedObjects()
|
java.util.List |
getChangedDataObjects()
|
commonj.sdo.DataGraph |
getDataGraph()
|
commonj.sdo.DataObject |
getDataObject()
|
commonj.sdo.DataGraph |
getEDataGraph()
|
commonj.sdo.DataObject |
getOldContainer(commonj.sdo.DataObject dataObject)
|
protected java.util.Map |
getOldContainmentInformation()
|
commonj.sdo.Property |
getOldContainmentProperty(commonj.sdo.DataObject dataObject)
|
commonj.sdo.DataObject |
getOldDataObject(commonj.sdo.DataObject dataObject)
|
commonj.sdo.Sequence |
getOldSequence(commonj.sdo.DataObject dataObject)
|
commonj.sdo.ChangeSummary.Setting |
getOldValue(commonj.sdo.DataObject dataObject,
commonj.sdo.Property property)
|
java.util.List |
getOldValues(commonj.sdo.DataObject dataObject)
|
commonj.sdo.DataObject |
getRootObject()
|
protected static boolean |
isContainmentReference(java.lang.Object feature)
|
boolean |
isCreated(commonj.sdo.DataObject dataObject)
|
boolean |
isDeleted(commonj.sdo.DataObject dataObject)
|
boolean |
isLogging()
|
boolean |
isModified(commonj.sdo.DataObject dataObject)
|
protected boolean |
isStale()
|
void |
resumeLogging()
|
void |
setDataObject(commonj.sdo.DataObject newDataObject)
|
void |
setEDataGraph(commonj.sdo.DataGraph newEDataGraph)
|
void |
summarize()
|
protected void |
uncache()
|
void |
undoChanges()
|
Methods inherited from class org.eclipse.emf.ecore.change.impl.ChangeDescriptionImpl |
---|
apply, applyAndReverse, eInverseRemove, getContainedEObjects, getObjectChanges, getObjectsToAttach, getObjectsToDetach, getObjectsToDetachGen, getOldContainer, getOldContainmentFeature, getResourceChanges, preApply |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, 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, 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 |
Field Detail |
---|
protected commonj.sdo.DataGraph eDataGraph
EData Graph
' reference.
getEDataGraph()
protected commonj.sdo.DataObject dataObject
protected ChangeSummaryImpl.SDOChangeRecorder changeRecorder
protected java.util.Set cachedDeletedObjects
protected java.util.List cachedCreatedObjects
protected java.util.HashMap cachedSDOObjectChanges
protected boolean isStale
Constructor Detail |
---|
protected ChangeSummaryImpl()
Method Detail |
---|
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class org.eclipse.emf.ecore.change.impl.ChangeDescriptionImpl
public boolean isLogging()
isLogging
in interface commonj.sdo.ChangeSummary
public commonj.sdo.DataGraph getEDataGraph()
public org.eclipse.emf.common.notify.NotificationChain basicSetEDataGraph(commonj.sdo.DataGraph newEDataGraph, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setEDataGraph(commonj.sdo.DataGraph newEDataGraph)
public commonj.sdo.DataObject getDataObject()
public void setDataObject(commonj.sdo.DataObject newDataObject)
public void beginLogging()
beginLogging
in interface commonj.sdo.ChangeSummary
public void resumeLogging()
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd
in interface org.eclipse.emf.ecore.InternalEObject
eInverseAdd
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in interface org.eclipse.emf.ecore.InternalEObject
eInverseRemove
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class org.eclipse.emf.ecore.change.impl.ChangeDescriptionImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.change.impl.ChangeDescriptionImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.change.impl.ChangeDescriptionImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.change.impl.ChangeDescriptionImpl
protected void uncache()
public void endLogging()
endLogging
in interface commonj.sdo.ChangeSummary
public boolean isCreated(commonj.sdo.DataObject dataObject)
isCreated
in interface commonj.sdo.ChangeSummary
public boolean isDeleted(commonj.sdo.DataObject dataObject)
isDeleted
in interface commonj.sdo.ChangeSummary
protected java.util.Set getCachedDeletedObjects()
protected java.util.List getCachedCreatedObjects()
public java.util.List getChangedDataObjects()
getChangedDataObjects
in interface commonj.sdo.ChangeSummary
public java.util.List getOldValues(commonj.sdo.DataObject dataObject)
getOldValues
in interface commonj.sdo.ChangeSummary
public boolean isModified(commonj.sdo.DataObject dataObject)
isModified
in interface commonj.sdo.ChangeSummary
public void summarize()
public commonj.sdo.ChangeSummary.Setting getOldValue(commonj.sdo.DataObject dataObject, commonj.sdo.Property property)
getOldValue
in interface commonj.sdo.ChangeSummary
public commonj.sdo.DataObject getOldContainer(commonj.sdo.DataObject dataObject)
getOldContainer
in interface commonj.sdo.ChangeSummary
public commonj.sdo.Property getOldContainmentProperty(commonj.sdo.DataObject dataObject)
getOldContainmentProperty
in interface commonj.sdo.ChangeSummary
public commonj.sdo.Sequence getOldSequence(commonj.sdo.DataObject dataObject)
getOldSequence
in interface commonj.sdo.ChangeSummary
public void undoChanges()
undoChanges
in interface commonj.sdo.ChangeSummary
public commonj.sdo.DataGraph getDataGraph()
getDataGraph
in interface commonj.sdo.ChangeSummary
protected java.util.Map getOldContainmentInformation()
getOldContainmentInformation
in class org.eclipse.emf.ecore.change.impl.ChangeDescriptionImpl
protected boolean isStale()
public commonj.sdo.DataObject getRootObject()
getRootObject
in interface commonj.sdo.ChangeSummary
protected static boolean isContainmentReference(java.lang.Object feature)
public commonj.sdo.DataObject getOldDataObject(commonj.sdo.DataObject dataObject)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |