Index

DXDatabaseDefDES

Purpose:

This class represents an entity definition for DES.

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.

getDisplayName
BSTR getDisplayName();

Gets the display name.

setDisplayName
void setDisplayName(LPCTSTR name)

Sets the display name.

getHelpText
BSTR getHelpText();

Gets the help text.

setHelpText
setHelpText(LPCTSTR text);

Sets the help text.

getLanguage
BSTR getLanguage();

Gets the language.

setLanguage
setLanguage(LPCTSTR lang);

Sets the language.

getNumVals
int getNumVals();

Gets the number of values.

setNumVals
setNumVals(int iNum);

Sets the number of values.

getDataType
short getDataType();

Gets the data type.

setDataType
setDataType(short type);

Sets the data type.

isSearchable
BOOL isSearchable();

Returns TRUE if searchable.

setSearchable
setSearchable(BOOL);

Sets searchable flag.

isRetrievable
BOOL isRetrievable();

Returns TRUE if retrievable.

setRetrievable
setRetrievable(BOOL);

Sets retrievable flag.

getValue
short getValue(int index);

Gets the entity value.

setValue
setValue(short value, int index);

Sets the entity value.

getAttr
LPDISPATCH getATtr(LPCTSTR attrName);

Gets attribute definition. The returned LPDISPATCH pointer contains a DXFieldDefDES object.

listAttrs
LPDISPATCH listAttrs();

List attribute definitions. The returned LPDISPATCH pointer contains a DXSequentialCollectionDES 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 DXDatastoreDES object.

setDatastore
setDatastore(LPDISPATCH ds);

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

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