|
||||||||||
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.ecore.change.impl.ChangeDescriptionImpl org.eclipse.emf.ecore.sdo.impl.EChangeSummaryImpl
public class EChangeSummaryImpl
An implementation of the model object 'EChange Summary'.
The following features are implemented:
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.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 |
---|
protected static final boolean LOGGING_EDEFAULT
Logging
' attribute.
isLogging()
,
Constant Field Valuesprotected EDataGraph eDataGraph
EData Graph
' reference.
getEDataGraph()
protected ChangeRecorder changeRecorder
protected EList<EObject> cachedObjectsToDetach
protected java.util.HashMap<DataObject,java.util.List<ChangeSummary.Setting>> cachedSDOObjectChanges
protected java.util.Set<EObject> deletedObjects
Constructor Detail |
---|
protected EChangeSummaryImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class ChangeDescriptionImpl
public boolean isLogging()
isLogging
in interface ChangeSummary
true
if change logging is on.ChangeSummary.beginLogging()
,
ChangeSummary.endLogging()
public EDataGraph getEDataGraph()
getEDataGraph
in interface EChangeSummary
EChangeSummary.setEDataGraph(EDataGraph)
,
SDOPackage.getEChangeSummary_EDataGraph()
,
EDataGraph.getEChangeSummary()
public NotificationChain basicSetEDataGraph(EDataGraph newEDataGraph, NotificationChain msgs)
public void setEDataGraph(EDataGraph newEDataGraph)
setEDataGraph
in interface EChangeSummary
newEDataGraph
- the new value of the 'EData Graph' reference.EChangeSummary.getEDataGraph()
public void beginLogging()
beginLogging
in interface ChangeSummary
ChangeSummary.endLogging()
,
ChangeSummary.isLogging()
public void resumeLogging()
resumeLogging
in interface EChangeSummary
public void endLogging()
endLogging
in interface ChangeSummary
ChangeSummary.beginLogging()
,
ChangeSummary.isLogging()
public boolean isCreated(DataObject dataObject)
isCreated
in interface ChangeSummary
dataObject
- the data object in question.
true
if the specified data object was created.ChangeSummary.getChangedDataObjects()
public boolean isDeleted(DataObject dataObject)
isDeleted
in interface ChangeSummary
dataObject
- the data object in question.
true
if the specified data object was deleted.ChangeSummary.getChangedDataObjects()
public java.util.List<ChangeSummary.Setting> getOldValues(DataObject dataObject)
getOldValues
in interface ChangeSummary
dataObject
- the object in question.
ChangeSummary.getChangedDataObjects()
public void summarize()
summarize
in interface EChangeSummary
public boolean isChanged(DataObject dataObject)
EChangeSummary
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.
isChanged
in interface EChangeSummary
dataObject
- the data object in question.
true
if the specified data object was changed.ChangeSummary.getChangedDataObjects()
public ChangeSummary.Setting getOldValue(DataObject dataObject, Property property)
EChangeSummary
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
.
getOldValue
in interface EChangeSummary
dataObject
- the object in question.property
- the property of the object.
ChangeSummary.getChangedDataObjects()
public DataObject getOldContainer(DataObject dataObject)
EChangeSummary
container
data object
at the point when logging began
.
getOldContainer
in interface EChangeSummary
dataObject
- the object in question.
public Property getOldContainmentProperty(DataObject dataObject)
EChangeSummary
containment property
data
object property at the point when logging began
.
getOldContainmentProperty
in interface EChangeSummary
dataObject
- the object in question.
public EList<EObject> getObjectsToDetach()
getObjectsToDetach
in interface ChangeDescription
getObjectsToDetach
in class ChangeDescriptionImpl
public java.lang.Object get(java.lang.String path)
get
in interface DataObject
path
- the path to a valid object and property.
DataObject.get(Property)
public void set(java.lang.String path, java.lang.Object value)
set
in interface DataObject
path
- the path to a valid object and property.value
- the new value for the property.DataObject.set(Property, Object)
public boolean isSet(java.lang.String path)
isSet
in interface DataObject
path
- the path to a valid object and property.DataObject.isSet(Property)
public void unset(java.lang.String path)
unset
in interface DataObject
path
- the path to a valid object and property.DataObject.unset(Property)
public java.lang.Object get(int propertyIndex)
get
in interface DataObject
propertyIndex
- the index of the property.
DataObject.get(Property)
public void set(int propertyIndex, java.lang.Object value)
set
in interface DataObject
propertyIndex
- the index of the property.value
- the new value for the property.DataObject.set(Property, Object)
public boolean isSet(int propertyIndex)
isSet
in interface DataObject
propertyIndex
- the index of the property.
DataObject.isSet(Property)
public void unset(int propertyIndex)
unset
in interface DataObject
propertyIndex
- the index of the property.DataObject.unset(Property)
public java.lang.Object get(Property property)
get
in interface DataObject
property
- the property of the value to fetch.
DataObject.set(Property, Object)
,
DataObject.unset(Property)
,
DataObject.isSet(Property)
public void set(Property property, java.lang.Object value)
set
in interface DataObject
property
- the property of the value to set.value
- the new value for the property.DataObject.unset(Property)
,
DataObject.isSet(Property)
,
DataObject.get(Property)
public boolean isSet(Property property)
isSet
in interface DataObject
property
- the property in question.
DataObject.set(Property, Object)
,
DataObject.unset(Property)
,
DataObject.get(Property)
public void unset(Property property)
unset
in interface DataObject
property
- the property in question.DataObject.isSet(Property)
,
DataObject.set(Property, Object)
,
DataObject.get(Property)
public DataObject getContainer()
getContainer
in interface DataObject
null
.public Property getContainmentProperty()
getContainmentProperty
in interface DataObject
public DataGraph getDataGraph()
getDataGraph
in interface ChangeSummary
getDataGraph
in interface DataObject
DataGraph.getChangeSummary()
protected void preApply(boolean reverse)
preApply
in class ChangeDescriptionImpl
protected java.util.Set<EObject> getDeletedObjects()
public EList<DataObject> getChangedDataObjectsGen()
public java.util.List<DataObject> getChangedDataObjects()
ChangeSummary
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.
getChangedDataObjects
in interface ChangeSummary
ChangeSummary.isCreated(DataObject)
,
ChangeSummary.isDeleted(DataObject)
public Type getType()
getType
in interface DataObject
public java.math.BigDecimal getBigDecimal(java.lang.String path)
getBigDecimal
in interface DataObject
path
- the path to a valid object and property.
BigDecimal
value of the specified property.DataObject.get(String)
public java.math.BigInteger getBigInteger(java.lang.String path)
getBigInteger
in interface DataObject
path
- the path to a valid object and property.
BigInteger
value of the specified property.DataObject.get(String)
public boolean getBoolean(java.lang.String path)
getBoolean
in interface DataObject
path
- the path to a valid object and property.
boolean
value of the specified property.DataObject.get(String)
public byte getByte(java.lang.String path)
getByte
in interface DataObject
path
- the path to a valid object and property.
byte
value of the specified property.DataObject.get(String)
public byte[] getBytes(java.lang.String path)
getBytes
in interface DataObject
path
- the path to a valid object and property.
byte[]
value of the specified property.DataObject.get(String)
public char getChar(java.lang.String path)
getChar
in interface DataObject
path
- the path to a valid object and property.
char
value of the specified property.DataObject.get(String)
public DataObject getDataObject(java.lang.String path)
getDataObject
in interface DataObject
path
- the path to a valid object and property.
DataObject
value of the specified property.DataObject.get(String)
public java.util.Date getDate(java.lang.String path)
getDate
in interface DataObject
path
- the path to a valid object and property.
Date
value of the specified property.DataObject.get(String)
public double getDouble(java.lang.String path)
getDouble
in interface DataObject
path
- the path to a valid object and property.
double
value of the specified property.DataObject.get(String)
public float getFloat(java.lang.String path)
getFloat
in interface DataObject
path
- the path to a valid object and property.
float
value of the specified property.DataObject.get(String)
public int getInt(java.lang.String path)
getInt
in interface DataObject
path
- the path to a valid object and property.
int
value of the specified property.DataObject.get(String)
public java.util.List getList(java.lang.String path)
getList
in interface DataObject
path
- the path to a valid object and property.
List
value of the specified property.DataObject.get(String)
public long getLong(java.lang.String path)
getLong
in interface DataObject
path
- the path to a valid object and property.
long
value of the specified property.DataObject.get(String)
public Sequence getSequence(java.lang.String path)
getSequence
in interface DataObject
path
- the path to a valid object and property.
DataSequence
value of the specified property.DataObject.get(String)
public short getShort(java.lang.String path)
getShort
in interface DataObject
path
- the path to a valid object and property.
short
value of the specified property.DataObject.get(String)
public java.lang.String getString(java.lang.String path)
getString
in interface DataObject
path
- the path to a valid object and property.
String
value of the specified property.DataObject.get(String)
public void setBigDecimal(java.lang.String path, java.math.BigDecimal value)
setBigDecimal
in interface DataObject
path
- the path to a valid object and property.value
- the new value for the property.DataObject.set(String, Object)
public void setBigInteger(java.lang.String path, java.math.BigInteger value)
setBigInteger
in interface DataObject
path
- the path to a valid object and property.value
- the new value for the property.DataObject.set(String, Object)
public void setBoolean(java.lang.String path, boolean value)
setBoolean
in interface DataObject
path
- the path to a valid object and property.value
- the new value for the property.DataObject.set(String, Object)
public void setByte(java.lang.String path, byte value)
setByte
in interface DataObject
path
- the path to a valid object and property.value
- the new value for the property.DataObject.set(String, Object)
public void setBytes(java.lang.String path, byte[] value)
setBytes
in interface DataObject
path
- the path to a valid object and property.value
- the new value for the property.DataObject.set(String, Object)
public void setChar(java.lang.String path, char value)
setChar
in interface DataObject
path
- the path to a valid object and property.value
- the new value for the property.DataObject.set(String, Object)
public void setDataObject(java.lang.String path, DataObject value)
setDataObject
in interface DataObject
path
- the path to a valid object and property.value
- the new value for the property.DataObject.set(String, Object)
public void setDate(java.lang.String path, java.util.Date value)
setDate
in interface DataObject
path
- the path to a valid object and property.value
- the new value for the property.DataObject.set(String, Object)
public void setDouble(java.lang.String path, double value)
setDouble
in interface DataObject
path
- the path to a valid object and property.value
- the new value for the property.DataObject.set(String, Object)
public void setFloat(java.lang.String path, float value)
setFloat
in interface DataObject
path
- the path to a valid object and property.value
- the new value for the property.DataObject.set(String, Object)
public void setInt(java.lang.String path, int value)
setInt
in interface DataObject
path
- the path to a valid object and property.value
- the new value for the property.DataObject.set(String, Object)
public void setList(java.lang.String path, java.util.List value)
setList
in interface DataObject
path
- the path to a valid object and property.value
- the new value for the property.DataObject.set(String, Object)
public void setLong(java.lang.String path, long value)
setLong
in interface DataObject
path
- the path to a valid object and property.value
- the new value for the property.DataObject.set(String, Object)
public void setShort(java.lang.String path, short value)
setShort
in interface DataObject
path
- the path to a valid object and property.value
- the new value for the property.DataObject.set(String, Object)
public void setString(java.lang.String path, java.lang.String value)
setString
in interface DataObject
path
- the path to a valid object and property.value
- the new value for the property.DataObject.set(String, Object)
public java.math.BigDecimal getBigDecimal(int propertyIndex)
getBigDecimal
in interface DataObject
propertyIndex
- the index of the property.
BigDecimal
value of the specified property.DataObject.get(int)
public java.math.BigInteger getBigInteger(int propertyIndex)
getBigInteger
in interface DataObject
propertyIndex
- the index of the property.
BigInteger
value of the specified property.DataObject.get(int)
public boolean getBoolean(int propertyIndex)
getBoolean
in interface DataObject
propertyIndex
- the index of the property.
boolean
value of the specified property.DataObject.get(int)
public byte getByte(int propertyIndex)
getByte
in interface DataObject
propertyIndex
- the index of the property.
byte
value of the specified property.DataObject.get(int)
public byte[] getBytes(int propertyIndex)
getBytes
in interface DataObject
propertyIndex
- the index of the property.
byte[]
value of the specified property.DataObject.get(int)
public char getChar(int propertyIndex)
getChar
in interface DataObject
propertyIndex
- the index of the property.
char
value of the specified property.DataObject.get(int)
public DataObject getDataObject(int propertyIndex)
getDataObject
in interface DataObject
propertyIndex
- the index of the property.
DataObject
value of the specified property.DataObject.get(int)
public java.util.Date getDate(int propertyIndex)
getDate
in interface DataObject
propertyIndex
- the index of the property.
Date
value of the specified property.DataObject.get(int)
public double getDouble(int propertyIndex)
getDouble
in interface DataObject
propertyIndex
- the index of the property.
double
value of the specified property.DataObject.get(int)
public float getFloat(int propertyIndex)
getFloat
in interface DataObject
propertyIndex
- the index of the property.
float
value of the specified property.DataObject.get(int)
public int getInt(int propertyIndex)
getInt
in interface DataObject
propertyIndex
- the index of the property.
int
value of the specified property.DataObject.get(int)
public java.util.List getList(int propertyIndex)
getList
in interface DataObject
propertyIndex
- the index of the property.
List
value of the specified property.DataObject.get(int)
public long getLong(int propertyIndex)
getLong
in interface DataObject
propertyIndex
- the index of the property.
long
value of the specified property.DataObject.get(int)
public Sequence getSequence(int propertyIndex)
getSequence
in interface DataObject
propertyIndex
- the index of the property.
DataSequence
value of the specified property.DataObject.get(int)
public short getShort(int propertyIndex)
getShort
in interface DataObject
propertyIndex
- the index of the property.
short
value of the specified property.DataObject.get(int)
public java.lang.String getString(int propertyIndex)
getString
in interface DataObject
propertyIndex
- the index of the property.
String
value of the specified property.DataObject.get(int)
public void setBigDecimal(int propertyIndex, java.math.BigDecimal value)
setBigDecimal
in interface DataObject
propertyIndex
- the index of the property.value
- the new value for the property.DataObject.set(int, Object)
public void setBigInteger(int propertyIndex, java.math.BigInteger value)
setBigInteger
in interface DataObject
propertyIndex
- the index of the property.value
- the new value for the property.DataObject.set(int, Object)
public void setBoolean(int propertyIndex, boolean value)
setBoolean
in interface DataObject
propertyIndex
- the index of the property.value
- the new value for the property.DataObject.set(int, Object)
public void setByte(int propertyIndex, byte value)
setByte
in interface DataObject
propertyIndex
- the index of the property.value
- the new value for the property.DataObject.set(int, Object)
public void setBytes(int propertyIndex, byte[] value)
setBytes
in interface DataObject
propertyIndex
- the index of the property.value
- the new value for the property.DataObject.set(int, Object)
public void setChar(int propertyIndex, char value)
setChar
in interface DataObject
propertyIndex
- the index of the property.value
- the new value for the property.DataObject.set(int, Object)
public void setDataObject(int propertyIndex, DataObject value)
setDataObject
in interface DataObject
propertyIndex
- the index of the property.value
- the new value for the property.DataObject.set(int, Object)
public void setDate(int propertyIndex, java.util.Date value)
setDate
in interface DataObject
propertyIndex
- the index of the property.value
- the new value for the property.DataObject.set(int, Object)
public void setDouble(int propertyIndex, double value)
setDouble
in interface DataObject
propertyIndex
- the index of the property.value
- the new value for the property.DataObject.set(int, Object)
public void setFloat(int propertyIndex, float value)
setFloat
in interface DataObject
propertyIndex
- the index of the property.value
- the new value for the property.DataObject.set(int, Object)
public void setInt(int propertyIndex, int value)
setInt
in interface DataObject
propertyIndex
- the index of the property.value
- the new value for the property.DataObject.set(int, Object)
public void setList(int propertyIndex, java.util.List value)
setList
in interface DataObject
propertyIndex
- the index of the property.value
- the new value for the property.DataObject.set(int, Object)
public void setLong(int propertyIndex, long value)
setLong
in interface DataObject
propertyIndex
- the index of the property.value
- the new value for the property.DataObject.set(int, Object)
public void setShort(int propertyIndex, short value)
setShort
in interface DataObject
propertyIndex
- the index of the property.value
- the new value for the property.DataObject.set(int, Object)
public void setString(int propertyIndex, java.lang.String value)
setString
in interface DataObject
propertyIndex
- the index of the property.value
- the new value for the property.DataObject.set(int, Object)
public java.math.BigDecimal getBigDecimal(Property property)
getBigDecimal
in interface DataObject
property
- the property to get.
BigDecimal
value of the specified property.DataObject.get(Property)
public java.math.BigInteger getBigInteger(Property property)
getBigInteger
in interface DataObject
property
- the property to get.
BigInteger
value of the specified property.DataObject.get(Property)
public boolean getBoolean(Property property)
getBoolean
in interface DataObject
property
- the property to get.
boolean
value of the specified property.DataObject.get(Property)
public byte getByte(Property property)
getByte
in interface DataObject
property
- the property to get.
byte
value of the specified property.DataObject.get(Property)
public byte[] getBytes(Property property)
getBytes
in interface DataObject
property
- the property to get.
byte[]
value of the specified property.DataObject.get(Property)
public char getChar(Property property)
getChar
in interface DataObject
property
- the property to get.
char
value of the specified property.DataObject.get(Property)
public DataObject getDataObject(Property property)
getDataObject
in interface DataObject
property
- the property to get.
DataObject
value of the specified property.DataObject.get(Property)
public java.util.Date getDate(Property property)
getDate
in interface DataObject
property
- the property to get.
Date
value of the specified property.DataObject.get(Property)
public double getDouble(Property property)
getDouble
in interface DataObject
property
- the property to get.
double
value of the specified property.DataObject.get(Property)
public float getFloat(Property property)
getFloat
in interface DataObject
property
- the property to get.
float
value of the specified property.DataObject.get(Property)
public int getInt(Property property)
getInt
in interface DataObject
property
- the property to get.
int
value of the specified property.DataObject.get(Property)
public java.util.List getList(Property property)
getList
in interface DataObject
property
- the property to get.
List
value of the specified property.DataObject.get(Property)
public long getLong(Property property)
getLong
in interface DataObject
property
- the property to get.
long
value of the specified property.DataObject.get(Property)
public Sequence getSequence(Property property)
getSequence
in interface DataObject
property
- the property to get.
DataSequence
value of the specified property.DataObject.get(Property)
public short getShort(Property property)
getShort
in interface DataObject
property
- the property to get.
short
value of the specified property.DataObject.get(Property)
public java.lang.String getString(Property property)
getString
in interface DataObject
property
- the property to get.
String
value of the specified property.DataObject.get(Property)
public void setBigDecimal(Property property, java.math.BigDecimal value)
setBigDecimal
in interface DataObject
property
- the property to set.value
- the new value for the property.DataObject.set(Property, Object)
public void setBigInteger(Property property, java.math.BigInteger value)
setBigInteger
in interface DataObject
property
- the property to set.value
- the new value for the property.DataObject.set(Property, Object)
public void setBoolean(Property property, boolean value)
setBoolean
in interface DataObject
property
- the property to set.value
- the new value for the property.DataObject.set(Property, Object)
public void setByte(Property property, byte value)
setByte
in interface DataObject
property
- the property to set.value
- the new value for the property.DataObject.set(Property, Object)
public void setBytes(Property property, byte[] value)
setBytes
in interface DataObject
property
- the property to set.value
- the new value for the property.DataObject.set(Property, Object)
public void setChar(Property property, char value)
setChar
in interface DataObject
property
- the property to set.value
- the new value for the property.DataObject.set(Property, Object)
public void setDataObject(Property property, DataObject value)
setDataObject
in interface DataObject
property
- the property to set.value
- the new value for the property.DataObject.set(Property, Object)
public void setDate(Property property, java.util.Date value)
setDate
in interface DataObject
property
- the property to set.value
- the new value for the property.DataObject.set(Property, Object)
public void setDouble(Property property, double value)
setDouble
in interface DataObject
property
- the property to set.value
- the new value for the property.DataObject.set(Property, Object)
public void setFloat(Property property, float value)
setFloat
in interface DataObject
property
- the property to set.value
- the new value for the property.DataObject.set(Property, Object)
public void setInt(Property property, int value)
setInt
in interface DataObject
property
- the property to set.value
- the new value for the property.DataObject.set(Property, Object)
public void setList(Property property, java.util.List value)
setList
in interface DataObject
property
- the property to set.value
- the new value for the property.DataObject.set(Property, Object)
public void setLong(Property property, long value)
setLong
in interface DataObject
property
- the property to set.value
- the new value for the property.DataObject.set(Property, Object)
public void setShort(Property property, short value)
setShort
in interface DataObject
property
- the property to set.value
- the new value for the property.DataObject.set(Property, Object)
public void setString(Property property, java.lang.String value)
setString
in interface DataObject
property
- the property to set.value
- the new value for the property.DataObject.set(Property, Object)
public DataObject createDataObject(java.lang.String propertyName)
createDataObject
in interface DataObject
propertyName
- the name of the specified containment property.
DataObject.createDataObject(String, String, String)
public DataObject createDataObject(int propertyIndex)
createDataObject
in interface DataObject
propertyIndex
- the index of the specified containment property.
DataObject.createDataObject(int, String, String)
public DataObject createDataObject(Property property)
createDataObject
in interface DataObject
property
- the specified containment property.
DataObject.createDataObject(Property, Type)
public DataObject createDataObject(java.lang.String propertyName, java.lang.String namespaceURI, java.lang.String typeName)
createDataObject
in interface DataObject
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.
DataObject.createDataObject(String)
,
DataGraph.getType(java.lang.String, java.lang.String)
public DataObject createDataObject(int propertyIndex, java.lang.String namespaceURI, java.lang.String typeName)
createDataObject
in interface DataObject
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.
DataObject.createDataObject(int)
,
DataGraph.getType(java.lang.String, java.lang.String)
public DataObject createDataObject(Property property, Type type)
createDataObject
in interface DataObject
property
- a containment property of this object.type
- the type of object to be created.
DataObject.createDataObject(int)
public void delete()
delete
in interface DataObject
public java.util.List<Property> getInstanceProperties()
getInstanceProperties
in interface EDataObject
public java.lang.Object writeReplace() throws java.io.ObjectStreamException
writeReplace
in interface InternalEDataObject
java.io.ObjectStreamException
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class BasicEObjectImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class ChangeDescriptionImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class ChangeDescriptionImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class ChangeDescriptionImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class ChangeDescriptionImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class ChangeDescriptionImpl
public int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
eBaseStructuralFeatureID
in interface InternalEObject
eBaseStructuralFeatureID
in class BasicEObjectImpl
public int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
eDerivedStructuralFeatureID
in interface InternalEObject
eDerivedStructuralFeatureID
in class BasicEObjectImpl
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |