Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKPidXDOOD

java.lang.Object
  |
  +--com.ibm.mm.sdk.common.DKPid
        |
        +--com.ibm.mm.sdk.common.DKPidXDO
              |
              +--com.ibm.mm.sdk.common.DKPidXDOOD
All Implemented Interfaces:
DKMessageId, java.io.Serializable

public class DKPidXDOOD
extends DKPidXDO
implements DKMessageId, java.io.Serializable

See Also:
Serialized Form

Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId
    For details, see the class or interface
 
Constructor Summary
DKPidXDOOD()
          Constructor
DKPidXDOOD(DKPidXDOOD aDKPidXDOOD)
          Copy constructor
DKPidXDOOD(java.lang.String aPidString)
          Constructor
 
Method Summary
 void copyData(DKPidXDOOD pid)
          Copies from the given DKPidXDOOD object
 boolean equals(java.lang.Object otherObject)
          Checks if the objects are equal
 int getPartId()
          Gets the part ID
 int getType()
          Gets the representation type of the piece of content
 boolean isSet()
          Checks if the strings and part ID of the object are set
 java.lang.String pidString()
          Gets the persistent ID in string
 void setPartId(int aPartId)
          Sets the part ID
 void setType(int type)
          Sets the representation type of the piece of content
 
Methods inherited from class com.ibm.mm.sdk.common.DKPidXDO
clone, pidType
 
Methods inherited from class com.ibm.mm.sdk.common.DKPid
getDatastoreName, getDatastoreType, getId, getIdString, getIdString, getIdStringCount, getObjectType, getPrimaryId, setDatastoreName, setDatastoreType, setId, setIdString, setIdString, setIdStringCount, setObjectType, setPrimaryId
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKPidXDOOD

public DKPidXDOOD()
Constructor

DKPidXDOOD

public DKPidXDOOD(java.lang.String aPidString)
           throws DKException
Constructor
Parameters:
aPidString - a persistent ID
Throws:
DKException - if error detected

DKPidXDOOD

public DKPidXDOOD(DKPidXDOOD aDKPidXDOOD)
Copy constructor
Parameters:
aDKPidXDOOD - a source object
Method Detail

getPartId

public int getPartId()
Gets the part ID
Returns:
the part ID

setPartId

public void setPartId(int aPartId)
Sets the part ID
Parameters:
aPartId - a part ID

isSet

public boolean isSet()
Checks if the strings and part ID of the object are set
Overrides:
isSet in class DKPidXDO
Returns:
true if all strings and part ID of the object are set and not null, false otherwise

pidString

public java.lang.String pidString()
Gets the persistent ID in string
Overrides:
pidString in class DKPid
Returns:
the persistent ID

copyData

public void copyData(DKPidXDOOD pid)
              throws java.lang.NullPointerException
Copies from the given DKPidXDOOD object
Parameters:
aDKPidXDOOD - a source object
Throws:
java.lang.NullPointerException - if the source object is NULL

equals

public boolean equals(java.lang.Object otherObject)
Checks if the objects are equal
Overrides:
equals in class DKPid
Parameters:
otherObject - an instanceof DKPidXDOOD to be compared with
Returns:
true if the obejcts are equal, false otherwise

getType

public int getType()
Gets the representation type of the piece of content
Returns:
the representation type of the piece of content

setType

public void setType(int type)
Sets the representation type of the piece of content
Parameters:
aRType - the representation type of the piece of content

EIP Java APIs

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