org.eclipse.emf.ecore.sdo.impl
Class EChangeSummaryImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.emf.ecore.change.impl.ChangeDescriptionImpl
                  extended by org.eclipse.emf.ecore.sdo.impl.EChangeSummaryImpl
All Implemented Interfaces:
ChangeSummary, DataObject, java.io.Serializable, Notifier, ChangeDescription, EObject, InternalEObject, EChangeSummary, EDataObject, InternalEDataObject

public class EChangeSummaryImpl
extends ChangeDescriptionImpl
implements EChangeSummary, InternalEDataObject

An implementation of the model object 'EChange Summary'.

The following features are implemented:

See Also:
Serialized Form

Nested Class Summary
protected  class EChangeSummaryImpl.SDOChangeRecorder
           
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.change.impl.ChangeDescriptionImpl
ChangeDescriptionImpl.OldContainmentInformation
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>
 
Nested classes/interfaces inherited from interface commonj.sdo.ChangeSummary
ChangeSummary.Setting
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  EList<EObject> cachedObjectsToDetach
           
protected  java.util.HashMap<DataObject,java.util.List<ChangeSummary.Setting>> cachedSDOObjectChanges
           
protected  ChangeRecorder changeRecorder
           
protected  java.util.Set<EObject> deletedObjects
           
protected  EDataGraph eDataGraph
          The cached value of the 'EData Graph' reference
protected static boolean LOGGING_EDEFAULT
          The default value of the 'Logging' attribute
 
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 EChangeSummaryImpl()
           
 
Method Summary
 NotificationChain basicSetEDataGraph(EDataGraph newEDataGraph, NotificationChain msgs)
           
 void beginLogging()
           
 DataObject createDataObject(int propertyIndex)
           
 DataObject createDataObject(int propertyIndex, java.lang.String namespaceURI, java.lang.String typeName)
           
 DataObject createDataObject(Property property)
           
 DataObject createDataObject(Property property, Type type)
           
 DataObject createDataObject(java.lang.String propertyName)
           
 DataObject createDataObject(java.lang.String propertyName, java.lang.String namespaceURI, java.lang.String typeName)
           
 void delete()
           
 int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
           
 int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void endLogging()
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 java.lang.Object get(int propertyIndex)
           
 java.lang.Object get(Property property)
           
 java.lang.Object get(java.lang.String path)
           
 java.math.BigDecimal getBigDecimal(int propertyIndex)
           
 java.math.BigDecimal getBigDecimal(Property property)
           
 java.math.BigDecimal getBigDecimal(java.lang.String path)
           
 java.math.BigInteger getBigInteger(int propertyIndex)
           
 java.math.BigInteger getBigInteger(Property property)
           
 java.math.BigInteger getBigInteger(java.lang.String path)
           
 boolean getBoolean(int propertyIndex)
           
 boolean getBoolean(Property property)
           
 boolean getBoolean(java.lang.String path)
           
 byte getByte(int propertyIndex)
           
 byte getByte(Property property)
           
 byte getByte(java.lang.String path)
           
 byte[] getBytes(int propertyIndex)
           
 byte[] getBytes(Property property)
           
 byte[] getBytes(java.lang.String path)
           
 java.util.List<DataObject> getChangedDataObjects()
          Returns a list consisting of all the data objects that have been changed while logging.
 EList<DataObject> getChangedDataObjectsGen()
           
 char getChar(int propertyIndex)
           
 char getChar(Property property)
           
 char getChar(java.lang.String path)
           
 DataObject getContainer()
           
 Property getContainmentProperty()
           
 DataGraph getDataGraph()
           
 DataObject getDataObject(int propertyIndex)
           
 DataObject getDataObject(Property property)
           
 DataObject getDataObject(java.lang.String path)
           
 java.util.Date getDate(int propertyIndex)
           
 java.util.Date getDate(Property property)
           
 java.util.Date getDate(java.lang.String path)
           
protected  java.util.Set<EObject> getDeletedObjects()
           
 double getDouble(int propertyIndex)
           
 double getDouble(Property property)
           
 double getDouble(java.lang.String path)
           
 EDataGraph getEDataGraph()
           
 float getFloat(int propertyIndex)
           
 float getFloat(Property property)
           
 float getFloat(java.lang.String path)
           
 java.util.List<Property> getInstanceProperties()
           
 int getInt(int propertyIndex)
           
 int getInt(Property property)
           
 int getInt(java.lang.String path)
           
 java.util.List getList(int propertyIndex)
           
 java.util.List getList(Property property)
           
 java.util.List getList(java.lang.String path)
           
 long getLong(int propertyIndex)
           
 long getLong(Property property)
           
 long getLong(java.lang.String path)
           
 EList<EObject> getObjectsToDetach()
           
 DataObject getOldContainer(DataObject dataObject)
          Returns the value of the container data object at the point when logging began.
 Property getOldContainmentProperty(DataObject dataObject)
          Returns the value of the containment property data object property at the point when logging began.
 ChangeSummary.Setting getOldValue(DataObject dataObject, Property property)
          Returns a setting for the specified property representing the property value of the given dataObject at the point when logging began.
 java.util.List<ChangeSummary.Setting> getOldValues(DataObject dataObject)
           
 Sequence getSequence(int propertyIndex)
           
 Sequence getSequence(Property property)
           
 Sequence getSequence(java.lang.String path)
           
 short getShort(int propertyIndex)
           
 short getShort(Property property)
           
 short getShort(java.lang.String path)
           
 java.lang.String getString(int propertyIndex)
           
 java.lang.String getString(Property property)
           
 java.lang.String getString(java.lang.String path)
           
 Type getType()
           
 boolean isChanged(DataObject dataObject)
          Returns whether or not the specified data object was changed while logging.
 boolean isCreated(DataObject dataObject)
           
 boolean isDeleted(DataObject dataObject)
           
 boolean isLogging()
           
 boolean isSet(int propertyIndex)
           
 boolean isSet(Property property)
           
 boolean isSet(java.lang.String path)
           
