Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKPidXDOICM

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

public class DKPidXDOICM
extends DKPidXDO
implements DKConstantICM, DKMessageIdICM, java.io.Serializable

See Also:
Serialized Form

Fields inherited from interface com.ibm.mm.sdk.common.DKConstantICM
    For details, see the class or interface
 
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.DKMessageIdICM
    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
DKPidXDOICM()
          Constructs a Pid
DKPidXDOICM(DKPidXDOICM aPid)
          Constructs a Pid
DKPidXDOICM(java.lang.String aPidString)
          Constructs a Pid from a stringified Pid is not ready yet (@CM mai 2 2001)
 
Method Summary
 java.lang.Object clone()
          Clone
 void copyData(DKPidXDOICM aPid)
           
 boolean equals(java.lang.Object otherObject)
          Compare Pids
 java.lang.String getCollection()
          Gets the Collection
 short getCollectionID()
          Gets the CollectionCode
 java.lang.String getFile()
          Gets the RM servlet name
 java.util.Vector getFiles()
           
 java.lang.String getHost()
          Gets the host
 java.util.Vector getHosts()
           
 java.lang.String getItemId()
          Gets the Item id
 int getPort()
          Gets the port
 java.util.Vector getPorts()
           
 java.lang.String getPrimaryId()
          Gets the datastore specific primary persistent-id
 java.lang.String getProtocol()
          Sets the Data Access Protocol
 java.util.Vector getProtocols()
           
 java.lang.String getRepType()
          Gets the representation type of the part
 java.lang.String getResourceName()
           
 short getResourceNumber()
          Gets the ResourceNumber
 java.lang.String getToken()
          Gets the Token
 java.util.Vector getTokens()
           
 int getVersionId()
          Gets the getVersionId
 boolean isSet()
          Pid values set indicator
 java.lang.String pidType()
          Gets Pid type.
 void setCollection(java.lang.String coll)
          Sets the CollectionCode
 void setCollectionID(short id)
          Sets the CollectionCode
 void setFile(java.lang.String afile)
          Sets the RM servlet name
 void setFiles(java.util.Vector afile)
           
 void setHost(java.lang.String ahost)
          Sets the RM host name
 void setHosts(java.util.Vector ahost)
           
 void setItemId(java.lang.String aItemId)
          Sets the Item id
 void setPort(int aport)
          Sets the port
 void setPorts(java.util.Vector aport)
           
 void setPrimaryId(java.lang.String primaryId)
          Sets the datastore specific primary persistent-id
 void setProtocol(java.lang.String aprot)
          Sets the RM servlet name
 void setProtocols(java.util.Vector aprot)
           
 void setRepType(java.lang.String aRType)
          Sets the representation type of the part
 void setResourceName(java.lang.String name)
           
 void setResourceNumber(short resnum)
          Sets the ResourceNumber
 void setToken(java.lang.String atoken)
          Sets the token
 void setTokens(java.util.Vector atoken)
           
 void setURLInfo(java.lang.String protocol, java.lang.String host, int port, java.lang.String file)
          Sets the token
 void setURLInfo(java.lang.String protocol, java.lang.String host, java.lang.String file)
           
 void setURLInfo(java.util.Vector protocol, java.util.Vector host, java.util.Vector port, java.util.Vector file)
           
 void setVersionId(short ver)
          Sets the VersionID
 
Methods inherited from class com.ibm.mm.sdk.common.DKPid
getDatastoreName, getDatastoreType, getId, getIdString, getIdString, getIdStringCount, getObjectType, pidString, setDatastoreName, setDatastoreType, setId, setIdString, setIdString, setIdStringCount, setObjectType
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKPidXDOICM

public DKPidXDOICM()
Constructs a Pid

DKPidXDOICM

public DKPidXDOICM(java.lang.String aPidString)
            throws DKException
Constructs a Pid from a stringified Pid is not ready yet (@CM mai 2 2001)
Parameters:
aPidString - pid string

DKPidXDOICM

public DKPidXDOICM(DKPidXDOICM aPid)
            throws java.net.MalformedURLException
Constructs a Pid
Parameters:
aDKPidXDODL - XDO pid for DL
Method Detail

copyData

public void copyData(DKPidXDOICM aPid)
              throws java.lang.NullPointerException,
                     java.net.MalformedURLException

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

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 is all components of this Pid are set to their intended values. (@CM mai 2 2001 must be completeted)

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 the pids are equal

getResourceName

public java.lang.String getResourceName()

setResourceName

public void setResourceName(java.lang.String name)

getVersionId

public int getVersionId()
Gets the getVersionId
Returns:
the getVersionId

setVersionId

public void setVersionId(short ver)
Sets the VersionID
Parameters:
aVersionID -  

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)
Sets the representation type of the part
Parameters:
aRType - a representation type

getResourceNumber

public short getResourceNumber()
Gets the ResourceNumber
Returns:
the ResourceNumber

setResourceNumber

public void setResourceNumber(short resnum)
Sets the ResourceNumber
Parameters:
aResourceNumber - the part id

getCollection

public java.lang.String getCollection()
Gets the Collection
Returns:
the Collection

setCollection

public void setCollection(java.lang.String coll)
Sets the CollectionCode
Parameters:
aCollectionCode - the part id

getCollectionID

public short getCollectionID()
Gets the CollectionCode
Returns:
the CollectionCode

setCollectionID

public void setCollectionID(short id)
Sets the CollectionCode
Parameters:
aCollectionCode - the part id

getHost

public java.lang.String getHost()
Gets the host
Returns:
the host

getHosts

public java.util.Vector getHosts()

setHost

public void setHost(java.lang.String ahost)
Sets the RM host name
Parameters:
host - name

setHosts

public void setHosts(java.util.Vector ahost)

getProtocol

public java.lang.String getProtocol()
Sets the Data Access Protocol
Parameters:
aprotocol -  

getProtocols

public java.util.Vector getProtocols()

setProtocol

public void setProtocol(java.lang.String aprot)
Sets the RM servlet name
Parameters:
token -  

setProtocols

public void setProtocols(java.util.Vector aprot)

getPort

public int getPort()
Gets the port
Returns:
the port

getPorts

public java.util.Vector getPorts()

setPort

public void setPort(int aport)
Sets the port
Parameters:
port -  

setPorts

public void setPorts(java.util.Vector aport)

getFile

public java.lang.String getFile()
Gets the RM servlet name
Returns:
the servlet name

getFiles

public java.util.Vector getFiles()

setFile

public void setFile(java.lang.String afile)
Sets the RM servlet name
Parameters:
token -  

setFiles

public void setFiles(java.util.Vector afile)

getToken

public java.lang.String getToken()
Gets the Token
Returns:
the Token

getTokens

public java.util.Vector getTokens()

setToken

public void setToken(java.lang.String atoken)
Sets the token
Parameters:
token -  

setTokens

public void setTokens(java.util.Vector atoken)

setURLInfo

public void setURLInfo(java.lang.String protocol,
                       java.lang.String host,
                       int port,
                       java.lang.String file)
Sets the token
Parameters:
protocol -  
host -  
port -  
file -  

setURLInfo

public void setURLInfo(java.util.Vector protocol,
                       java.util.Vector host,
                       java.util.Vector port,
                       java.util.Vector file)

setURLInfo

public void setURLInfo(java.lang.String protocol,
                       java.lang.String host,
                       java.lang.String file)
Parameters:
protocol -  
host -  
port -  
file -  

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.