public class SDOResolvable extends java.lang.Object implements ExternalizableDelegator.Resolvable
Purpose:
This class performs serialization/deserialization of an SDODataObject.Responsibilities:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_ROOT_ELEMENT_NAME
Root element name for all DataObjects undergoing serialization = sdo:dataObject
|
static int |
SDO_HELPER_CONTEXT_ID_IDENTIFIER
root object with helper context id identifier
|
static int |
SDO_INTERNAL_OBJECT_IDENTIFIER
internal object serialization type identifier = 0
|
static int |
SDO_ROOT_OBJECT_IDENTIFIER
root object serialization type identifier = 1
|
Constructor and Description |
---|
SDOResolvable() |
SDOResolvable(HelperContext aContext)
Default constructor for deserialization
|
SDOResolvable(java.lang.Object target,
HelperContext aContext)
Constructor for serialization
|
Modifier and Type | Method and Description |
---|---|
HelperContext |
getHelperContext() |
void |
readExternal(java.io.ObjectInput objectInput)
Purpose: Deserialize from an ObjectInputStream into an SDODataObject This
function is mandated by the Externalizable interface.
|
java.lang.Object |
readResolve()
Purpose: This function is called after readExternal to return the
recently deserialized object retrieved from the ObjectInputStream.
|
void |
setHelperContext(HelperContext helperContext) |
void |
writeExternal(java.io.ObjectOutput objectOutput)
Purpose: Serialize an SDODataObject to an ObjectOutputStream This
function is mandated by the Externalizable interface.
|
public static final java.lang.String DEFAULT_ROOT_ELEMENT_NAME
public static final int SDO_HELPER_CONTEXT_ID_IDENTIFIER
public static final int SDO_ROOT_OBJECT_IDENTIFIER
public static final int SDO_INTERNAL_OBJECT_IDENTIFIER
public SDOResolvable()
public SDOResolvable(HelperContext aContext)
public SDOResolvable(java.lang.Object target, HelperContext aContext)
public java.lang.Object readResolve() throws java.io.ObjectStreamException
readResolve
in interface ExternalizableDelegator.Resolvable
java.io.ObjectStreamException
public void writeExternal(java.io.ObjectOutput objectOutput) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput objectInput) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public HelperContext getHelperContext()
public void setHelperContext(HelperContext helperContext)
helperContext
-