protected  void preApply(boolean reverse)
           
 void resumeLogging()
           
 void set(int propertyIndex, java.lang.Object value)
           
 void set(Property property, java.lang.Object value)
           
 void set(java.lang.String path, java.lang.Object value)
           
 void setBigDecimal(int propertyIndex, java.math.BigDecimal value)
           
 void setBigDecimal(Property property, java.math.BigDecimal value)
           
 void setBigDecimal(java.lang.String path, java.math.BigDecimal value)
           
 void setBigInteger(int propertyIndex, java.math.BigInteger value)
           
 void setBigInteger(Property property, java.math.BigInteger value)
           
 void setBigInteger(java.lang.String path, java.math.BigInteger value)
           
 void setBoolean(int propertyIndex, boolean value)
           
 void setBoolean(Property property, boolean value)
           
 void setBoolean(java.lang.String path, boolean value)
           
 void setByte(int propertyIndex, byte value)
           
 void setByte(Property property, byte value)
           
 void setByte(java.lang.String path, byte value)
           
 void setBytes(int propertyIndex, byte[] value)
           
 void setBytes(Property property, byte[] value)
           
 void setBytes(java.lang.String path, byte[] value)
           
 void setChar(int propertyIndex, char value)
           
 void setChar(Property property, char value)
           
 void setChar(java.lang.String path, char value)
           
 void setDataObject(int propertyIndex, DataObject value)
           
 void setDataObject(Property property, DataObject value)
           
 void setDataObject(java.lang.String path, DataObject value)
           
 void setDate(int propertyIndex, java.util.Date value)
           
 void setDate(Property property, java.util.Date value)
           
 void setDate(java.lang.String path, java.util.Date value)
           
 void setDouble(int propertyIndex, double value)
           
 void setDouble(Property property, double value)
           
 void setDouble(java.lang.String path, double value)
           
 void setEDataGraph(EDataGraph newEDataGraph)
           
 void setFloat(int propertyIndex, float value)
           
 void setFloat(Property property, float value)
           
 void setFloat(java.lang.String path, float value)
           
 void setInt(int propertyIndex, int value)
           
 void setInt(Property property, int value)
           
 void setInt(java.lang.String path, int value)
           
 void setList(int propertyIndex, java.util.List value)
           
 void setList(Property property, java.util.List value)
           
 void setList(java.lang.String path, java.util.List value)
           
 void setLong(int propertyIndex, long value)
           
 void setLong(Property property, long value)
           
 void setLong(java.lang.String path, long value)
           
 void setShort(int propertyIndex, short value)
           
 void setShort(Property property, short value)
           
 void setShort(java.lang.String path, short value)
           
 void setString(int propertyIndex, java.lang.String value)
           
 void setString(Property property, java.lang.String value)
           
 void setString(java.lang.String path, java.lang.String value)
           
 void summarize()
           
 void unset(int propertyIndex)
           
 void unset(Property property)
           
 void unset(java.lang.String path)
           
 java.lang.Object writeReplace()
           
 
Methods inherited from class org.eclipse.emf.ecore.change.impl.ChangeDescriptionImpl
apply, applyAndReverse, getContainedEObjects, getObjectChanges, getObjectsToAttach, getObjectsToDetachGen, getOldContainer, getOldContainmentFeature, getOldContainmentInformation, getResourceChanges
 
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, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, 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, eInverseRemove, 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.change.ChangeDescription
apply, applyAndReverse, getObjectChanges, getObjectsToAttach, getResourceChanges
 
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.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
eBasicRemoveFromContainer, eBasicSetContainer, eContainerFeatureID, eDirectResource, eGet, eInternalContainer, eInternalResource, eInverseAdd, eInverseRemove, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegment
 
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
 

Field Detail

LOGGING_EDEFAULT

protected static final boolean LOGGING_EDEFAULT
The default value of the 'Logging' attribute.

See Also:
isLogging(), Constant Field Values

eDataGraph

protected EDataGraph eDataGraph
The cached value of the 'EData Graph' reference.

See Also:
getEDataGraph()

changeRecorder

protected ChangeRecorder changeRecorder

cachedObjectsToDetach

protected EList<EObject> cachedObjectsToDetach

cachedSDOObjectChanges

protected java.util.HashMap<DataObject,java.util.List<ChangeSummary.Setting>> cachedSDOObjectChanges

deletedObjects

protected java.util.Set<EObject> deletedObjects
Constructor Detail

EChangeSummaryImpl

protected EChangeSummaryImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class ChangeDescriptionImpl

isLogging

public boolean isLogging()

Specified by:
isLogging in interface ChangeSummary
Returns:
true if change logging is on.
See Also:
ChangeSummary.beginLogging(), ChangeSummary.endLogging()

getEDataGraph

public EDataGraph getEDataGraph()

Specified by:
getEDataGraph in interface EChangeSummary
Returns:
the value of the 'EData Graph' reference.
See Also:
EChangeSummary.setEDataGraph(EDataGraph), SDOPackage.getEChangeSummary_EDataGraph(), EDataGraph.getEChangeSummary()

basicSetEDataGraph

public NotificationChain basicSetEDataGraph(EDataGraph newEDataGraph,
                                            NotificationChain msgs)


setEDataGraph

public void setEDataGraph(EDataGraph newEDataGraph)

Specified by:
setEDataGraph in interface EChangeSummary
Parameters:
newEDataGraph - the new value of the 'EData Graph' reference.
See Also:
EChangeSummary.getEDataGraph()

beginLogging

public void beginLogging()

Specified by:
beginLogging in interface ChangeSummary
See Also:
ChangeSummary.endLogging(), ChangeSummary.isLogging()

resumeLogging

public void resumeLogging()

Specified by:
resumeLogging in interface EChangeSummary

endLogging

public void endLogging()

Specified by:
endLogging in interface ChangeSummary
See Also:
ChangeSummary.beginLogging(), ChangeSummary.isLogging()

isCreated

public boolean isCreated(DataObject dataObject)

Specified by:
isCreated in interface ChangeSummary
Parameters:
dataObject - the data object in question.
Returns:
true if the specified data object was created.
See Also:
ChangeSummary.getChangedDataObjects()

isDeleted

public boolean isDeleted(DataObject dataObject)

Specified by:
isDeleted in interface ChangeSummary
Parameters:
dataObject - the data object in question.
Returns:
true if the specified data object was deleted.
See Also:
ChangeSummary.getChangedDataObjects()

getOldValues

public java.util.List<ChangeSummary.Setting> getOldValues(DataObject dataObject)

Specified by:
getOldValues in interface ChangeSummary
Parameters:
dataObject - the object in question.
Returns:
a list of settings.
See Also:
ChangeSummary.getChangedDataObjects()

summarize

public void summarize()

Specified by:
summarize in interface EChangeSummary

isChanged

public boolean isChanged(DataObject dataObject)
Description copied from interface: EChangeSummary
Returns whether or not the specified data object was changed while logging. Any modified object that was contained in the data graph when logging began and remains in the graph when logging ends will be considered changed.

Specified by:
isChanged in interface EChangeSummary
Parameters:
dataObject - the data object in question.
Returns:
true if the specified data object was changed.
See Also:
ChangeSummary.getChangedDataObjects()

getOldValue

public ChangeSummary.Setting getOldValue(DataObject dataObject,
                                         Property property)
Description copied from interface: EChangeSummary
Returns a setting for the specified property representing the property value of the given dataObject at the point when logging began.

Returns null if the property has not changed and has not been deleted.

Specified by:
getOldValue in interface EChangeSummary
Parameters:
dataObject - the object in question.
property - the property of the object.
Returns:
the setting for the specified property.
See Also:
ChangeSummary.getChangedDataObjects()

getOldContainer

public DataObject getOldContainer(DataObject dataObject)
Description copied from interface: EChangeSummary
Returns the value of the container data object at the point when logging began.

Specified by:
getOldContainer in interface EChangeSummary
Parameters:
dataObject - the object in question.
Returns:
the old container data object.

getOldContainmentProperty

public Property getOldContainmentProperty(DataObject dataObject)
Description copied from interface: EChangeSummary
Returns the value of the containment property data object property at the point when logging began.

Specified by:
getOldContainmentProperty in interface EChangeSummary
Parameters:
dataObject - the object in question.
Returns:
the old containment property.

getObjectsToDetach

public EList<EObject> getObjectsToDetach()
Specified by:
getObjectsToDetach in interface ChangeDescription
Overrides:
getObjectsToDetach in class ChangeDescriptionImpl

get

public java.lang.Object get(java.lang.String path)

Specified by:
get in interface DataObject
Parameters:
path - the path to a valid object and property.
Returns:
the value of the specified property.
See Also:
DataObject.get(Property)

set

public void set(java.lang.String path,
                java.lang.Object value)

Specified by:
set in interface DataObject
Parameters:
path - the path to a valid object and property.
value - the new value for the property.
See Also:
DataObject.set(Property, Object)

isSet

public boolean isSet(java.lang.String path)

Specified by:
isSet in interface DataObject
Parameters:
path - the path to a valid object and property.
See Also:
DataObject.isSet(Property)

unset

public void unset(java.lang.String path)

Specified by:
unset in interface DataObject
Parameters:
path - the path to a valid object and property.
See Also:
DataObject.unset(Property)

get

public java.lang.Object get(int propertyIndex)

Specified by:
get in interface DataObject
Parameters:
propertyIndex - the index of the property.
Returns:
the value of the specified property.
See Also:
DataObject.get(Property)

set

public void set(int propertyIndex,
                java.lang.Object value)

Specified by:
set in interface DataObject
Parameters:
propertyIndex - the index of the property.
value - the new value for the property.
See Also:
DataObject.set(Property, Object)

isSet

public boolean isSet(int propertyIndex)

Specified by:
isSet in interface DataObject
Parameters:
propertyIndex - the index of the property.
Returns:
whether the specified property is set.
See Also:
DataObject.isSet(Property)

unset

public void unset(int propertyIndex)

Specified by:
unset in interface DataObject
Parameters:
propertyIndex - the index of the property.
See Also:
DataObject.unset(Property)

get

public java.lang.Object get(Property property)

Specified by:
get in interface DataObject
Parameters:
property - the property of the value to fetch.
Returns:
the value of the given property of the object.
See Also:
DataObject.set(Property, Object), DataObject.unset(Property), DataObject.isSet(Property)

set

public void set(Property property,
                java.lang.Object value)

Specified by:
set in interface DataObject
Parameters:
property - the property of the value to set.
value - the new value for the property.
See Also:
DataObject.unset(Property), DataObject.isSet(Property), DataObject.get(Property)

isSet

public boolean isSet(Property property)

Specified by:
isSet in interface DataObject
Parameters:
property - the property in question.
Returns:
whether the property of the object is set.
See Also:
DataObject.set(Property, Object), DataObject.unset(Property), DataObject.get(Property)

unset

public void unset(Property property)

Specified by:
unset in interface DataObject
Parameters:
property - the property in question.
See Also:
DataObject.isSet(Property), DataObject.set(Property, Object), DataObject.get(Property)

getContainer

public DataObject getContainer()

Specified by:
getContainer in interface DataObject
Returns:
the containing data object or null.

getContainmentProperty

public Property getContainmentProperty()

Specified by:
getContainmentProperty in interface DataObject
Returns:
the property containing this data object.

getDataGraph

public DataGraph getDataGraph()

Specified by:
getDataGraph in interface ChangeSummary
Specified by:
getDataGraph in interface DataObject
Returns:
the data graph.
See Also:
DataGraph.getChangeSummary()

preApply

protected void preApply(boolean reverse)
Overrides:
preApply in class ChangeDescriptionImpl

getDeletedObjects

protected java.util.Set<EObject> getDeletedObjects()

getChangedDataObjectsGen

public EList<DataObject> getChangedDataObjectsGen()


getChangedDataObjects

public java.util.List<DataObject> getChangedDataObjects()
Description copied from interface: ChangeSummary
Returns a list consisting of all the data objects that have been changed while logging.

The new and modified objects in the list are references to objects that are contained in the data graph associated with this log. The deleted objects in the list are references to copies of the objects as they appeared at the time that event logging was first enabled; if the deleted objects have references to other objects, the references will also refer to copies of the target objects.

Specified by:
getChangedDataObjects in interface ChangeSummary
Returns:
a list of changed data objects.
See Also:
ChangeSummary.isCreated(DataObject), ChangeSummary.isDeleted(DataObject)

getType

public Type getType()

Specified by:
getType in interface DataObject
Returns:
the type.

getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String path)

Specified by:
getBigDecimal in interface DataObject
Parameters:
path - the path to a valid object and property.
Returns:
the BigDecimal value of the specified property.
See Also:
DataObject.get(String)

getBigInteger

public java.math.BigInteger getBigInteger(java.lang.String path)

Specified by:
getBigInteger in interface DataObject
Parameters:
path - the path to a valid object and property.
Returns:
the BigInteger value of the specified property.
See Also:
DataObject.get(String)

getBoolean

public boolean getBoolean(java.lang.String path)

Specified by:
getBoolean in interface DataObject
Parameters:
path - the path to a valid object and property.
Returns:
the boolean value of the specified property.
See Also:
DataObject.get(String)

getByte

public byte getByte(java.lang.String path)

Specified by:
getByte in interface DataObject
Parameters:
path - the path to a valid object and property.
Returns:
the byte value of the specified property.
See Also:
DataObject.get(String)

getBytes

public byte[] getBytes(java.lang.String path)

Specified by:
getBytes in interface DataObject
Parameters:
path - the path to a valid object and property.
Returns:
the byte[] value of the specified property.
See Also:
DataObject.get(String)

getChar

public char getChar(java.lang.String path)

Specified by:
getChar in interface DataObject
Parameters:
path - the path to a valid object and property.
Returns:
the char value of the specified property.
See Also:
DataObject.get(String)

getDataObject

public DataObject getDataObject(java.lang.String path)

Specified by:
getDataObject in interface DataObject
Parameters:
path - the path to a valid object and property.
Returns:
the DataObject value of the specified property.
See Also:
DataObject.get(String)

getDate

public java.util.Date getDate(java.lang.String path)

Specified by:
getDate in interface DataObject
Parameters:
path - the path to a valid object and property.
Returns:
the Date value of the specified property.
See Also:
DataObject.get(String)

getDouble

public double getDouble(java.lang.String path)

Specified by:
getDouble in interface DataObject
Parameters:
path - the path to a valid object and property.
Returns:
the double value of the specified property.
See Also:
DataObject.get(String)

getFloat

public float getFloat(java.lang.String path)

Specified by:
getFloat in interface DataObject
Parameters:
path - the path to a valid object and property.
Returns:
the float value of the specified property.
See Also:
DataObject.get(String)

getInt

public int getInt(java.lang.String path)

Specified by:
getInt in interface DataObject
Parameters:
path - the path to a valid object and property.
Returns:
the int value of the specified property.
See Also:
DataObject.get(String)

getList

public java.util.List getList(java.lang.String path)

Specified by:
getList in interface DataObject
Parameters:
path - the path to a valid object and property.
Returns:
the List value of the specified property.
See Also:
DataObject.get(String)

getLong

public long getLong(java.lang.String path)

