|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.apache.tuscany.sdo.impl.DataObjectImpl
public abstract class DataObjectImpl
Base implementation of the SDO DataObject interface. This implementation allocates the minimum storage overhead needed for SDO. It provides a complete implementation of the API, but does not, however, allocate any storage for the actual properties of the data object. It instead requires subclasses for this purpose. The subclass, DynamicDataObjectImpl serves as a concrete implementation class for dynamic data objects. Static data object storage is provided by generated classes, which also directly or indirectly derive from this class.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary | |
---|---|
protected ChangeSummaryImpl.SDOChangeRecorder |
changeRecorder
|
protected org.eclipse.emf.common.util.BasicEList |
eAdapters
|
protected org.eclipse.emf.ecore.InternalEObject |
eContainer
|
protected int |
eContainerFeatureID
|
protected Object |
location
|
protected Sequence |
sequence
|
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 |
DataObjectImpl()
|
Method Summary | |
---|---|
DataObject |
createDataObject(int propertyIndex)
|
DataObject |
createDataObject(int propertyIndex,
String namespaceURI,
String typeName)
|
DataObject |
createDataObject(Property property)
|
DataObject |
createDataObject(Property property,
Type type)
|
DataObject |
createDataObject(String propertyName)
|
DataObject |
createDataObject(String propertyName,
String namespaceURI,
String typeName)
|
void |
delete()
|
void |
detach()
|
org.eclipse.emf.common.util.EList |
eAdapters()
|
org.eclipse.emf.common.util.BasicEList |
eBasicAdapters()
|
protected void |
eBasicSetContainer(org.eclipse.emf.ecore.InternalEObject newContainer,
int newContainerFeatureID)
|
org.eclipse.emf.ecore.EClass |
eClass()
|
int |
eContainerFeatureID()
|
org.eclipse.emf.common.util.EList |
eContents()
|
org.eclipse.emf.common.util.EList |
eCrossReferences()
|
boolean |
eDeliver()
|
org.eclipse.emf.ecore.resource.Resource.Internal |
eDirectResource()
|
protected org.eclipse.emf.ecore.EClass |
eDynamicClass()
|
Object |
eDynamicGet(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eDynamicIsSet(int featureID)
|
void |
eDynamicSet(int featureID,
Object newValue)
|
void |
eDynamicUnset(int featureID)
|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
protected boolean |
eHasSettings()
|
org.eclipse.emf.ecore.InternalEObject |
eInternalContainer()
|
boolean |
eIsProxy()
|
boolean |
eIsSet(int featureID)
|
boolean |
eNotificationRequired()
|
void |
eNotify(org.eclipse.emf.common.notify.Notification notification)
|
org.eclipse.emf.common.util.URI |
eProxyURI()
|
void |
eSet(int featureID,
Object newValue)
|
void |
eSetClass(org.eclipse.emf.ecore.EClass eClass)
|
protected void |
eSetDirectResource(org.eclipse.emf.ecore.resource.Resource.Internal resource)
|
void |
eSetProxyURI(org.eclipse.emf.common.util.URI uri)
|
protected org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder |
eSettings()
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
Object |
get(int propertyIndex)
|
Object |
get(Property property)
|
Object |
get(String path)
|
BigDecimal |
getBigDecimal(int propertyIndex)
|
BigDecimal |
getBigDecimal(Property property)
|
BigDecimal |
getBigDecimal(String path)
|
BigInteger |
getBigInteger(int propertyIndex)
|
BigInteger |
getBigInteger(Property property)
|
BigInteger |
getBigInteger(String path)
|
boolean |
getBoolean(int propertyIndex)
|
boolean |
getBoolean(Property property)
|
boolean |
getBoolean(String path)
|
byte |
getByte(int propertyIndex)
|
byte |
getByte(Property property)
|
byte |
getByte(String path)
|
byte[] |
getBytes(int propertyIndex)
|
byte[] |
getBytes(Property property)
|
byte[] |
getBytes(String path)
|
ChangeSummary |
getChangeSummary()
|
char |
getChar(int propertyIndex)
|
char |
getChar(Property property)
|
char |
getChar(String path)
|
DataObject |
getContainer()
|
Property |
getContainmentProperty()
|
DataGraph |
getDataGraph()
|
DataObject |
getDataObject(int propertyIndex)
|
DataObject |
getDataObject(Property property)
|
DataObject |
getDataObject(String path)
|
Date |
getDate(int propertyIndex)
|
Date |
getDate(Property property)
|
Date |
getDate(String path)
|
double |
getDouble(int propertyIndex)
|
double |
getDouble(Property property)
|
double |
getDouble(String path)
|
float |
getFloat(int propertyIndex)
|
float |
getFloat(Property property)
|
float |
getFloat(String path)
|
List |
getInstanceProperties()
|
Property |
getInstanceProperty(String propertyName)
|
int |
getInt(int propertyIndex)
|
int |
getInt(Property property)
|
int |
getInt(String path)
|
List |
getList(int propertyIndex)
|
List |
getList(Property property)
|
List |
getList(String path)
|
long |
getLong(int propertyIndex)
|
long |
getLong(Property property)
|
long |
getLong(String path)
|
Property |
getProperty(String propertyName)
Deprecated. |
DataObject |
getRootObject()
|
Sequence |
getSequence()
|
Sequence |
getSequence(int propertyIndex)
|
Sequence |
getSequence(Property property)
|
Sequence |
getSequence(String path)
|
short |
getShort(int propertyIndex)
|
short |
getShort(Property property)
|
short |
getShort(String path)
|
String |
getString(int propertyIndex)
|
String |
getString(Property property)
|
String |
getString(String path)
|
Type |
getType()
|
boolean |
isSet(int propertyIndex)
|
boolean |
isSet(Property property)
|
boolean |
isSet(String path)
|
void |
set(int propertyIndex,
Object value)
|
void |
set(Property property,
Object value)
|
void |
set(String path,
Object value)
|
void |
setBigDecimal(int propertyIndex,
BigDecimal value)
|
void |
setBigDecimal(Property property,
BigDecimal value)
|
void |
setBigDecimal(String path,
BigDecimal value)
|
void |
setBigInteger(int propertyIndex,
BigInteger value)
|
void |
setBigInteger(Property property,
BigInteger value)
|
void |
setBigInteger(String path,
BigInteger value)
|
void |
setBoolean(int propertyIndex,
boolean value)
|
void |
setBoolean(Property property,
boolean value)
|
void |
setBoolean(String path,
boolean value)
|
void |
setByte(int propertyIndex,
byte value)
|
void |
setByte(Property property,
byte value)
|
void |
setByte(String path,
byte value)
|
void |
setBytes(int propertyIndex,
byte[] value)
|
void |
setBytes(Property property,
byte[] value)
|
void |
setBytes(String path,
byte[] value)
|
void |
setChangeRecorder(ChangeSummaryImpl.SDOChangeRecorder changeRecorder)
|
void |
setChar(int propertyIndex,
char value)
|
void |
setChar(Property property,
char value)
|
void |
setChar(String path,
char value)
|
void |
setDataObject(int propertyIndex,
DataObject value)
|
void |
setDataObject(Property property,
DataObject value)
|
void |
setDataObject(String path,
DataObject value)
|
void |
setDate(int propertyIndex,
Date value)
|
void |
setDate(Property property,
Date value)
|
void |
setDate(String path,
Date value)
|
void |
setDouble(int propertyIndex,
double value)
|
void |
setDouble(Property property,
double value)
|
void |
setDouble(String path,
double value)
|
void |
setFloat(int propertyIndex,
float value)
|
void |
setFloat(Property property,
float value)
|
void |
setFloat(String path,
float value)
|
void |
setInt(int propertyIndex,
int value)
|
void |
setInt(Property property,
int value)
|
void |
setInt(String path,
int value)
|
void |
setList(int propertyIndex,
List value)
|
void |
setList(Property property,
List value)
|
void |
setList(String path,
List value)
|
void |
setLong(int propertyIndex,
long value)
|
void |
setLong(Property property,
long value)
|
void |
setLong(String path,
long value)
|
void |
setShort(int propertyIndex,
short value)
|
void |
setShort(Property property,
short value)
|
void |
setShort(String path,
short value)
|
void |
setString(int propertyIndex,
String value)
|
void |
setString(Property property,
String value)
|
void |
setString(String path,
String value)
|
void |
unset(int propertyIndex)
|
void |
unset(Property property)
|
void |
unset(String path)
|
Object |
writeReplace()
|
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicProperties, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProperties, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, 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 |
---|
eBasicAdapterArray, eBasicHasAdapters, eSetDeliver |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eSetDeliver |
Field Detail |
---|
protected org.eclipse.emf.ecore.InternalEObject eContainer
protected int eContainerFeatureID
protected ChangeSummaryImpl.SDOChangeRecorder changeRecorder
protected Object location
protected org.eclipse.emf.common.util.BasicEList eAdapters
protected Sequence sequence
Constructor Detail |
---|
protected DataObjectImpl()
Method Detail |
---|
public Object get(int propertyIndex)
get
in interface DataObject
propertyIndex
- the index of the property.
DataObject.get(Property)
public void set(int propertyIndex, 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 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, 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 Type getType()
getType
in interface DataObject
public Object writeReplace() throws ObjectStreamException
ObjectStreamException
public Object get(String path)
get
in interface DataObject
path
- the path to a valid object and property.
DataObject.get(Property)
public void set(String path, 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(String path)
isSet
in interface DataObject
path
- the path to a valid object and property.DataObject.isSet(Property)
public void unset(String path)
unset
in interface DataObject
path
- the path to a valid object and property.DataObject.unset(Property)
public DataGraph getDataGraph()
getDataGraph
in interface DataObject
null
.public BigDecimal getBigDecimal(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 BigInteger getBigInteger(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(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(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(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(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(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 Date getDate(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(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(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(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 List getList(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(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(String path)
getSequence
in interface DataObject
path
- the path to a valid object and property.
Sequence
value of the specified property.Returns the value of a Sequence
property identified by the specified path.
An implementation may throw an UnsupportedOperationException.
,
DataObject.get(String)
public short getShort(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 String getString(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(String path, 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(String path, 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(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(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(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(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(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(String path, 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(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(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(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(String path, 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)
,
DataObject.setList(Property, List)
public void setLong(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(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(String path, 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 BigDecimal getBigDecimal(int propertyIndex)
getBigDecimal
in interface DataObject
propertyIndex
- the index of the property.
BigDecimal
value of the specified property.DataObject.get(int)
public 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 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 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.
Sequence
value of the specified property.Returns the value of a Sequence
property identified by the specified property index.
An implementation may throw an UnsupportedOperationException.
,
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 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, 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, 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, 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, List value)
setList
in interface DataObject
propertyIndex
- the index of the property.value
- the new value for the property.DataObject.set(int, Object)
,
DataObject.setList(Property, List)
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, String value)
setString
in interface DataObject
propertyIndex
- the index of the property.value
- the new value for the property.DataObject.set(int, Object)
public BigDecimal getBigDecimal(Property property)
getBigDecimal
in interface DataObject
property
- the property to get.
BigDecimal
value of the specified property.DataObject.get(Property)
public 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 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 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.
Sequence
value of the specified property.Returns the value of the specified Sequence
property.
An implementation may throw an UnsupportedOperationException.
,
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 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, 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, 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, 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, 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, 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(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(String propertyName, String namespaceURI, 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, String namespaceURI, 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 Sequence getSequence()
getSequence
in interface DataObject
Sequence
or null.public List getInstanceProperties()
getInstanceProperties
in interface DataObject
public Property getInstanceProperty(String propertyName)
getInstanceProperty
in interface DataObject
propertyName
- the name of the Property
public Property getProperty(String propertyName)
getProperty
in interface DataObject
public DataObject getRootObject()
getRootObject
in interface DataObject
public ChangeSummary getChangeSummary()
getChangeSummary
in interface DataObject
public void detach()
detach
in interface DataObject
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eNotificationRequired()
eNotificationRequired
in interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
in class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
public boolean eDeliver()
eDeliver
in interface org.eclipse.emf.common.notify.Notifier
eDeliver
in class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
public void eNotify(org.eclipse.emf.common.notify.Notification notification)
eNotify
in interface org.eclipse.emf.common.notify.Notifier
eNotify
in class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
public void setChangeRecorder(ChangeSummaryImpl.SDOChangeRecorder changeRecorder)
public org.eclipse.emf.ecore.InternalEObject eInternalContainer()
eInternalContainer
in interface org.eclipse.emf.ecore.InternalEObject
eInternalContainer
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public int eContainerFeatureID()
eContainerFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eContainerFeatureID
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
protected void eBasicSetContainer(org.eclipse.emf.ecore.InternalEObject newContainer, int newContainerFeatureID)
eBasicSetContainer
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public org.eclipse.emf.ecore.EClass eClass()
eClass
in interface org.eclipse.emf.ecore.EObject
eClass
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public org.eclipse.emf.common.util.EList eContents()
eContents
in interface org.eclipse.emf.ecore.EObject
eContents
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public org.eclipse.emf.common.util.EList eCrossReferences()
eCrossReferences
in interface org.eclipse.emf.ecore.EObject
eCrossReferences
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public org.eclipse.emf.ecore.resource.Resource.Internal eDirectResource()
eDirectResource
in interface org.eclipse.emf.ecore.InternalEObject
eDirectResource
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
protected org.eclipse.emf.ecore.EClass eDynamicClass()
eDynamicClass
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
protected boolean eHasSettings()
eHasSettings
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsProxy()
eIsProxy
in interface org.eclipse.emf.ecore.EObject
eIsProxy
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public org.eclipse.emf.common.util.URI eProxyURI()
eProxyURI
in interface org.eclipse.emf.ecore.InternalEObject
eProxyURI
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSetClass(org.eclipse.emf.ecore.EClass eClass)
eSetClass
in interface org.eclipse.emf.ecore.InternalEObject
eSetClass
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
protected void eSetDirectResource(org.eclipse.emf.ecore.resource.Resource.Internal resource)
eSetDirectResource
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSetProxyURI(org.eclipse.emf.common.util.URI uri)
eSetProxyURI
in interface org.eclipse.emf.ecore.InternalEObject
eSetProxyURI
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
protected org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder eSettings()
eSettings
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID, Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public Object eDynamicGet(int featureID, boolean resolve, boolean coreType)
eDynamicGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eDynamicSet(int featureID, Object newValue)
eDynamicSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eDynamicUnset(int featureID)
eDynamicUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eDynamicIsSet(int featureID)
eDynamicIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public org.eclipse.emf.common.util.EList eAdapters()
eAdapters
in interface org.eclipse.emf.common.notify.Notifier
eAdapters
in class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
public org.eclipse.emf.common.util.BasicEList eBasicAdapters()
eBasicAdapters
in class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |