Purpose:
This is the class that is used to represent a Binder entity definition for DD.
Methods:
BSTR datastoreName();
BSTR datastoreType();
BSTR getName();
setName(LPCTSTR name);
short getType();
setType(short type);
BSTR getDescription();
setDescription(LPCTSTR name);
BOOL isSearchable();
LPDISPATCH getAttr(LPCTSTR attrName);
Get attribute definition. The returned LPDISPATCH pointer contains a DKAttrFieldDefDD object.
LPDISPATCH listAttrs();
List attribute definitions. The returned LPDISPATCH pointer contains a DXSequentialCollectionDD object.
VARIANT listAttrNames(long* arraySize);
List attribute definition names. The output parameter arraySize is the size of the array.
LPDISPATCH getDatastore();
Gets the datastore. The returned LPDISPATCH pointer contains a DXDatastoreDD object.
setDatastore(LPDISPATCH ds);
Sets the datastore. The input parameter LPDISPATCH pointer contains a DXDatastoreDD object.
BOOL hasSubEntities();
LPDISPATCH listSubEntities();
VARIANT listSubEntityNames(long* arraySize);
Gets a list of sub-entity names for the current entity. The output parameter arraySize is the size of the array.
LPDISPATCH getSubEntity(LPCTSTR subEntityName);
Gets the sub-entity for the current entity.
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.