Specified by:
getLong in interface DataObject
Parameters:
path - the path to a valid object and property.
Returns:
the long value of the specified property.
See Also:
DataObject.get(String)

getSequence

public Sequence getSequence(java.lang.String path)

Specified by:
getSequence in interface DataObject
Parameters:
path - the path to a valid object and property.
Returns:
the DataSequence value of the specified property.
See Also:
DataObject.get(String)

getShort

public short getShort(java.lang.String path)

Specified by:
getShort in interface DataObject
Parameters:
path - the path to a valid object and property.
Returns:
the short value of the specified property.
See Also:
DataObject.get(String)

getString

public java.lang.String getString(java.lang.String path)

Specified by:
getString in interface DataObject
Parameters:
path - the path to a valid object and property.
Returns:
the String value of the specified property.
See Also:
DataObject.get(String)

setBigDecimal

public void setBigDecimal(java.lang.String path,
                          java.math.BigDecimal value)

Specified by:
setBigDecimal in interface DataObject
Parameters:
path - the path to a valid object and property.
value - the new value for the property.
See Also:
DataObject.set(String, Object)

setBigInteger

public void setBigInteger(java.lang.String path,
                          java.math.BigInteger value)

Specified by:
setBigInteger in interface DataObject
Parameters:
path - the path to a valid object and property.
value - the new value for the property.
See Also:
DataObject.set(String, Object)

setBoolean

public void setBoolean(java.lang.String path,
                       boolean value)

Specified by:
setBoolean in interface DataObject
Parameters:
path - the path to a valid object and property.
value - the new value for the property.
See Also:
DataObject.set(String, Object)

setByte

public void setByte(java.lang.String path,
                    byte value)

Specified by:
setByte in interface DataObject
Parameters:
path - the path to a valid object and property.
value - the new value for the property.
See Also:
DataObject.set(String, Object)

setBytes

public void setBytes(java.lang.String path,
                     byte[] value)

Specified by:
setBytes in interface DataObject
Parameters:
path - the path to a valid object and property.
value - the new value for the property.
See Also:
DataObject.set(String, Object)

setChar

public void setChar(java.lang.String path,
                    char value)

Specified by:
setChar in interface DataObject
Parameters:
path - the path to a valid object and property.
value - the new value for the property.
See Also:
DataObject.set(String, Object)

setDataObject

public void setDataObject(java.lang.String path,
                          DataObject value)

Specified by:
setDataObject in interface DataObject
Parameters:
path - the path to a valid object and property.
value - the new value for the property.
See Also:
DataObject.set(String, Object)

setDate

public void setDate(java.lang.String path,
                    java.util.Date value)

Specified by:
setDate in interface DataObject
Parameters:
path - the path to a valid object and property.
value - the new value for the property.
See Also:
DataObject.set(String, Object)

setDouble

public void setDouble(java.lang.String path,
                      double value)

Specified by:
setDouble in interface DataObject
Parameters:
path - the path to a valid object and property.
value - the new value for the property.
See Also:
DataObject.set(String, Object)

setFloat

public void setFloat(java.lang.String path,
                     float value)

Specified by:
setFloat in interface DataObject
Parameters:
path - the path to a valid object and property.
value - the new value for the property.
See Also:
DataObject.set(String, Object)

setInt

public void setInt(java.lang.String path,
                   int value)

Specified by:
setInt in interface DataObject
Parameters:
path - the path to a valid object and property.
value - the new value for the property.
See Also:
DataObject.set(String, Object)

setList

public void setList(java.lang.String path,
                    java.util.List value)

Specified by:
setList in interface DataObject
Parameters:
path - the path to a valid object and property.
value - the new value for the property.
See Also:
DataObject.set(String, Object)

setLong

public void setLong(java.lang.String path,
                    long value)

Specified by:
setLong in interface DataObject
Parameters:
path - the path to a valid object and property.
value - the new value for the property.
See Also:
DataObject.set(String, Object)

setShort

public void setShort(java.lang.String path,
                     short value)

Specified by:
setShort in interface DataObject
Parameters:
path - the path to a valid object and property.
value - the new value for the property.
See Also:
DataObject.set(String, Object)

setString

public void setString(java.lang.String path,
                      java.lang.String value)

Specified by:
setString in interface DataObject
Parameters:
path - the path to a valid object and property.
value - the new value for the property.
See Also:
DataObject.set(String, Object)

getBigDecimal

public java.math.BigDecimal getBigDecimal(int propertyIndex)

Specified by:
getBigDecimal in interface DataObject
Parameters:
propertyIndex - the index of the property.
Returns:
the BigDecimal value of the specified property.
See Also:
DataObject.get(int)

getBigInteger

public java.math.BigInteger getBigInteger(int propertyIndex)

Specified by:
getBigInteger in interface DataObject
Parameters:
propertyIndex - the index of the property.
Returns:
the BigInteger value of the specified property.
See Also:
DataObject.get(int)

getBoolean

public boolean getBoolean(int propertyIndex)

Specified by:
getBoolean in interface DataObject
Parameters:
propertyIndex - the index of the property.
Returns:
the boolean value of the specified property.
See Also:
DataObject.get(int)

getByte

public byte getByte(int propertyIndex)

Specified by:
getByte in interface DataObject
Parameters:
propertyIndex - the index of the property.
Returns:
the byte value of the specified property.
See Also:
DataObject.get(int)

