Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKPidXDOV4

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

public class DKPidXDOV4
extends DKPidXDO
implements DKConstant, DKMessageId, java.io.Serializable

See Also:
Serialized Form

Fields inherited from interface com.ibm.mm.sdk.common.DKConstant
    For details, see the class or interface
 
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId
    For details, see the class or interface
 
Constructor Summary
DKPidXDOV4()
          Constructor
DKPidXDOV4(DKPidXDOV4 aDKPidXDOV4)
          Copy constructor
DKPidXDOV4(java.lang.String aPidString)
          Constructor
 
Method Summary
 java.lang.Object clone()
          Clone
 boolean equals(java.lang.Object otherObject)
          Compare Pids
 java.lang.String getId()
          Deprecated. Replace by getPrimaryId
 java.lang.String getItemId()
          Gets the Item id
 int getPartId()
          Gets the part ID
 java.lang.String getPrimaryId()
          Gets the datastore specific primary persistent-id
 java.lang.String getRepType()
          Gets the representation type of the part
 boolean isSet()
          Pid values set indicator
 java.lang.String pidType()
          Gets Pid type.
 void setId(java.lang.String sourceId)
          Deprecated. Replace by setPrimaryId
 void setItemId(java.lang.String aItemId)
          Sets the Item id
 void setPartId(int aPartId)
          Sets the part ID
 void setPrimaryId(java.lang.String primaryId)
          Sets the datastore specific primary persistent-id
 void setRepType(java.lang.String aRType)
          Sets the representation type of the piece of content Note: This datastore type only supports " " (8 blanks) for the representation type.
 
Methods inherited from class com.ibm.mm.sdk.common.DKPid
getDatastoreName, getDatastoreType, getIdString, getIdString, getIdStringCount, getObjectType, pidString, setDatastoreName, setDatastoreType, setIdString, setIdString, setIdStringCount, setObjectType
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKPidXDOV4

public DKPidXDOV4()
Constructor

DKPidXDOV4

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

DKPidXDOV4

public DKPidXDOV4(DKPidXDOV4 aDKPidXDOV4)
Copy constructor
Parameters:
aDKPidXDOV4 - XDO pid for vi400
Method Detail

getId

public java.lang.String getId()
Deprecated. Replace by getPrimaryId

Gets the datastore specific persistent-id of the owner data-object. This id contains information to locate the persistent data, of the owner data-object, in the datastore.
Overrides:
getId in class DKPid
Returns:
the datastore persistent-id .
See Also:
getPrimaryId()

setId

public void setId(java.lang.String sourceId)
Deprecated. Replace by setPrimaryId

Sets the datastore specific persistent-id for the owner data-object.
Overrides:
setId in class DKPid
Parameters:
sourceId - datastore persistent-id
See Also:
setPrimaryId(java.lang.String)

getPrimaryId

public java.lang.String getPrimaryId()
Gets the datastore specific primary persistent-id
Overrides:
getPrimaryId in class DKPid
Returns:
the datastore primary persistent-id

setPrimaryId

public void setPrimaryId(java.lang.String primaryId)
Sets the datastore specific primary persistent-id
Overrides:
setPrimaryId in class DKPid
Parameters:
primaryId - datastore primary persistent-id

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

getItemId

public java.lang.String getItemId()
Gets the Item id
Returns:
the item id

setItemId

public void setItemId(java.lang.String aItemId)
Sets the Item id
Parameters:
aItemId - the item id

isSet

public boolean isSet()
Pid values set indicator
Overrides:
isSet in class DKPidXDO
Returns:
true if all components of this Pid are set to their intended values.

clone

public java.lang.Object clone()
Clone
Overrides:
clone in class DKPidXDO
Returns:
the a copy of Pid

equals

public boolean equals(java.lang.Object otherObject)
Compare Pids
Overrides:
equals in class DKPid
Returns:
true if to pids are equal

getRepType

public java.lang.String getRepType()
Gets the representation type of the part
Returns:
the representation type

setRepType

public void setRepType(java.lang.String aRType)
                throws DKException
Sets the representation type of the piece of content Note: This datastore type only supports " " (8 blanks) for the representation type.
Parameters:
aRType - the representation type of the piece of content
Throws:
DKException - if aRType is not equal to " " (8 blanks)

pidType

public java.lang.String pidType()
Gets Pid type.
Overrides:
pidType in class DKPidXDO
Returns:
the pid type.

EIP Java APIs

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