Purpose:
This is the class that is used to represent an entity definition for QBIC.
Methods:
BSTR datastoreName();
BSTR datastoreType();
BSTR getName();
setName(LPCTSTR name);
short getType();
setType(short type);
short getId();
setId(short id);
BSTR getDescription();
setDescription(LPCTSTR name);
BOOL isSearchable();
LPDISPATCH getAttr(LPCTSTR attrName);
Get the attribute definition. The returned LPDISPATCH pointer contains a DXFeatureDefQBIC object.
LPDISPATCH listAttrs();
Lists the attribute definitions. The returned LPDISPATCH pointer contains a DXSequentialCollectionDL object.
VARIANT listAttrNames(long* arraySize);
Lists the attribute definition names. The output parameter arraySize is the size of the array.
LPDISPATCH getDatastore();
Gets the datastore. The returned LPDISPATCH pointer contains a DXDatastoreQBIC object.
setDatastore(LPDISPATCH ds);
Sets the datastore. The input parameter LPDISPATCH pointer contains a DXDatastoreQBIC object.
addFeature(LPDISPATCH attrDef);
Adds the feature (to this entity) to the datastore. The input parameter LPDISPATCH pointer contains a DXFeatureDefQBIC object.
delFeature(LPDISPATCH attrDef)
Deletes the feature (from this entity) from the datastore. The input parameter LPDISPATCH pointer contains a DXFeatureDefQBIC object.
add();
del()
BSTR getDatabaseName();
setDatabaseName(LPCTSTR name);
Sets the database name.
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.