getBytes

public byte[] getBytes(int propertyIndex)

Specified by:
getBytes in interface DataObject
Parameters:
propertyIndex - the index of the property.
Returns:
the byte[] value of the specified property.
See Also:
DataObject.get(int)

getChar

public char getChar(int propertyIndex)

Specified by:
getChar in interface DataObject
Parameters:
propertyIndex - the index of the property.
Returns:
the char value of the specified property.
See Also:
DataObject.get(int)

getDataObject

public DataObject getDataObject(int propertyIndex)

Specified by:
getDataObject in interface DataObject
Parameters:
propertyIndex - the index of the property.
Returns:
the DataObject value of the specified property.
See Also:
DataObject.get(int)

getDate

public java.util.Date getDate(int propertyIndex)

Specified by:
getDate in interface DataObject
Parameters:
propertyIndex - the index of the property.
Returns:
the Date value of the specified property.
See Also:
DataObject.get(int)

getDouble

public double getDouble(int propertyIndex)

Specified by:
getDouble in interface DataObject
Parameters:
propertyIndex - the index of the property.
Returns:
the double value of the specified property.
See Also:
DataObject.get(int)

getFloat

public float getFloat(int propertyIndex)

Specified by:
getFloat in interface DataObject
Parameters:
propertyIndex - the index of the property.
Returns:
the float value of the specified property.
See Also:
DataObject.get(int)

getInt

public int getInt(int propertyIndex)

Specified by:
getInt in interface DataObject
Parameters:
propertyIndex - the index of the property.
Returns:
the int value of the specified property.
See Also:
DataObject.get(int)

getList

public java.util.List getList(int propertyIndex)

Specified by:
getList in interface DataObject
Parameters:
propertyIndex - the index of the property.
Returns:
the List value of the specified property.
See Also:
DataObject.get(int)

getLong

public long getLong(int propertyIndex)

Specified by:
getLong in interface DataObject
Parameters:
propertyIndex - the index of the property.
Returns:
the long value of the specified property.
See Also:
DataObject.get(int)

getSequence

public Sequence getSequence(int propertyIndex)

Specified by:
getSequence in interface DataObject
Parameters:
propertyIndex - the index of the property.
Returns:
the DataSequence value of the specified property.
See Also:
DataObject.get(int)

getShort

public short getShort(int propertyIndex)

Specified by:
getShort in interface DataObject
Parameters:
propertyIndex - the index of the property.
Returns:
the short value of the specified property.
See Also:
DataObject.get(int)

getString

public java.lang.String getString(int propertyIndex)

Specified by:
getString in interface DataObject
Parameters:
propertyIndex - the index of the property.
Returns:
the String value of the specified property.
See Also:
DataObject.get(int)

setBigDecimal

public void setBigDecimal(int propertyIndex,
                          java.math.BigDecimal value)

Specified by:
setBigDecimal in interface DataObject
Parameters:
propertyIndex - the index of the property.
value - the new value for the property.
See Also:
DataObject.set(int, Object)

setBigInteger

public void setBigInteger(int propertyIndex,
                          java.math.BigInteger value)

Specified by:
setBigInteger in interface DataObject
Parameters:
propertyIndex - the index of the property.
value - the new value for the property.
See Also:
DataObject.set(int, Object)

setBoolean

public void setBoolean(int propertyIndex,
                       boolean value)

Specified by:
setBoolean in interface DataObject
Parameters:
propertyIndex - the index of the property.
value - the new value for the property.
See Also:
DataObject.set(int, Object)

setByte

public void setByte(int propertyIndex,
                    byte value)

Specified by:
setByte in interface DataObject
Parameters:
propertyIndex - the index of the property.
value - the new value for the property.
See Also:
DataObject.set(int, Object)

setBytes

public void setBytes(int propertyIndex,
                     byte[] value)

Specified by:
setBytes in interface DataObject
Parameters:
propertyIndex - the index of the property.
value - the new value for the property.
See Also:
DataObject.set(int, Object)

setChar

public void setChar(int propertyIndex,
                    char value)

Specified by:
setChar in interface DataObject
Parameters:
propertyIndex - the index of the property.
value - the new value for the property.
See Also:
DataObject.set(int, Object)

setDataObject

public void setDataObject(int propertyIndex,
                          DataObject value)

Specified by:
setDataObject in interface DataObject
Parameters:
propertyIndex - the index of the property.
value - the new value for the property.
See Also:
DataObject.set(int, Object)

setDate

public void setDate(int propertyIndex,
                    java.util.Date value)

Specified by:
setDate in interface DataObject
Parameters:
propertyIndex - the index of the property.
value - the new value for the property.
See Also:
DataObject.set(int, Object)

setDouble

public void setDouble(int propertyIndex,
                      double value)

Specified by:
setDouble in interface DataObject
Parameters:
propertyIndex - the index of the property.
value - the new value for the property.
See Also:
DataObject.set(int, Object)

setFloat

public void setFloat(int propertyIndex,
                     float value)

Specified by:
setFloat in interface DataObject
Parameters:
propertyIndex - the index of the property.
value - the new value for the property.
See Also:
DataObject.set(int, Object)

setInt

public void setInt(int propertyIndex,
                   int value)

Specified by:
setInt in interface DataObject
Parameters:
propertyIndex - the index of the property.
value - the new value for the property.
See Also:
DataObject.set(int, Object)

setList

