Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKPidTS

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

public class DKPidTS
extends DKPid
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
DKPidTS()
          Constructs a Pid
DKPidTS(DKPidTS aDKPidTS)
          Constructs a Pid
DKPidTS(java.lang.String aPidString)
          Constructs a Pid
 
Method Summary
 java.lang.Object clone()
          Clone
 boolean equals(java.lang.Object otherObject)
          Compare Pids
 java.lang.String getId()
          Deprecated. Replace by getIdString
 int getPartId()
          Gets the part id
 java.lang.String getPrimaryId()
          Gets the datastore specific primary persistent-id
 java.lang.String getRepType()
          Gets the rep type
 java.lang.String pidType()
          Gets Pid type.
 void setId(java.lang.String sourceId)
          Deprecated. Replace by setIdString
 void setPrimaryId(java.lang.String primaryId)
          Sets the datastore specific primary persistent-id
 
Methods inherited from class com.ibm.mm.sdk.common.DKPid
getDatastoreName, getDatastoreType, getIdString, getIdString, getIdStringCount, getObjectType, isSet, pidString, setDatastoreName, setDatastoreType, setIdString, setIdString, setIdStringCount, setObjectType
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKPidTS

public DKPidTS()
Constructs a Pid

DKPidTS

public DKPidTS(java.lang.String aPidString)
        throws DKException
Constructs a Pid
Parameters:
aPidString - pid string

DKPidTS

public DKPidTS(DKPidTS aDKPidTS)
Constructs a Pid
Parameters:
aDKPidTS - pid for QBIC
Method Detail

getId

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

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:
DKPid.getIdString(int)

setId

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

Sets the datastore specific persistent-id for the owner data-object.
Overrides:
setId in class DKPid
Parameters:
sourceId - datastore persistent-id
See Also:
DKPid.setIdString(int,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

equals

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

clone

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

pidType

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

getPartId

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

getRepType

public java.lang.String getRepType()
Gets the rep type
Returns:
the rep type

EIP Java APIs

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