Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Interface dkDataObjectBase

All Known Subinterfaces:
dkXDO, dkXDOBase
All Known Implementing Classes:
dkAbstractDataObjectBase, DKViewDataOD

public interface dkDataObjectBase

dkDataObjectBase represents the base interface for data objects, data-value objects (User Defined Types), and extended data objects (XDO). These objects are known by datastores. A data object base has an object-type and supports a known protocol. The protocol essentially indicates how to handle this object with regard of its persistency: how to store and retrieve the persistent data from (or to) a datastore. Protocol may also indicates how to manipulate this object, that is, setting and getting data-values, data properties, etc. Data-objects supporting the same protocol are handled in a similar manner by the datastore. The Content-Management Data Access class library framework supports the following protocols:

Potentially, the data-access class library can be extended to support additional sub-classes and their associated protocols; for example, stream data-object and protocol.


Method Summary
 java.lang.String getObjectType()
          Gets the type of this object.
 dkDataObjectBase getParent()
          Gets the parent object
 dkDataObjectBase getRootObject()
          Gets the root object
 short protocol()
          Gets the protocol type associated with this data object.
 void setParent(dkDataObjectBase parentObject)
          Sets the parent object
 void setRootObject(dkDataObjectBase rootObject)
          Sets the root object
 

Method Detail

protocol

public short protocol()
Gets the protocol type associated with this data object.
Returns:
the protocol

getObjectType

public java.lang.String getObjectType()
Gets the type of this object.
Returns:
the object type

getParent

public dkDataObjectBase getParent()
Gets the parent object
Returns:
the parent object. Returns null if no parent

setParent

public void setParent(dkDataObjectBase parentObject)
Sets the parent object
Parameters:
parentObject - the parent object

getRootObject

public dkDataObjectBase getRootObject()
Gets the root object
Returns:
the root object. Returns null if no root

setRootObject

public void setRootObject(dkDataObjectBase rootObject)
Sets the root object
Parameters:
rootObject - the root object

EIP Java APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.