Index

DXIndexClassDefV4

Purpose:

This is the class that is used to represent an entity definition for VisualInfo for AS/400.

Methods:

datastoreName
         BSTR   datastoreName();
 

Gets the datastore name.

datastoreType
         BSTR   datastoreType();

Gets the datastore type.

getName
         BSTR   getName();

Gets the entity name.

setName
         setName(LPCTSTR name);

Sets the entity name.

getType
         short getType();

Gets the entity type.

setType
         setType(short type);

Sets the entity type.

getId
         short getId();

Gets the entity ID.

setId
         setId(short id);

Sets the entity ID.

getDescription
         BSTR   getDescription();

Gets the description.

setDescription
         setDescription(LPCTSTR name);

Sets the description.

isSearchable
         BOOL   isSearchable();

Returns true if searchable.

getAttr
         LPDISPATCH     getAttr(LPCTSTR attrName);

Gets the attribute definition. The returned LPDISPATCH pointer contains a DXAttrDefV4 object.

listAttrs
         LPDISPATCH listAttrs();

Lists the attribute definitions. The returned LPDISPATCH pointer contains a DXSequentialCollectionV4 object.

listAttrNames
         VARIANT listAttrNames(long* arraySize);

Lists the attribute definition names. The output parameter arraySize is the size of the array.

getDatastore
         LPDISPATCH     getDatastore();

Gets the datastore. The returned LPDISPATCH pointer contains a DXDatastoreV4 object.

setDatastore
         setDatastore(LPDISPATCH ds);

Sets the datastore. The input parameter LPDISPATCH pointer contains a DXDatastoreV4 object.

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