public void setList(int propertyIndex,
                    java.util.List value)

Specified by:
setList in interface DataObject
Parameters:
propertyIndex - the index of the property.
value - the new value for the property.
See Also:
DataObject.set(int, Object)

setLong

public void setLong(int propertyIndex,
                    long value)

Specified by:
setLong in interface DataObject
Parameters:
propertyIndex - the index of the property.
value - the new value for the property.
See Also:
DataObject.set(int, Object)

setShort

public void setShort(int propertyIndex,
                     short value)

Specified by:
setShort in interface DataObject
Parameters:
propertyIndex - the index of the property.
value - the new value for the property.
See Also:
DataObject.set(int, Object)

setString

public void setString(int propertyIndex,
                      java.lang.String value)

Specified by:
setString in interface DataObject
Parameters:
propertyIndex - the index of the property.
value - the new value for the property.
See Also:
DataObject.set(int, Object)

getBigDecimal

public java.math.BigDecimal getBigDecimal(Property property)

Specified by:
getBigDecimal in interface DataObject
Parameters:
property - the property to get.
Returns:
the BigDecimal value of the specified property.
See Also:
DataObject.get(Property)

getBigInteger

public java.math.BigInteger getBigInteger(Property property)

Specified by:
getBigInteger in interface DataObject
Parameters:
property - the property to get.
Returns:
the BigInteger value of the specified property.
See Also:
DataObject.get(Property)

getBoolean

public boolean getBoolean(Property property)

Specified by:
getBoolean in interface DataObject
Parameters:
property - the property to get.
Returns:
the boolean value of the specified property.
See Also:
DataObject.get(Property)

getByte

public byte getByte(Property property)

Specified by:
getByte in interface DataObject
Parameters:
property - the property to get.
Returns:
the byte value of the specified property.
See Also:
DataObject.get(Property)

getBytes

public byte[] getBytes(Property property)

Specified by:
getBytes in interface DataObject
Parameters:
property - the property to get.
Returns:
the byte[] value of the specified property.
See Also:
DataObject.get(Property)

getChar

public char getChar(Property property)

Specified by:
getChar in interface DataObject
Parameters:
property - the property to get.
Returns:
the char value of the specified property.
See Also:
DataObject.get(Property)

getDataObject

public DataObject getDataObject(Property property)

Specified by:
getDataObject in interface DataObject
Parameters:
property - the property to get.
Returns:
the DataObject value of the specified property.
See Also:
DataObject.get(Property)

getDate

public java.util.Date getDate(Property property)

Specified by:
getDate in interface DataObject
Parameters:
property - the property to get.
Returns:
the Date value of the specified property.
See Also:
DataObject.get(Property)

getDouble

public double getDouble(Property property)

Specified by:
getDouble in interface DataObject
Parameters:
property - the property to get.
Returns:
the double value of the specified property.
See Also:
DataObject.get(Property)

getFloat

public float getFloat(Property property)

Specified by:
getFloat in interface DataObject
Parameters:
property - the property to get.
Returns:
the float value of the specified property.
See Also:
DataObject.get(Property)

getInt

public int getInt(Property property)

Specified by:
getInt in interface DataObject
Parameters:
property - the property to get.
Returns:
the int value of the specified property.
See Also:
DataObject.get(Property)

getList

public java.util.List getList(Property property)

Specified by:
getList in interface DataObject
Parameters:
property - the property to get.
Returns:
the List value of the specified property.
See Also:
DataObject.get(Property)

getLong

public long getLong(Property property)

Specified by:
getLong in interface DataObject
Parameters:
property - the property to get.
Returns:
the long value of the specified property.
See Also:
DataObject.get(Property)

getSequence

public Sequence getSequence(Property property)

Specified by:
getSequence in interface DataObject
Parameters:
property - the property to get.
Returns:
the DataSequence value of the specified property.
See Also:
DataObject.get(Property)

getShort

public short getShort(Property property)

Specified by:
getShort in interface DataObject
Parameters:
property - the property to get.
Returns:
the short value of the specified property.
See Also:
DataObject.get(Property)

getString

public java.lang.String getString(Property property)

Specified by:
getString in interface DataObject
Parameters:
property - the property to get.
Returns:
the String value of the specified property.
See Also:
DataObject.get(Property)

setBigDecimal

public void setBigDecimal(Property property,
                          java.math.BigDecimal value)

Specified by:
setBigDecimal in interface DataObject
Parameters:
property - the property to set.
value - the new value for the property.
See Also:
DataObject.set(Property, Object)

setBigInteger

public void setBigInteger(Property property,
                          java.math.BigInteger value)

Specified by:
setBigInteger in interface DataObject
Parameters:
property - the property to set.
value - the new value for the property.
See Also:
DataObject.set(Property, Object)

setBoolean

public void setBoolean(Property property,
                       boolean value)

Specified by:
setBoolean in interface DataObject
Parameters:
property - the property to set.
value - the new value for the property.
See Also:
DataObject.set(Property, Object)

setByte

public void setByte(Property property,
                    byte value)

Specified by:
setByte in interface DataObject
Parameters:
property - the property to set.
value - the new value for the property.
See Also:
DataObject.set(Property, Object)

setBytes

public void setBytes(Property property,
                     byte[] value)

Specified by:
setBytes in interface DataObject
Parameters:
property - the property to set.
value - the new value for the property.
See Also:
DataObject.set(Property, Object)

