Index

DXDatabaseDefQBIC

Purpose:

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

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.

getId
   short getId();

Gets the entity identification.

setId
   setId(short id);

Sets entity ID.

getDescription
   BSTR getDescription();

Gets the description.

setDescription
   setDescription(LPCTSTR name);

Sets the description.

isSearchable
   BOOL isSearchable();

Returns TRUE if the entity is searchable.

hasSubEntities
   BOOL hasSubEntities();

Returns TRUE if the entity has subenitities.

getSubEntity
   LPDISPATCH getSubEntity(LPCTSTR subEntityName);

Gets the subentity definition. The returned LPDISPATCH pointer contains a DXCatalogDefQBIC object.

listSubEntities
   LPDISPATCH listSubEntities();

List the subentity definitions. The returned LPDISPATCH pointer contains a DXSequentialCollectionDL object.

listSubEntityNames
   VARIANT listSubEntityNames(long* arraySize);

List the subentity 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.

addSubEntity
   addSubEntity(LPDISPATCH subEntityDef);

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

delSubEntity
   delSubEntity(LPDISPATCH subEntityDef)

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

add
   add();

Adds this entity to the datastore.

del
   del()

Delete this entity from the datastore.

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