Index

DXPidXDOV4

Purpose:

This is the class that is used to represent a persistent identifier for XDOs for VisualInfo for AS/400.

Methods:

initialization
        init(LPCTSTR pidString);

If this method is used it must be called following the creation of a DXPidXDOV4 object (except for methods returning a DXPidXDOV4 object). Initializes PID with the PID 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 ID.

getIdString
        BSTR getIdString();

Gets the ID string.

setIdString
        setIdString(LPCTSTR     idStr);

Sets the ID string.

pidString
        BSTR pidString();

Gets the PID 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 PID have been specified.

getIdStringCount
        long getIdStringCount();

Gets the ID string count.

setIdStringCount
        setIdStringCount(long   idStringCount);

Sets the ID string count.

getIdStringWithIndex
        BSTR getIdStringWithIndex(long index);

Gets a part of the ID string using an index. The index starts from 0 to n.

setIdStringWithIndex
        setIdStringWithIndex(long index, LPCTSTR idStringItem);

Sets a part of the ID string using an index. The index starts from 0 to n.

clone
        LPDISPATCH clone();

Returns a clone of this PID. The returned LPDISPATCH pointer contains a DXPidXDOV4 object.

getItemId
         BSTR   getItemId();

Gets the item ID.

setItemId
         setItemId(LPCTSTR itemId);

Sets the item ID.

getRepType
         BSTR   getRepType();

Gets the representation type that's always 8 blanks.

setRepType
         setRepType(LPCTSTR repType);

Sets the representation type that must be 8 blanks.

getPartId
        long getPartId();

Returns the part ID.

setPartId
        setPartId(long partId);

Sets the part ID.

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