|
EclipseLink1.0 - 20080707 API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.sdo.SDODataObject
public class SDODataObject
Constructor Summary | |
---|---|
SDODataObject()
INTERNAL: Private constructor. |
Method Summary | |
---|---|
java.lang.String |
_getContainmentPropertyName()
INTERNAL: Return the name of the Property of the DataObject containing this data object or null if there is no container. |
ValueStore |
_getCurrentValueStore()
INTERNAL: Map interface into the currentValueStore of this DataObject. |
java.util.List |
_getOpenContentProperties()
INTERNAL: Returns a list of the Properties currently used in this DataObject which are not included in getType().getProperties |
java.util.List |
_getOpenContentPropertiesAttributes()
|
java.util.Map |
_getOpenContentPropertiesAttributesMap()
|
java.util.List |
_getOpenContentPropertiesWithXMLRoots()
INTERNAL: This function is implemented by SDOType.setOpen() in a mapping setGet/SetMethodName call |
java.lang.String |
_getPath()
INTERNAL: Return an SDO Path string from root of the caller to itself |
java.lang.String |
_getSdoRef()
INTERNAL: Return the sdoref attribute value during unmarshaling |
void |
_setChangeSummary(commonj.sdo.ChangeSummary aChangeSummary)
INTERNAL: Recursively Set this DataObject's ChangeSummary as passed in value. |
void |
_setContainer(commonj.sdo.DataObject aContainer)
INTERNAL: Sets the DataObject which contains this DataObject. |
void |
_setContainmentPropertyName(java.lang.String aContainmentPropertyName)
INTERNAL: Sets the name of the property on the containing DataObject which contains this DataObject as a value. |
void |
_setCreated(boolean created)
INTERNAL: Set flag created value. |
void |
_setCurrentValueStore(ValueStore aValueStore)
INTERNAL: Pluggable Interface for substituting the default Map with a custom Map Class |
void |
_setHelperContext(commonj.sdo.helper.HelperContext aContext)
INTERNAL: Set the HelperContext that will be associated with this DataObject. |
void |
_setModified(boolean modified)
INTERNAL: Set flag modified value. |
void |
_setOpenContentPropertiesAttributes(java.util.List openContentPropertiesAttributes)
|
void |
_setOpenContentPropertiesAttributesMap(java.util.Map openAttributeProperties)
|
void |
_setOpenContentPropertiesWithXMLRoots(java.util.List openContentPropertiesWithXMLRoots)
INTERNAL: This function is implemented by SDOType.setOpen() in a mapping setGet/SetMethodName call |
void |
_setSdoRef(java.lang.String newRef)
|
void |
_setType(commonj.sdo.Type aType)
INTERNAL: |
void |
addOpenContentProperty(commonj.sdo.Property property)
INTERNAL: Add the open content property into all 3 data structures. |
java.lang.Object |
convertObjectToValue(commonj.sdo.Property property,
java.lang.Class cls)
INTERNAL: |
java.lang.Object |
convertObjectToValue(commonj.sdo.Property property,
int position,
java.lang.Class cls)
INTERNAL: |
commonj.sdo.DataObject |
createDataObject(int propertyIndex)
|
commonj.sdo.DataObject |
createDataObject(int propertyIndex,
java.lang.String namespaceURI,
java.lang.String typeName)
|
commonj.sdo.DataObject |
createDataObject(commonj.sdo.Property aProperty)
|
commonj.sdo.DataObject |
createDataObject(commonj.sdo.Property property,
commonj.sdo.Type aType)
|
commonj.sdo.DataObject |
createDataObject(java.lang.String propertyName)
|
commonj.sdo.DataObject |
createDataObject(java.lang.String propertyName,
java.lang.String namespaceURI,
java.lang.String typeName)
|
commonj.sdo.Property |
defineOpenContentProperty(java.lang.String name,
java.lang.Object value)
INTERNAL: Create a dynamic open content property if no property exists for (name). |
commonj.sdo.Property |
defineOpenContentProperty(java.lang.String name,
java.lang.Object value,
commonj.sdo.Type sdotype)
|
void |
delete()
|
void |
detach()
|
void |
detachOrDelete(boolean fromDelete)
INTERNAL: Recursively walk the tree and set oldSettings for a detached/deleted object. |
java.lang.Object |
get(int propertyIndex)
|
java.lang.Object |
get(commonj.sdo.Property property)
|
java.lang.Object |
get(java.lang.String path)
|
java.math.BigDecimal |
getBigDecimal(int propertyIndex)
|
java.math.BigDecimal |
getBigDecimal(commonj.sdo.Property property)
|
java.math.BigDecimal |
getBigDecimal(java.lang.String path)
|
java.math.BigInteger |
getBigInteger(int propertyIndex)
|
java.math.BigInteger |
getBigInteger(commonj.sdo.Property property)
|
java.math.BigInteger |
getBigInteger(java.lang.String path)
|
boolean |
getBoolean(int propertyIndex)
|
boolean |
getBoolean(commonj.sdo.Property property)
|
boolean |
getBoolean(java.lang.String path)
|
byte |
getByte(int propertyIndex)
|
byte |
getByte(commonj.sdo.Property property)
|
byte |
getByte(java.lang.String path)
|
byte[] |
getBytes(int propertyIndex)
|
byte[] |
getBytes(commonj.sdo.Property property)
|
byte[] |
getBytes(java.lang.String path)
|
commonj.sdo.ChangeSummary |
getChangeSummary()
|
char |
getChar(int propertyIndex)
|
char |
getChar(commonj.sdo.Property property)
|
char |
getChar(java.lang.String path)
|
commonj.sdo.DataObject |
getContainer()
|
SDOProperty |
getContainmentProperty()
|
commonj.sdo.DataGraph |
getDataGraph()
|
commonj.sdo.DataObject |
getDataObject(int propertyIndex)
|
commonj.sdo.DataObject |
getDataObject(commonj.sdo.Property property)
|
commonj.sdo.DataObject |
getDataObject(java.lang.String path)
|
java.util.Date |
getDate(int propertyIndex)
|
java.util.Date |
getDate(commonj.sdo.Property property)
|
java.util.Date |
getDate(java.lang.String path)
|
double |
getDouble(int propertyIndex)
|
double |
getDouble(commonj.sdo.Property property)
|
double |
getDouble(java.lang.String path)
|
float |
getFloat(int propertyIndex)
|
float |
getFloat(commonj.sdo.Property property)
|
float |
getFloat(java.lang.String path)
|
java.util.List |
getInstanceProperties()
|
SDOProperty |
getInstanceProperty(int propertyIndex)
INTERNAL: |
SDOProperty |
getInstanceProperty(java.lang.String propertyName)
|
int |
getInt(int propertyIndex)
|
int |
getInt(commonj.sdo.Property property)
|
int |
getInt(java.lang.String path)
|
java.util.List |
getList(int propertyIndex)
|
java.util.List |
getList(commonj.sdo.Property property)
|
java.util.List |
getList(java.lang.String path)
|
long |
getLong(int propertyIndex)
|
long |
getLong(commonj.sdo.Property property)
|
long |
getLong(java.lang.String path)
|
commonj.sdo.Property |
getProperty(java.lang.String propertyName)
|
java.lang.Object |
getPropertyInternal(commonj.sdo.Property property)
INTERNAL: Get the value of the property (open-content or declared).. |
commonj.sdo.DataObject |
getRootObject()
|
commonj.sdo.Sequence |
getSequence()
|
commonj.sdo.Sequence |
getSequence(int propertyIndex)
Deprecated. in SDO 2.1.0. |
commonj.sdo.Sequence |
getSequence(commonj.sdo.Property property)
Deprecated. in SDO 2.1.0. |
commonj.sdo.Sequence |
getSequence(java.lang.String path)
Deprecated. in SDO 2.1.0. |
java.util.List<Setting> |
getSettings()
|
short |
getShort(int propertyIndex)
|
short |
getShort(commonj.sdo.Property property)
|
short |
getShort(java.lang.String path)
|
java.lang.String |
getString(int propertyIndex)
|
java.lang.String |
getString(commonj.sdo.Property property)
|
java.lang.String |
getString(java.lang.String path)
|
SDOType |
getType()
|
boolean |
isSet(int propertyIndex)
|
boolean |
isSet(commonj.sdo.Property property)
|
boolean |
isSet(java.lang.String path)
|
boolean |
isSetInternal(commonj.sdo.Property property)
INTERNAL: Return whether the property (open-content or declared) is set? |
boolean |
parentContains(java.lang.Object value)
INTERNAL: |
void |
removeOpenContentProperty(commonj.sdo.Property property)
INTERNAL: Remove the open content property (property) from all 3 data structures. |
void |
resetChanges()
INTERNAL: Initialize all old settings related to ChangeSummary and recursively go down the tree to initialize all DataObjects rooted at this DataObject. |
void |
set(int propertyIndex,
java.lang.Object value)
|
void |
set(commonj.sdo.Property property,
java.lang.Object value)
|
void |
set(SDOProperty property,
java.lang.Object value,
boolean updateSequence)
INTERNAL: Sets the value of the given property of the object to the new value. |
void |
set(java.lang.String path,
java.lang.Object value)
|
void |
setBigDecimal(int propertyIndex,
java.math.BigDecimal value)
|
void |
setBigDecimal(commonj.sdo.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(commonj.sdo.Property property,
java.math.BigInteger value)
|
void |
setBigInteger(java.lang.String path,
java.math.BigInteger value)
|
void |
setBoolean(int propertyIndex,
boolean value)
|
void |
setBoolean(commonj.sdo.Property property,
boolean value)
|
void |
setBoolean(java.lang.String path,
boolean value)
|
void |
setByte(int propertyIndex,
byte value)
|
void |
setByte(commonj.sdo.Property property,
byte value)
|
void |
setByte(java.lang.String path,
byte value)
|
void |
setBytes(int propertyIndex,
byte[] value)
|
void |
setBytes(commonj.sdo.Property property,
byte[] value)
|
void |
setBytes(java.lang.String path,
byte[] value)
|
void |
setChar(int propertyIndex,
char value)
|
void |
setChar(commonj.sdo.Property property,
char value)
|
void |
setChar(java.lang.String path,
char value)
|
void |
setDataGraph(commonj.sdo.DataGraph dataGraph)
|
void |
setDataObject(int propertyIndex,
commonj.sdo.DataObject value)
|
void |
setDataObject(commonj.sdo.Property property,
commonj.sdo.DataObject value)
|
void |
setDataObject(java.lang.String path,
commonj.sdo.DataObject value)
|
void |
setDate(int propertyIndex,
java.util.Date value)
|
void |
setDate(commonj.sdo.Property property,
java.util.Date value)
|
void |
setDate(java.lang.String path,
java.util.Date value)
|
void |
setDouble(int propertyIndex,
double value)
|
void |
setDouble(commonj.sdo.Property property,
double value)
|
void |
setDouble(java.lang.String path,
double value)
|
void |
setFloat(int propertyIndex,
float value)
|
void |
setFloat(commonj.sdo.Property property,
float value)
|
void |
setFloat(java.lang.String path,
float value)
|
void |
setInt(int propertyIndex,
int value)
|
void |
setInt(commonj.sdo.Property property,
int value)
|
void |
setInt(java.lang.String path,
int value)
|
void |
setInternal(SDOProperty property,
java.lang.Object value,
boolean updateSequence)
|
void |
setList(int propertyIndex,
java.util.List value)
|
void |
setList(commonj.sdo.Property property,
java.util.List value)
|
void |
setList(java.lang.String path,
java.util.List value)
|
void |
setLong(int propertyIndex,
long value)
|
void |
setLong(commonj.sdo.Property property,
long value)
|
void |
setLong(java.lang.String path,
long value)
|
void |
setPropertyInternal(SDOProperty property,
java.lang.Object value,
boolean updateSequence)
INTERNAL: Update the ValueStore with the new property value and update any sequence if it exists. |
void |
setShort(int propertyIndex,
short value)
|
void |
setShort(commonj.sdo.Property property,
short value)
|
void |
setShort(java.lang.String path,
short value)
|
void |
setString(int propertyIndex,
java.lang.String value)
|
void |
setString(commonj.sdo.Property property,
java.lang.String value)
|
void |
setString(java.lang.String path,
java.lang.String value)
|
void |
undoChanges(boolean isCSRoot,
commonj.sdo.ChangeSummary cs,
SDODataObject origContainer,
java.lang.String origContainmentPropName)
INTERNAL: This function reverses any operations that were performed on this object since change tracking was turned on. |
void |
unset(int propertyIndex)
|
void |
unset(commonj.sdo.Property property)
|
void |
unset(commonj.sdo.Property property,
boolean fromDelete,
boolean updateSequence)
INTERNAL: Unset the specified property on this DataObject. |
void |
unset(java.lang.String path)
|
void |
updateContainment(commonj.sdo.Property property,
java.util.Collection values)
INTERNAL: Update containment on the specified collection of values and default to true = update the sequence |
void |
updateContainment(commonj.sdo.Property property,
java.util.Collection values,
boolean updateSequence)
INTERNAL: Update containment with flagged update sequence state |
void |
updateContainment(commonj.sdo.Property property,
commonj.sdo.DataObject value)
INTERNAL: update containment and the update the sequence value by default. |
void |
updateContainment(commonj.sdo.Property property,
commonj.sdo.DataObject value,
boolean updateSequence)
INTERNAL: Update containment on the dataObject with specified update sequence state |
java.lang.Object |
writeReplace()
INTERNAL: Defined in SDO 2.01 spec on page 65 Externalizable function is called by ObjectStream.writeObject() A replacement object for serialization can be called here. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SDODataObject()
#SDODataObject(HelperContext)
instead
Method Detail |
---|
public void _setHelperContext(commonj.sdo.helper.HelperContext aContext)
aContext
- public java.lang.Object get(java.lang.String path)
get
in interface commonj.sdo.DataObject
public void set(java.lang.String path, java.lang.Object value) throws java.lang.ClassCastException, java.lang.UnsupportedOperationException, java.lang.IllegalArgumentException
set
in interface commonj.sdo.DataObject
java.lang.ClassCastException
java.lang.UnsupportedOperationException
java.lang.IllegalArgumentException
public boolean isSet(java.lang.String path)
isSet
in interface commonj.sdo.DataObject
public void unset(java.lang.String path)
unset
in interface commonj.sdo.DataObject
public boolean getBoolean(java.lang.String path) throws java.lang.ClassCastException
getBoolean
in interface commonj.sdo.DataObject
java.lang.ClassCastException
public byte getByte(java.lang.String path)
getByte
in interface commonj.sdo.DataObject
public char getChar(java.lang.String path)
getChar
in interface commonj.sdo.DataObject
public double getDouble(java.lang.String path)
getDouble
in interface commonj.sdo.DataObject
public float getFloat(java.lang.String path)
getFloat
in interface commonj.sdo.DataObject
public int getInt(java.lang.String path)
getInt
in interface commonj.sdo.DataObject
public long getLong(java.lang.String path)
getLong
in interface commonj.sdo.DataObject
public short getShort(java.lang.String path)
getShort
in interface commonj.sdo.DataObject
public byte[] getBytes(java.lang.String path)
getBytes
in interface commonj.sdo.DataObject
public java.math.BigDecimal getBigDecimal(java.lang.String path)
getBigDecimal
in interface commonj.sdo.DataObject
public java.math.BigInteger getBigInteger(java.lang.String path)
getBigInteger
in interface commonj.sdo.DataObject
public commonj.sdo.DataObject getDataObject(java.lang.String path) throws java.lang.ClassCastException
getDataObject
in interface commonj.sdo.DataObject
java.lang.ClassCastException
public java.util.Date getDate(java.lang.String path)
getDate
in interface commonj.sdo.DataObject
public java.lang.String getString(java.lang.String path)
getString
in interface commonj.sdo.DataObject
public java.util.List getList(java.lang.String path)
getList
in interface commonj.sdo.DataObject
public void setBoolean(java.lang.String path, boolean value)
setBoolean
in interface commonj.sdo.DataObject
public void setByte(java.lang.String path, byte value)
setByte
in interface commonj.sdo.DataObject
public void setChar(java.lang.String path, char value)
setChar
in interface commonj.sdo.DataObject
public void setDouble(java.lang.String path, double value)
setDouble
in interface commonj.sdo.DataObject
public void setFloat(java.lang.String path, float value)
setFloat
in interface commonj.sdo.DataObject
public void setInt(java.lang.String path, int value)
setInt
in interface commonj.sdo.DataObject
public void setLong(java.lang.String path, long value)
setLong
in interface commonj.sdo.DataObject
public void setShort(java.lang.String path, short value)
setShort
in interface commonj.sdo.DataObject
public void setBytes(java.lang.String path, byte[] value)
setBytes
in interface commonj.sdo.DataObject
public void setBigDecimal(java.lang.String path, java.math.BigDecimal value)
setBigDecimal
in interface commonj.sdo.DataObject
public void setBigInteger(java.lang.String path, java.math.BigInteger value)
setBigInteger
in interface commonj.sdo.DataObject
public void setDataObject(java.lang.String path, commonj.sdo.DataObject value)
setDataObject
in interface commonj.sdo.DataObject
public void setDate(java.lang.String path, java.util.Date value)
setDate
in interface commonj.sdo.DataObject
public void setString(java.lang.String path, java.lang.String value)
setString
in interface commonj.sdo.DataObject
public void setList(java.lang.String path, java.util.List value)
setList
in interface commonj.sdo.DataObject
public java.lang.Object get(int propertyIndex) throws java.lang.IllegalArgumentException
get
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
public void set(int propertyIndex, java.lang.Object value)
set
in interface commonj.sdo.DataObject
public boolean isSet(int propertyIndex)
isSet
in interface commonj.sdo.DataObject
public void unset(int propertyIndex)
unset
in interface commonj.sdo.DataObject
public boolean getBoolean(int propertyIndex) throws java.lang.IllegalArgumentException, java.lang.ClassCastException
getBoolean
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
java.lang.ClassCastException
public byte getByte(int propertyIndex) throws java.lang.IllegalArgumentException, java.lang.ClassCastException
getByte
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
java.lang.ClassCastException
public char getChar(int propertyIndex) throws java.lang.IllegalArgumentException, java.lang.ClassCastException
getChar
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
java.lang.ClassCastException
public double getDouble(int propertyIndex) throws java.lang.IllegalArgumentException, java.lang.ClassCastException
getDouble
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
java.lang.ClassCastException
public float getFloat(int propertyIndex) throws java.lang.IllegalArgumentException, java.lang.ClassCastException
getFloat
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
java.lang.ClassCastException
public int getInt(int propertyIndex) throws java.lang.IllegalArgumentException, java.lang.ClassCastException
getInt
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
java.lang.ClassCastException
public long getLong(int propertyIndex) throws java.lang.IllegalArgumentException, java.lang.ClassCastException
getLong
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
java.lang.ClassCastException
public short getShort(int propertyIndex) throws java.lang.IllegalArgumentException, java.lang.ClassCastException
getShort
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
java.lang.ClassCastException
public byte[] getBytes(int propertyIndex) throws java.lang.IllegalArgumentException, java.lang.ClassCastException
getBytes
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
java.lang.ClassCastException
public java.math.BigDecimal getBigDecimal(int propertyIndex) throws java.lang.IllegalArgumentException, java.lang.ClassCastException
getBigDecimal
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
java.lang.ClassCastException
public java.math.BigInteger getBigInteger(int propertyIndex) throws java.lang.IllegalArgumentException, java.lang.ClassCastException
getBigInteger
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
java.lang.ClassCastException
public commonj.sdo.DataObject getDataObject(int propertyIndex)
getDataObject
in interface commonj.sdo.DataObject
public java.util.Date getDate(int propertyIndex) throws java.lang.IllegalArgumentException, java.lang.ClassCastException
getDate
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
java.lang.ClassCastException
public java.lang.String getString(int propertyIndex) throws java.lang.IllegalArgumentException, java.lang.ClassCastException
getString
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
java.lang.ClassCastException
public java.util.List getList(int propertyIndex)
getList
in interface commonj.sdo.DataObject
public commonj.sdo.Sequence getSequence(java.lang.String path)
getSequence
in interface commonj.sdo.DataObject
public commonj.sdo.Sequence getSequence(int propertyIndex)
getSequence
in interface commonj.sdo.DataObject
public commonj.sdo.Sequence getSequence(commonj.sdo.Property property)
getSequence
in interface commonj.sdo.DataObject
public commonj.sdo.Sequence getSequence()
getSequence
in interface commonj.sdo.DataObject
public void setBoolean(int propertyIndex, boolean value)
setBoolean
in interface commonj.sdo.DataObject
public void setByte(int propertyIndex, byte value)
setByte
in interface commonj.sdo.DataObject
public void setChar(int propertyIndex, char value)
setChar
in interface commonj.sdo.DataObject
public void setDouble(int propertyIndex, double value)
setDouble
in interface commonj.sdo.DataObject
public void setFloat(int propertyIndex, float value)
setFloat
in interface commonj.sdo.DataObject
public void setInt(int propertyIndex, int value)
setInt
in interface commonj.sdo.DataObject
public void setLong(int propertyIndex, long value)
setLong
in interface commonj.sdo.DataObject
public void setShort(int propertyIndex, short value)
setShort
in interface commonj.sdo.DataObject
public void setBytes(int propertyIndex, byte[] value)
setBytes
in interface commonj.sdo.DataObject
public void setBigDecimal(int propertyIndex, java.math.BigDecimal value)
setBigDecimal
in interface commonj.sdo.DataObject
public void setBigInteger(int propertyIndex, java.math.BigInteger value)
setBigInteger
in interface commonj.sdo.DataObject
public void setDataObject(int propertyIndex, commonj.sdo.DataObject value)
setDataObject
in interface commonj.sdo.DataObject
public void setDate(int propertyIndex, java.util.Date value)
setDate
in interface commonj.sdo.DataObject
public void setString(int propertyIndex, java.lang.String value)
setString
in interface commonj.sdo.DataObject
public void setList(int propertyIndex, java.util.List value)
setList
in interface commonj.sdo.DataObject
public java.lang.Object get(commonj.sdo.Property property) throws java.lang.IllegalArgumentException
get
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
public commonj.sdo.Property defineOpenContentProperty(java.lang.String name, java.lang.Object value) throws java.lang.UnsupportedOperationException, java.lang.IllegalArgumentException
name
- value
-
java.lang.UnsupportedOperationException
java.lang.IllegalArgumentException
public commonj.sdo.Property defineOpenContentProperty(java.lang.String name, java.lang.Object value, commonj.sdo.Type sdotype) throws java.lang.UnsupportedOperationException, java.lang.IllegalArgumentException
java.lang.UnsupportedOperationException
java.lang.IllegalArgumentException
public void set(commonj.sdo.Property property, java.lang.Object value) throws java.lang.UnsupportedOperationException, java.lang.IllegalArgumentException
set
in interface commonj.sdo.DataObject
java.lang.UnsupportedOperationException
java.lang.IllegalArgumentException
public void setInternal(SDOProperty property, java.lang.Object value, boolean updateSequence) throws java.lang.UnsupportedOperationException, java.lang.IllegalArgumentException
java.lang.UnsupportedOperationException
java.lang.IllegalArgumentException
public void set(SDOProperty property, java.lang.Object value, boolean updateSequence) throws java.lang.UnsupportedOperationException, java.lang.IllegalArgumentException
The use of a false updateSequence flag is internally implemented during an SDOSequence.add() call. Refactor: we need to abstract this function using a type of Command pattern to handle the sequence context.
property
- value
- updateSequence
-
java.lang.UnsupportedOperationException
java.lang.IllegalArgumentException
public boolean isSet(commonj.sdo.Property property)
isSet
in interface commonj.sdo.DataObject
public void unset(commonj.sdo.Property property)
unset
in interface commonj.sdo.DataObject
public void unset(commonj.sdo.Property property, boolean fromDelete, boolean updateSequence)
property
- fromDelete
- updateSequence
- public boolean getBoolean(commonj.sdo.Property property) throws java.lang.IllegalArgumentException, java.lang.ClassCastException
getBoolean
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
java.lang.ClassCastException
public byte getByte(commonj.sdo.Property property) throws java.lang.IllegalArgumentException, java.lang.ClassCastException
getByte
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
java.lang.ClassCastException
public char getChar(commonj.sdo.Property property) throws java.lang.IllegalArgumentException
getChar
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
public double getDouble(commonj.sdo.Property property) throws java.lang.IllegalArgumentException
getDouble
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
public float getFloat(commonj.sdo.Property property) throws java.lang.IllegalArgumentException
getFloat
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
public int getInt(commonj.sdo.Property property) throws java.lang.IllegalArgumentException
getInt
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
public long getLong(commonj.sdo.Property property) throws java.lang.IllegalArgumentException
getLong
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
public short getShort(commonj.sdo.Property property) throws java.lang.IllegalArgumentException
getShort
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
public byte[] getBytes(commonj.sdo.Property property) throws java.lang.IllegalArgumentException
getBytes
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
public java.math.BigDecimal getBigDecimal(commonj.sdo.Property property) throws java.lang.IllegalArgumentException
getBigDecimal
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
public java.math.BigInteger getBigInteger(commonj.sdo.Property property) throws java.lang.IllegalArgumentException
getBigInteger
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
public commonj.sdo.DataObject getDataObject(commonj.sdo.Property property) throws java.lang.IllegalArgumentException, java.lang.ClassCastException
getDataObject
in interface commonj.sdo.DataObject
java.lang.IllegalArgumentException
java.lang.ClassCastException
public java.util.Date getDate(commonj.sdo.Property property)
getDate
in interface commonj.sdo.DataObject
public java.lang.String getString(commonj.sdo.Property property)
getString
in interface commonj.sdo.DataObject
public java.util.List getList(commonj.sdo.Property property)
getList
in interface commonj.sdo.DataObject
public void setBoolean(commonj.sdo.Property property, boolean value)
setBoolean
in interface commonj.sdo.DataObject
public void setByte(commonj.sdo.Property property, byte value)
setByte
in interface commonj.sdo.DataObject
public void setChar(commonj.sdo.Property property, char value)
setChar
in interface commonj.sdo.DataObject
public void setDouble(commonj.sdo.Property property, double value)
setDouble
in interface commonj.sdo.DataObject
public void setFloat(commonj.sdo.Property property, float value)
setFloat
in interface commonj.sdo.DataObject
public void setInt(commonj.sdo.Property property, int value)
setInt
in interface commonj.sdo.DataObject
public void setLong(commonj.sdo.Property property, long value)
setLong
in interface commonj.sdo.DataObject
public void setShort(commonj.sdo.Property property, short value)
setShort
in interface commonj.sdo.DataObject
public void setBytes(commonj.sdo.Property property, byte[] value)
setBytes
in interface commonj.sdo.DataObject
public void setBigDecimal(commonj.sdo.Property property, java.math.BigDecimal value)
setBigDecimal
in interface commonj.sdo.DataObject
public void setBigInteger(commonj.sdo.Property property, java.math.BigInteger value)
setBigInteger
in interface commonj.sdo.DataObject
public void setDataObject(commonj.sdo.Property property, commonj.sdo.DataObject value)
setDataObject
in interface commonj.sdo.DataObject
public void setDate(commonj.sdo.Property property, java.util.Date value)
setDate
in interface commonj.sdo.DataObject
public void setString(commonj.sdo.Property property, java.lang.String value)
setString
in interface commonj.sdo.DataObject
public void setList(commonj.sdo.Property property, java.util.List value)
setList
in interface commonj.sdo.DataObject
public commonj.sdo.DataObject createDataObject(java.lang.String propertyName)
createDataObject
in interface commonj.sdo.DataObject
public commonj.sdo.DataObject createDataObject(int propertyIndex)
createDataObject
in interface commonj.sdo.DataObject
public commonj.sdo.DataObject createDataObject(commonj.sdo.Property aProperty)
createDataObject
in interface commonj.sdo.DataObject
public commonj.sdo.DataObject createDataObject(java.lang.String propertyName, java.lang.String namespaceURI, java.lang.String typeName)
createDataObject
in interface commonj.sdo.DataObject
public commonj.sdo.DataObject createDataObject(int propertyIndex, java.lang.String namespaceURI, java.lang.String typeName)
createDataObject
in interface commonj.sdo.DataObject
public commonj.sdo.DataObject createDataObject(commonj.sdo.Property property, commonj.sdo.Type aType)
createDataObject
in interface commonj.sdo.DataObject
public void detachOrDelete(boolean fromDelete)
fromDelete
- (flag the action true = delete, false = detach)public void detach()
detach
in interface commonj.sdo.DataObject
public void delete()
delete
in interface commonj.sdo.DataObject
public commonj.sdo.DataObject getContainer()
getContainer
in interface commonj.sdo.DataObject
public SDOProperty getContainmentProperty()
getContainmentProperty
in interface commonj.sdo.DataObject
public commonj.sdo.DataGraph getDataGraph()
getDataGraph
in interface commonj.sdo.DataObject
public void setDataGraph(commonj.sdo.DataGraph dataGraph)
public SDOType getType()
getType
in interface commonj.sdo.DataObject
public java.util.List getInstanceProperties()
getInstanceProperties
in interface commonj.sdo.DataObject
public commonj.sdo.Property getProperty(java.lang.String propertyName)
getProperty
in interface commonj.sdo.DataObject
public SDOProperty getInstanceProperty(java.lang.String propertyName)
getInstanceProperty
in interface commonj.sdo.DataObject
public SDOProperty getInstanceProperty(int propertyIndex) throws java.lang.IllegalArgumentException
propertyIndex
-
SDOException
java.lang.IllegalArgumentException
public commonj.sdo.DataObject getRootObject()
getRootObject
in interface commonj.sdo.DataObject
public commonj.sdo.ChangeSummary getChangeSummary()
getChangeSummary
in interface commonj.sdo.DataObject
public void _setCreated(boolean created)
created
- flag created's new value.public void _setModified(boolean modified)
modified
- flag modified's new value.public void _setChangeSummary(commonj.sdo.ChangeSummary aChangeSummary)
aChangeSummary
- the ChangeSummary taking this DataObject as root.public void undoChanges(boolean isCSRoot, commonj.sdo.ChangeSummary cs, SDODataObject origContainer, java.lang.String origContainmentPropName)
isCSRoot
- cs
- origContainer
- origContainmentPropName
- public void resetChanges()
public void _setType(commonj.sdo.Type aType)
aType
- public void _setCurrentValueStore(ValueStore aValueStore)
currentValueStore
- voidpublic ValueStore _getCurrentValueStore()
ValueStore
interface require this accessor.
public void _setContainer(commonj.sdo.DataObject aContainer)
aContainer
- the DataObject which is the container of this DataObject.public java.util.Map _getOpenContentPropertiesAttributesMap()
public void _setOpenContentPropertiesAttributesMap(java.util.Map openAttributeProperties)
public void _setOpenContentPropertiesWithXMLRoots(java.util.List openContentPropertiesWithXMLRoots)
openContentPropertiesWithXMLRoots
- public java.util.List _getOpenContentPropertiesWithXMLRoots()
public java.util.List _getOpenContentProperties()
public java.lang.Object convertObjectToValue(commonj.sdo.Property property, java.lang.Class cls) throws java.lang.ClassCastException, java.lang.IllegalArgumentException
property
- cls
-
java.lang.ClassCastException
java.lang.IllegalArgumentException
public java.lang.Object convertObjectToValue(commonj.sdo.Property property, int position, java.lang.Class cls) throws java.lang.ClassCastException, java.lang.IllegalArgumentException
property
- position
- cls
-
java.lang.ClassCastException
java.lang.IllegalArgumentException
public void _setContainmentPropertyName(java.lang.String aContainmentPropertyName)
aContainmentPropertyName
- the name of the property on the containing DataObject which has this DataObject as a value.public java.lang.String _getContainmentPropertyName()
public boolean parentContains(java.lang.Object value)
value
-
public void updateContainment(commonj.sdo.Property property, java.util.Collection values, boolean updateSequence)
property
- values
- updateSequence
- public void updateContainment(commonj.sdo.Property property, java.util.Collection values)
property
- values
- public void updateContainment(commonj.sdo.Property property, commonj.sdo.DataObject value, boolean updateSequence)
property
- value
- public void updateContainment(commonj.sdo.Property property, commonj.sdo.DataObject value)
property
- value
- public java.lang.Object writeReplace()
SDOResolvable
public java.lang.String _getPath()
public java.lang.Object getPropertyInternal(commonj.sdo.Property property)
property
-
public void setPropertyInternal(SDOProperty property, java.lang.Object value, boolean updateSequence)
property
- value
- updateSequence
- (truncate call back from sequence when this function was called from sequence)public void addOpenContentProperty(commonj.sdo.Property property)
property
- public void removeOpenContentProperty(commonj.sdo.Property property)
property
- public boolean isSetInternal(commonj.sdo.Property property)
property
-
public java.lang.String _getSdoRef()
public void _setOpenContentPropertiesAttributes(java.util.List openContentPropertiesAttributes)
public java.util.List _getOpenContentPropertiesAttributes()
public java.util.List<Setting> getSettings()
getSettings
in interface SequencedObject
public void _setSdoRef(java.lang.String newRef)
|
EclipseLink1.0 - 20080707 API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |