Index

DXDocumentDefDD

Purpose:

This is the class that is used to represent a Document entity definition for DD.

Methods:

datastoreName
   BSTR datastoreName();

Get datastore name.

datastoreType
   BSTR datastoreType();

Get datastore type.

getName
   BSTR getName();

Gets an entity name.

setName
   setName(LPCTSTR name);

Sets an entity name.

getType
   short getType();

Gets the entity type.

setType
   setType(short type);

Sets the entity type.

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);

Get attribute definition. The returned LPDISPATCH pointer contains a DKAttrDefDD object.

listAttrs
   LPDISPATCH listAttrs();

List attribute definitions. The returned LPDISPATCH pointer contains a DXSequentialCollectionDD object.

listAttrNames
   VARIANT listAttrNames(long* arraySize);

List 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 DXDatastoreDD object.

setDatastore
   setDatastore(LPDISPATCH ds);

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

hasSubEntities
   BOOL hasSubEntities();

Returns true if has sub-entity.

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