Index

DXPidXDODL

Purpose:

This is the class that is used to represent a persistent identifier for XDOs for Content Manager.

Methods:

init
   init(LPCTSTR pidString);

If this method is used, it must be called following the creation of a DXPidXDODL object (except for methods returning a DXPidXDODL object). Initializes the persistent identifier (PID) with the persistent identifier string.

getDatastoreType
   BSTR getDatastoreType();

Gets the datastore type.

setDatastoreType
   setDatastoreType(LPCTSTR datastoreType);

Sets the datastore type.

getDatastoreName
   BSTR getDatastoreName();

Gets the datastore name.

setDatastoreName
   setDatastoreName(LPCTSTR datastoreName);

Sets the datastore name.

getPrimaryId
   BSTR getPrimaryId();

Gets the primary ID.

setPrimaryId
   setPrimaryId(LPCTSTR primaryId);

Sets the primary identifier.

getIdString
   BSTR getIdString();

Gets the identifier string.

setIdString
   setIdString(LPCTSTR idStr);

Sets the identifier string.

pidString
   BSTR pidString();

Gets the persistent identifier string.

getObjectType
   BSTR getObjectType();

Gets the object type.

setObjectType
   setObjectType(LPCTSTR objectType);

Sets the object type.

isSet
   BOOL isSet();

Returns TRUE if all fields of the persistent identifier have been specified.

getIdStringCount
   long getIdStringCount();

Gets the identifier string count.

setIdStringCount
   setIdStringCount(long idStringCount);

Sets the identifier string count.

getIdStringWithIndex
   BSTR getIdStringWithIndex(long index);

Gets a part of the identifier string, using an index. The index starts at 0 and continues to n.

setIdStringWithIndex
   setIdStringWithIndex(long index, LPCTSTR idStringItem);

Sets a part of the identifier string using an index. The index starts at 0 and continues to n.

clone
   LPDISPATCH clone();

Returns a clone of this persistent identifier. The returned LPDISPATCH pointer contains a DXPidXDODL object.

getItemId
   BSTR getItemId();

Gets the item identifier.

setItemId
   setItemId(LPCTSTR itemId);

Sets the item identifier.

getRepType
   BSTR getRepType();

Gets the representation type.

setRepType
   setRepType(LPCTSTR repType);

Sets the representation type.

getPartId
   long getPartId();

Gets the part identifier.

setPartId
   setPartId(long partId);

Sets the part identifier.

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