public class SDODataObject extends Object implements commonj.sdo.DataObject, SequencedObject
| Constructor and Description |
|---|
SDODataObject()
INTERNAL:
Private constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
Note: Implementers of the ValueStore interface require this accessor. |
List |
_getOpenContentProperties()
INTERNAL:
Returns a list of the Properties currently used in this DataObject which are not
included in getType().getProperties
|
List |
_getOpenContentPropertiesAttributes() |
Map |
_getOpenContentPropertiesAttributesMap() |
List |
_getOpenContentPropertiesWithXMLRoots()
INTERNAL:
This function is implemented by SDOType.setOpen() in a mapping setGet/SetMethodName call
|
String |
_getPath()
INTERNAL:
Return an SDO Path string from root of the caller to itself
|
String |
_getSdoRef()
INTERNAL:
Return the sdoref attribute value during unmarshaling
|
void |
_setChangeSummary(SDOChangeSummary 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(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(List openContentPropertiesAttributes) |
void |
_setOpenContentPropertiesAttributesMap(Map openAttributeProperties) |
void |
_setOpenContentPropertiesWithXMLRoots(List openContentPropertiesWithXMLRoots)
INTERNAL:
This function is implemented by SDOType.setOpen() in a mapping setGet/SetMethodName call
|
void |
_setSdoRef(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.
|
Object |
convertObjectToValue(commonj.sdo.Property property,
Class cls)
INTERNAL:
|
Object |
convertObjectToValue(commonj.sdo.Property property,
int position,
Class cls)
INTERNAL:
|
SDODataObject |
createDataObject(int propertyIndex) |
SDODataObject |
createDataObject(int propertyIndex,
String namespaceURI,
String typeName) |
SDODataObject |
createDataObject(commonj.sdo.Property aProperty) |
SDODataObject |
createDataObject(commonj.sdo.Property property,
commonj.sdo.Type aType) |
commonj.sdo.DataObject |
createDataObject(String propertyName) |
SDODataObject |
createDataObject(String propertyName,
String namespaceURI,
String typeName) |
commonj.sdo.Property |
defineOpenContentProperty(String name,
Object value)
INTERNAL:
Create a dynamic open content property if no property exists for (name).
|
commonj.sdo.Property |
defineOpenContentProperty(String name,
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.
|
Object |
get(int propertyIndex) |
Object |
get(commonj.sdo.Property property) |
Object |
get(String path) |
BigDecimal |
getBigDecimal(int propertyIndex) |
BigDecimal |
getBigDecimal(commonj.sdo.Property property) |
BigDecimal |
getBigDecimal(String path) |
BigInteger |
getBigInteger(int propertyIndex) |
BigInteger |
getBigInteger(commonj.sdo.Property property) |
BigInteger |
getBigInteger(String path) |
boolean |
getBoolean(int propertyIndex) |
boolean |
getBoolean(commonj.sdo.Property property) |
boolean |
getBoolean(String path) |
byte |
getByte(int propertyIndex) |
byte |
getByte(commonj.sdo.Property property) |
byte |
getByte(String path) |
byte[] |
getBytes(int propertyIndex) |
byte[] |
getBytes(commonj.sdo.Property property) |
byte[] |
getBytes(String path) |
SDOChangeSummary |
getChangeSummary() |
char |
getChar(int propertyIndex) |
char |
getChar(commonj.sdo.Property property) |
char |
getChar(String path) |
SDODataObject |
getContainer() |
SDOProperty |
getContainmentProperty() |
commonj.sdo.DataGraph |
getDataGraph() |
SDODataObject |
getDataObject(int propertyIndex) |
SDODataObject |
getDataObject(commonj.sdo.Property property) |
SDODataObject |
getDataObject(String path) |
Date |
getDate(int propertyIndex) |
Date |
getDate(commonj.sdo.Property property) |
Date |
getDate(String path) |
double |
getDouble(int propertyIndex) |
double |
getDouble(commonj.sdo.Property property) |
double |
getDouble(String path) |
float |
getFloat(int propertyIndex) |
float |
getFloat(commonj.sdo.Property property) |
float |
getFloat(String path) |
List |
getInstanceProperties() |
SDOProperty |
getInstanceProperty(int propertyIndex)
INTERNAL:
|
SDOProperty |
getInstanceProperty(String propertyName) |
int |
getInt(int propertyIndex) |
int |
getInt(commonj.sdo.Property property) |
int |
getInt(String path) |
List |
getList(int propertyIndex) |
List |
getList(commonj.sdo.Property property) |
List |
getList(String path) |
long |
getLong(int propertyIndex) |
long |
getLong(commonj.sdo.Property property) |
long |
getLong(String path) |
SDOProperty |
getProperty(String propertyName) |
Object |
getPropertyInternal(commonj.sdo.Property property)
INTERNAL:
Get the value of the property (open-content or declared)..
|
SDODataObject |
getRootObject() |
SDOSequence |
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(String path)
Deprecated.
in SDO 2.1.0.
|
List<Setting> |
getSettings() |
short |
getShort(int propertyIndex) |
short |
getShort(commonj.sdo.Property property) |
short |
getShort(String path) |
String |
getString(int propertyIndex) |
String |
getString(commonj.sdo.Property property) |
String |
getString(String path) |
SDOType |
getType() |
boolean |
isSet(int propertyIndex) |
boolean |
isSet(commonj.sdo.Property property) |
boolean |
isSet(String path) |
boolean |
isSetInternal(commonj.sdo.Property property)
INTERNAL:
Return whether the property (open-content or declared) is set?
|
boolean |
parentContains(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,
Object value) |
void |
set(commonj.sdo.Property property,
Object value) |
void |
set(SDOProperty property,
Object value,
boolean updateSequence)
INTERNAL:
Sets the value of the given property of the object to the new value.
|
void |
set(String path,
Object value) |
void |
setBigDecimal(int propertyIndex,
BigDecimal value) |
void |
setBigDecimal(commonj.sdo.Property property,
BigDecimal value) |
void |
setBigDecimal(String path,
BigDecimal value) |
void |
setBigInteger(int propertyIndex,
BigInteger value) |
void |
setBigInteger(commonj.sdo.Property property,
BigInteger value) |
void |
setBigInteger(String path,
BigInteger value) |
void |
setBoolean(int propertyIndex,
boolean value) |
void |
setBoolean(commonj.sdo.Property property,
boolean value) |
void |
setBoolean(String path,
boolean value) |
void |
setByte(int propertyIndex,
byte value) |
void |
setByte(commonj.sdo.Property property,
byte value) |
void |
setByte(String path,
byte value) |
void |
setBytes(int propertyIndex,
byte[] value) |
void |
setBytes(commonj.sdo.Property property,
byte[] value) |
void |
setBytes(String path,
byte[] value) |
void |
setChar(int propertyIndex,
char value) |
void |
setChar(commonj.sdo.Property property,
char value) |
void |
setChar(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(String path,
commonj.sdo.DataObject value) |
void |
setDate(int propertyIndex,
Date value) |
void |
setDate(commonj.sdo.Property property,
Date value) |
void |
setDate(String path,
Date value) |
void |
setDouble(int propertyIndex,
double value) |
void |
setDouble(commonj.sdo.Property property,
double value) |
void |
setDouble(String path,
double value) |
void |
setFloat(int propertyIndex,
float value) |
void |
setFloat(commonj.sdo.Property property,
float value) |
void |
setFloat(String path,
float value) |
void |
setInt(int propertyIndex,
int value) |
void |
setInt(commonj.sdo.Property property,
int value) |
void |
setInt(String path,
int value) |
void |
setInternal(SDOProperty property,
Object value,
boolean updateSequence) |
void |
setList(int propertyIndex,
List value) |
void |
setList(commonj.sdo.Property property,
List value) |
void |
setList(String path,
List value) |
void |
setLong(int propertyIndex,
long value) |
void |
setLong(commonj.sdo.Property property,
long value) |
void |
setLong(String path,
long value) |
void |
setPropertyInternal(SDOProperty property,
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(String path,
short value) |
void |
setString(int propertyIndex,
String value) |
void |
setString(commonj.sdo.Property property,
String value) |
void |
setString(String path,
String value) |
void |
undoChanges(boolean isCSRoot,
commonj.sdo.ChangeSummary cs,
SDODataObject origContainer,
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(String path) |
void |
updateContainment(commonj.sdo.Property property,
Collection values)
INTERNAL:
Update containment on the specified collection of values and default to true = update the sequence
|
void |
updateContainment(commonj.sdo.Property property,
Collection values,
boolean updateSequence)
INTERNAL:
Update containment with flagged update sequence state
|
void |
updateContainment(commonj.sdo.Property property,
SDODataObject value)
INTERNAL:
update containment and the update the sequence value by default.
|
void |
updateContainment(commonj.sdo.Property property,
SDODataObject aDataObject,
boolean updateSequence)
INTERNAL:
Update containment on the dataObject with specified update sequence state
|
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.
|
public SDODataObject()
SDODataFactoryDelegate.create(Type) insteadpublic void _setHelperContext(commonj.sdo.helper.HelperContext aContext)
aContext - public void set(String path, Object value) throws ClassCastException, UnsupportedOperationException, IllegalArgumentException
set in interface commonj.sdo.DataObjectClassCastExceptionUnsupportedOperationExceptionIllegalArgumentExceptionpublic boolean isSet(String path)
isSet in interface commonj.sdo.DataObjectpublic void unset(String path)
unset in interface commonj.sdo.DataObjectpublic boolean getBoolean(String path) throws ClassCastException
getBoolean in interface commonj.sdo.DataObjectClassCastExceptionpublic byte getByte(String path)
getByte in interface commonj.sdo.DataObjectpublic char getChar(String path)
getChar in interface commonj.sdo.DataObjectpublic double getDouble(String path)
getDouble in interface commonj.sdo.DataObjectpublic float getFloat(String path)
getFloat in interface commonj.sdo.DataObjectpublic int getInt(String path)
getInt in interface commonj.sdo.DataObjectpublic long getLong(String path)
getLong in interface commonj.sdo.DataObjectpublic short getShort(String path)
getShort in interface commonj.sdo.DataObjectpublic byte[] getBytes(String path)
getBytes in interface commonj.sdo.DataObjectpublic BigDecimal getBigDecimal(String path)
getBigDecimal in interface commonj.sdo.DataObjectpublic BigInteger getBigInteger(String path)
getBigInteger in interface commonj.sdo.DataObjectpublic SDODataObject getDataObject(String path) throws ClassCastException
getDataObject in interface commonj.sdo.DataObjectClassCastExceptionpublic String getString(String path)
getString in interface commonj.sdo.DataObjectpublic void setBoolean(String path, boolean value)
setBoolean in interface commonj.sdo.DataObjectpublic void setByte(String path, byte value)
setByte in interface commonj.sdo.DataObjectpublic void setChar(String path, char value)
setChar in interface commonj.sdo.DataObjectpublic void setDouble(String path, double value)
setDouble in interface commonj.sdo.DataObjectpublic void setFloat(String path, float value)
setFloat in interface commonj.sdo.DataObjectpublic void setInt(String path, int value)
setInt in interface commonj.sdo.DataObjectpublic void setLong(String path, long value)
setLong in interface commonj.sdo.DataObjectpublic void setShort(String path, short value)
setShort in interface commonj.sdo.DataObjectpublic void setBytes(String path, byte[] value)
setBytes in interface commonj.sdo.DataObjectpublic void setBigDecimal(String path, BigDecimal value)
setBigDecimal in interface commonj.sdo.DataObjectpublic void setBigInteger(String path, BigInteger value)
setBigInteger in interface commonj.sdo.DataObjectpublic void setDataObject(String path, commonj.sdo.DataObject value)
setDataObject in interface commonj.sdo.DataObjectpublic void setDate(String path, Date value)
setDate in interface commonj.sdo.DataObjectpublic void setString(String path, String value)
setString in interface commonj.sdo.DataObjectpublic void setList(String path, List value)
setList in interface commonj.sdo.DataObjectpublic Object get(int propertyIndex) throws IllegalArgumentException
get in interface commonj.sdo.DataObjectIllegalArgumentExceptionpublic void set(int propertyIndex,
Object value)
set in interface commonj.sdo.DataObjectpublic boolean isSet(int propertyIndex)
isSet in interface commonj.sdo.DataObjectpublic void unset(int propertyIndex)
unset in interface commonj.sdo.DataObjectpublic boolean getBoolean(int propertyIndex)
throws IllegalArgumentException,
ClassCastException
getBoolean in interface commonj.sdo.DataObjectIllegalArgumentExceptionClassCastExceptionpublic byte getByte(int propertyIndex)
throws IllegalArgumentException,
ClassCastException
getByte in interface commonj.sdo.DataObjectIllegalArgumentExceptionClassCastExceptionpublic char getChar(int propertyIndex)
throws IllegalArgumentException,
ClassCastException
getChar in interface commonj.sdo.DataObjectIllegalArgumentExceptionClassCastExceptionpublic double getDouble(int propertyIndex)
throws IllegalArgumentException,
ClassCastException
getDouble in interface commonj.sdo.DataObjectIllegalArgumentExceptionClassCastExceptionpublic float getFloat(int propertyIndex)
throws IllegalArgumentException,
ClassCastException
getFloat in interface commonj.sdo.DataObjectIllegalArgumentExceptionClassCastExceptionpublic int getInt(int propertyIndex)
throws IllegalArgumentException,
ClassCastException
getInt in interface commonj.sdo.DataObjectIllegalArgumentExceptionClassCastExceptionpublic long getLong(int propertyIndex)
throws IllegalArgumentException,
ClassCastException
getLong in interface commonj.sdo.DataObjectIllegalArgumentExceptionClassCastExceptionpublic short getShort(int propertyIndex)
throws IllegalArgumentException,
ClassCastException
getShort in interface commonj.sdo.DataObjectIllegalArgumentExceptionClassCastExceptionpublic byte[] getBytes(int propertyIndex)
throws IllegalArgumentException,
ClassCastException
getBytes in interface commonj.sdo.DataObjectIllegalArgumentExceptionClassCastExceptionpublic BigDecimal getBigDecimal(int propertyIndex) throws IllegalArgumentException, ClassCastException
getBigDecimal in interface commonj.sdo.DataObjectIllegalArgumentExceptionClassCastExceptionpublic BigInteger getBigInteger(int propertyIndex) throws IllegalArgumentException, ClassCastException
getBigInteger in interface commonj.sdo.DataObjectIllegalArgumentExceptionClassCastExceptionpublic SDODataObject getDataObject(int propertyIndex)
getDataObject in interface commonj.sdo.DataObjectpublic Date getDate(int propertyIndex) throws IllegalArgumentException, ClassCastException
getDate in interface commonj.sdo.DataObjectIllegalArgumentExceptionClassCastExceptionpublic String getString(int propertyIndex) throws IllegalArgumentException, ClassCastException
getString in interface commonj.sdo.DataObjectIllegalArgumentExceptionClassCastExceptionpublic List getList(int propertyIndex)
getList in interface commonj.sdo.DataObject@Deprecated public commonj.sdo.Sequence getSequence(String path)
getSequence in interface commonj.sdo.DataObject@Deprecated public commonj.sdo.Sequence getSequence(int propertyIndex)
getSequence in interface commonj.sdo.DataObject@Deprecated public commonj.sdo.Sequence getSequence(commonj.sdo.Property property)
getSequence in interface commonj.sdo.DataObjectpublic SDOSequence getSequence()
getSequence in interface commonj.sdo.DataObjectpublic void setBoolean(int propertyIndex,
boolean value)
setBoolean in interface commonj.sdo.DataObjectpublic void setByte(int propertyIndex,
byte value)
setByte in interface commonj.sdo.DataObjectpublic void setChar(int propertyIndex,
char value)
setChar in interface commonj.sdo.DataObjectpublic void setDouble(int propertyIndex,
double value)
setDouble in interface commonj.sdo.DataObjectpublic void setFloat(int propertyIndex,
float value)
setFloat in interface commonj.sdo.DataObjectpublic void setInt(int propertyIndex,
int value)
setInt in interface commonj.sdo.DataObjectpublic void setLong(int propertyIndex,
long value)
setLong in interface commonj.sdo.DataObjectpublic void setShort(int propertyIndex,
short value)
setShort in interface commonj.sdo.DataObjectpublic void setBytes(int propertyIndex,
byte[] value)
setBytes in interface commonj.sdo.DataObjectpublic void setBigDecimal(int propertyIndex,
BigDecimal value)
setBigDecimal in interface commonj.sdo.DataObjectpublic void setBigInteger(int propertyIndex,
BigInteger value)
setBigInteger in interface commonj.sdo.DataObjectpublic void setDataObject(int propertyIndex,
commonj.sdo.DataObject value)
setDataObject in interface commonj.sdo.DataObjectpublic void setDate(int propertyIndex,
Date value)
setDate in interface commonj.sdo.DataObjectpublic void setString(int propertyIndex,
String value)
setString in interface commonj.sdo.DataObjectpublic void setList(int propertyIndex,
List value)
setList in interface commonj.sdo.DataObjectpublic Object get(commonj.sdo.Property property) throws IllegalArgumentException
get in interface commonj.sdo.DataObjectIllegalArgumentExceptionpublic commonj.sdo.Property defineOpenContentProperty(String name, Object value) throws UnsupportedOperationException, IllegalArgumentException
name - value - UnsupportedOperationExceptionIllegalArgumentExceptionpublic commonj.sdo.Property defineOpenContentProperty(String name, Object value, commonj.sdo.Type sdotype) throws UnsupportedOperationException, IllegalArgumentException
public void set(commonj.sdo.Property property,
Object value)
throws UnsupportedOperationException,
IllegalArgumentException
set in interface commonj.sdo.DataObjectUnsupportedOperationExceptionIllegalArgumentExceptionpublic void setInternal(SDOProperty property, Object value, boolean updateSequence) throws UnsupportedOperationException, IllegalArgumentException
public void set(SDOProperty property, Object value, boolean updateSequence) throws UnsupportedOperationException, 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 - UnsupportedOperationExceptionIllegalArgumentExceptionpublic boolean isSet(commonj.sdo.Property property)
isSet in interface commonj.sdo.DataObjectpublic void unset(commonj.sdo.Property property)
unset in interface commonj.sdo.DataObjectpublic void unset(commonj.sdo.Property property,
boolean fromDelete,
boolean updateSequence)
property - fromDelete - updateSequence - public boolean getBoolean(commonj.sdo.Property property)
throws IllegalArgumentException,
ClassCastException
getBoolean in interface commonj.sdo.DataObjectIllegalArgumentExceptionClassCastExceptionpublic byte getByte(commonj.sdo.Property property)
throws IllegalArgumentException,
ClassCastException
getByte in interface commonj.sdo.DataObjectIllegalArgumentExceptionClassCastExceptionpublic char getChar(commonj.sdo.Property property)
throws IllegalArgumentException
getChar in interface commonj.sdo.DataObjectIllegalArgumentExceptionpublic double getDouble(commonj.sdo.Property property)
throws IllegalArgumentException
getDouble in interface commonj.sdo.DataObjectIllegalArgumentExceptionpublic float getFloat(commonj.sdo.Property property)
throws IllegalArgumentException
getFloat in interface commonj.sdo.DataObjectIllegalArgumentExceptionpublic int getInt(commonj.sdo.Property property)
throws IllegalArgumentException
getInt in interface commonj.sdo.DataObjectIllegalArgumentExceptionpublic long getLong(commonj.sdo.Property property)
throws IllegalArgumentException
getLong in interface commonj.sdo.DataObjectIllegalArgumentExceptionpublic short getShort(commonj.sdo.Property property)
throws IllegalArgumentException
getShort in interface commonj.sdo.DataObjectIllegalArgumentExceptionpublic byte[] getBytes(commonj.sdo.Property property)
throws IllegalArgumentException
getBytes in interface commonj.sdo.DataObjectIllegalArgumentExceptionpublic BigDecimal getBigDecimal(commonj.sdo.Property property) throws IllegalArgumentException
getBigDecimal in interface commonj.sdo.DataObjectIllegalArgumentExceptionpublic BigInteger getBigInteger(commonj.sdo.Property property) throws IllegalArgumentException
getBigInteger in interface commonj.sdo.DataObjectIllegalArgumentExceptionpublic SDODataObject getDataObject(commonj.sdo.Property property) throws IllegalArgumentException, ClassCastException
getDataObject in interface commonj.sdo.DataObjectIllegalArgumentExceptionClassCastExceptionpublic Date getDate(commonj.sdo.Property property)
getDate in interface commonj.sdo.DataObjectpublic String getString(commonj.sdo.Property property)
getString in interface commonj.sdo.DataObjectpublic List getList(commonj.sdo.Property property)
getList in interface commonj.sdo.DataObjectpublic void setBoolean(commonj.sdo.Property property,
boolean value)
setBoolean in interface commonj.sdo.DataObjectpublic void setByte(commonj.sdo.Property property,
byte value)
setByte in interface commonj.sdo.DataObjectpublic void setChar(commonj.sdo.Property property,
char value)
setChar in interface commonj.sdo.DataObjectpublic void setDouble(commonj.sdo.Property property,
double value)
setDouble in interface commonj.sdo.DataObjectpublic void setFloat(commonj.sdo.Property property,
float value)
setFloat in interface commonj.sdo.DataObjectpublic void setInt(commonj.sdo.Property property,
int value)
setInt in interface commonj.sdo.DataObjectpublic void setLong(commonj.sdo.Property property,
long value)
setLong in interface commonj.sdo.DataObjectpublic void setShort(commonj.sdo.Property property,
short value)
setShort in interface commonj.sdo.DataObjectpublic void setBytes(commonj.sdo.Property property,
byte[] value)
setBytes in interface commonj.sdo.DataObjectpublic void setBigDecimal(commonj.sdo.Property property,
BigDecimal value)
setBigDecimal in interface commonj.sdo.DataObjectpublic void setBigInteger(commonj.sdo.Property property,
BigInteger value)
setBigInteger in interface commonj.sdo.DataObjectpublic void setDataObject(commonj.sdo.Property property,
commonj.sdo.DataObject value)
setDataObject in interface commonj.sdo.DataObjectpublic void setDate(commonj.sdo.Property property,
Date value)
setDate in interface commonj.sdo.DataObjectpublic void setString(commonj.sdo.Property property,
String value)
setString in interface commonj.sdo.DataObjectpublic void setList(commonj.sdo.Property property,
List value)
setList in interface commonj.sdo.DataObjectpublic commonj.sdo.DataObject createDataObject(String propertyName)
createDataObject in interface commonj.sdo.DataObjectpublic SDODataObject createDataObject(int propertyIndex)
createDataObject in interface commonj.sdo.DataObjectpublic SDODataObject createDataObject(commonj.sdo.Property aProperty)
createDataObject in interface commonj.sdo.DataObjectpublic SDODataObject createDataObject(String propertyName, String namespaceURI, String typeName)
createDataObject in interface commonj.sdo.DataObjectpublic SDODataObject createDataObject(int propertyIndex, String namespaceURI, String typeName)
createDataObject in interface commonj.sdo.DataObjectpublic SDODataObject createDataObject(commonj.sdo.Property property, commonj.sdo.Type aType)
createDataObject in interface commonj.sdo.DataObjectpublic void detachOrDelete(boolean fromDelete)
fromDelete - (flag the action true = delete, false = detach)public void detach()
detach in interface commonj.sdo.DataObjectpublic void delete()
delete in interface commonj.sdo.DataObjectpublic SDODataObject getContainer()
getContainer in interface commonj.sdo.DataObjectpublic SDOProperty getContainmentProperty()
getContainmentProperty in interface commonj.sdo.DataObjectpublic commonj.sdo.DataGraph getDataGraph()
getDataGraph in interface commonj.sdo.DataObjectpublic void setDataGraph(commonj.sdo.DataGraph dataGraph)
public SDOType getType()
getType in interface commonj.sdo.DataObjectpublic List getInstanceProperties()
getInstanceProperties in interface commonj.sdo.DataObjectpublic SDOProperty getProperty(String propertyName)
getProperty in interface commonj.sdo.DataObjectpublic SDOProperty getInstanceProperty(String propertyName)
getInstanceProperty in interface commonj.sdo.DataObjectpublic SDOProperty getInstanceProperty(int propertyIndex) throws IllegalArgumentException
propertyIndex - SDOExceptionIllegalArgumentExceptionpublic SDODataObject getRootObject()
getRootObject in interface commonj.sdo.DataObjectpublic SDOChangeSummary getChangeSummary()
getChangeSummary in interface commonj.sdo.DataObjectpublic void _setCreated(boolean created)
created - flag created's new value.public void _setModified(boolean modified)
modified - flag modified's new value.public void _setChangeSummary(SDOChangeSummary aChangeSummary)
aChangeSummary - the ChangeSummary taking this DataObject as root.public void undoChanges(boolean isCSRoot,
commonj.sdo.ChangeSummary cs,
SDODataObject origContainer,
String origContainmentPropName)
isCSRoot - cs - origContainer - origContainmentPropName - public void resetChanges()
public void _setType(commonj.sdo.Type aType)
aType - public void _setCurrentValueStore(ValueStore aValueStore)
aValueStore - public 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 Map _getOpenContentPropertiesAttributesMap()
public void _setOpenContentPropertiesAttributesMap(Map openAttributeProperties)
public void _setOpenContentPropertiesWithXMLRoots(List openContentPropertiesWithXMLRoots)
openContentPropertiesWithXMLRoots - public List _getOpenContentPropertiesWithXMLRoots()
public List _getOpenContentProperties()
public Object convertObjectToValue(commonj.sdo.Property property, Class cls) throws ClassCastException, IllegalArgumentException
property - cls - ClassCastExceptionIllegalArgumentExceptionpublic Object convertObjectToValue(commonj.sdo.Property property, int position, Class cls) throws ClassCastException, IllegalArgumentException
property - position - cls - ClassCastExceptionIllegalArgumentExceptionpublic void _setContainmentPropertyName(String aContainmentPropertyName)
aContainmentPropertyName - the name of the property on the containing DataObject which has this DataObject as a value.public String _getContainmentPropertyName()
public boolean parentContains(Object value)
value - public void updateContainment(commonj.sdo.Property property,
Collection values,
boolean updateSequence)
property - values - updateSequence - public void updateContainment(commonj.sdo.Property property,
Collection values)
property - values - public void updateContainment(commonj.sdo.Property property,
SDODataObject aDataObject,
boolean updateSequence)
property - aDataObject - updateSequence - public void updateContainment(commonj.sdo.Property property,
SDODataObject value)
property - value - public Object writeReplace()
Security Note: This public function exposes a data replacement vulnerability where an outside client can gain access and modify their non-final constants. We may need to wrap the GZIP streams in some sort of encryption when we are not using HTTPS or SSL/TLS on the wire.
SDOResolvablepublic String _getPath()
public Object getPropertyInternal(commonj.sdo.Property property)
property - public void setPropertyInternal(SDOProperty property, 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 String _getSdoRef()
public void _setOpenContentPropertiesAttributes(List openContentPropertiesAttributes)
public List _getOpenContentPropertiesAttributes()
public List<Setting> getSettings()
getSettings in interface SequencedObjectpublic void _setSdoRef(String newRef)
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.