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.Resolvable
ObjectStreamException
public void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput objectInput) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public commonj.sdo.helper.HelperContext getHelperContext()
public void setHelperContext(commonj.sdo.helper.HelperContext helperContext)
helperContext
- EclipseLink 2.5.2, "build v20140319-9ad6abd" API Reference