setChar

public void setChar(Property property,
                    char value)

Specified by:
setChar in interface DataObject
Parameters:
property - the property to set.
value - the new value for the property.
See Also:
DataObject.set(Property, Object)

setDataObject

public void setDataObject(Property property,
                          DataObject value)

Specified by:
setDataObject in interface DataObject
Parameters:
property - the property to set.
value - the new value for the property.
See Also:
DataObject.set(Property, Object)

setDate

public void setDate(Property property,
                    java.util.Date value)

Specified by:
setDate in interface DataObject
Parameters:
property - the property to set.
value - the new value for the property.
See Also:
DataObject.set(Property, Object)

setDouble

public void setDouble(Property property,
                      double value)

Specified by:
setDouble in interface DataObject
Parameters:
property - the property to set.
value - the new value for the property.
See Also:
DataObject.set(Property, Object)

setFloat

public void setFloat(Property property,
                     float value)

Specified by:
setFloat in interface DataObject
Parameters:
property - the property to set.
value - the new value for the property.
See Also:
DataObject.set(Property, Object)

setInt

public void setInt(Property property,
                   int value)

Specified by:
setInt in interface DataObject
Parameters:
property - the property to set.
value - the new value for the property.
See Also:
DataObject.set(Property, Object)

setList

public void setList(Property property,
                    java.util.List value)

Specified by:
setList in interface DataObject
Parameters:
property - the property to set.
value - the new value for the property.
See Also:
DataObject.set(Property, Object)

setLong

public void setLong(Property property,
                    long value)

Specified by:
setLong in interface DataObject
Parameters:
property - the property to set.
value - the new value for the property.
See Also:
DataObject.set(Property, Object)

setShort

public void setShort(Property property,
                     short value)

Specified by:
setShort in interface DataObject
Parameters:
property - the property to set.
value - the new value for the property.
See Also:
DataObject.set(Property, Object)

setString

public void setString(Property property,
                      java.lang.String value)

Specified by:
setString in interface DataObject
Parameters:
property - the property to set.
value - the new value for the property.
See Also:
DataObject.set(Property, Object)

createDataObject

public DataObject createDataObject(java.lang.String propertyName)

Specified by:
createDataObject in interface DataObject
Parameters:
propertyName - the name of the specified containment property.
Returns:
the created data object.
See Also:
DataObject.createDataObject(String, String, String)

createDataObject

public DataObject createDataObject(int propertyIndex)

Specified by:
createDataObject in interface DataObject
Parameters:
propertyIndex - the index of the specified containment property.
Returns:
the created data object.
See Also:
DataObject.createDataObject(int, String, String)

createDataObject

public DataObject createDataObject(Property property)

Specified by:
createDataObject in interface DataObject
Parameters:
property - the specified containment property.
Returns:
the created data object.
See Also:
DataObject.createDataObject(Property, Type)

createDataObject

public DataObject createDataObject(java.lang.String propertyName,
                                   java.lang.String namespaceURI,
                                   java.lang.String typeName)

Specified by:
createDataObject in interface DataObject
Parameters:
propertyName - the name of the specified containment property.
namespaceURI - the namespace URI of the package containing the type of object to be created.
typeName - the name of a type in the specified package.
Returns:
the created data object.
See Also:
DataObject.createDataObject(String), DataGraph.getType(java.lang.String, java.lang.String)

createDataObject

public DataObject createDataObject(int propertyIndex,
                                   java.lang.String namespaceURI,
                                   java.lang.String typeName)

Specified by:
createDataObject in interface DataObject
Parameters:
propertyIndex - the index of the specified containment property.
namespaceURI - the namespace URI of the package containing the type of object to be created.
typeName - the name of a type in the specified package.
Returns:
the created data object.
See Also:
DataObject.createDataObject(int), DataGraph.getType(java.lang.String, java.lang.String)

createDataObject

public DataObject createDataObject(Property property,
                                   Type type)

Specified by:
createDataObject in interface DataObject
Parameters:
property - a containment property of this object.
type - the type of object to be created.
Returns:
the created data object.
See Also:
DataObject.createDataObject(int)

delete

public void delete()

Specified by:
delete in interface DataObject

getInstanceProperties

public java.util.List<Property> getInstanceProperties()

Specified by:
getInstanceProperties in interface EDataObject

writeReplace

public java.lang.Object writeReplace()
                              throws java.io.ObjectStreamException

Specified by:
writeReplace in interface InternalEDataObject
Throws:
java.io.ObjectStreamException

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     NotificationChain msgs)

Overrides:
eInverseAdd in class BasicEObjectImpl

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class ChangeDescriptionImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class ChangeDescriptionImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class ChangeDescriptionImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class ChangeDescriptionImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class ChangeDescriptionImpl

eBaseStructuralFeatureID

public int eBaseStructuralFeatureID(int derivedFeatureID,
                                    java.lang.Class<?> baseClass)

Specified by:
eBaseStructuralFeatureID in interface InternalEObject
Overrides:
eBaseStructuralFeatureID in class BasicEObjectImpl

eDerivedStructuralFeatureID

public int eDerivedStructuralFeatureID(int baseFeatureID,
                                       java.lang.Class<?> baseClass)

Specified by:
eDerivedStructuralFeatureID in interface InternalEObject
Overrides:
eDerivedStructuralFeatureID in class BasicEObjectImpl

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.