public class SDOResolvable extends Object implements commonj.sdo.impl.ExternalizableDelegator.Resolvable
Purpose:
This class performs serialization/deserialization of an SDODataObject.Responsibilities:
| Modifier and Type | Field and Description |
|---|---|
static 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(commonj.sdo.helper.HelperContext aContext)
Default constructor for deserialization
|
SDOResolvable(Object target,
commonj.sdo.helper.HelperContext aContext)
Constructor for serialization
|
| Modifier and Type | Method and Description |
|---|---|
commonj.sdo.helper.HelperContext |
getHelperContext() |
void |
readExternal(ObjectInput objectInput)
Purpose: Deserialize from an ObjectInputStream into an SDODataObject This
function is mandated by the Externalizable interface.
|
Object |
readResolve()
Purpose: This function is called after readExternal to return the
recently deserialized object retrieved from the ObjectInputStream.
|
void |
setHelperContext(commonj.sdo.helper.HelperContext helperContext) |
void |
writeExternal(ObjectOutput objectOutput)
Purpose: Serialize an SDODataObject to an ObjectOutputStream This
function is mandated by the Externalizable interface.
|
public static final 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(commonj.sdo.helper.HelperContext aContext)
public SDOResolvable(Object target, commonj.sdo.helper.HelperContext aContext)
public Object readResolve() throws ObjectStreamException
readResolve in interface commonj.sdo.impl.ExternalizableDelegator.ResolvableObjectStreamExceptionpublic void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput objectInput) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic commonj.sdo.helper.HelperContext getHelperContext()
public void setHelperContext(commonj.sdo.helper.HelperContext helperContext)
helperContext -