Index

DXCatalogDefQBIC

Purpose:

This is the class that is used to represent an entity definition for QBIC.

Methods:

datastoreName
   BSTR datastoreName();

Gets the datastore name.

datastoreType
   BSTR datastoreType();

Gets the 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.

getId
   short getId();

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

Get the attribute definition. The returned LPDISPATCH pointer contains a DXFeatureDefQBIC object.

listAttrs
   LPDISPATCH listAttrs();

Lists the attribute definitions. The returned LPDISPATCH pointer contains a DXSequentialCollectionDL 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 DXDatastoreQBIC object.

setDatastore
   setDatastore(LPDISPATCH ds);

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

addFeature
   addFeature(LPDISPATCH attrDef);

Adds the feature (to this entity) to the datastore. The input parameter LPDISPATCH pointer contains a DXFeatureDefQBIC object.

delFeature
   delFeature(LPDISPATCH attrDef)

Deletes the feature (from this entity) from the datastore. The input parameter LPDISPATCH pointer contains a DXFeatureDefQBIC object.

add
   add();

Adds this entity to the datastore.

del
   del()

Deletes this entity from the datastore.

getDatabaseName
   BSTR getDatabaseName();

Gets the database name.

setDatabaseName
   setDatabaseName(LPCTSTR name);

Sets the database name.

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