Index

DXAttrDefDL

Purpose:

This class defines methods to access attribute information as well as to create and delete attributes.

Methods:

datastoreName
BSTR datastoreName();

Gets the name of this datastore.

datastoreType
BSTR datastoreType();

Gets the datastore type.

getName
BSTR getName();

Gets the entity name.

setName
setName(LPCTSTR name);

Sets name for this entity.

getType
short getType();

Gets the entity type.

setType
setType(short type);

Sets the entity type.

getId
short getId();

Gets the entity ID.

setId
setId(short id);

Sets the entity ID.

getDescription
BSTR getDescription();

Gets the entity description.

setDescription
setDescription(LPCTSTR name);

Sets the entity description.

getDatastore
LPDISPATCH getDatastore();

Gets the datastore. The returned LPDISPATCH pointer contains a DXDatastoreDL object.

setDatastore
setDatastore(LPDISPATCH ds);

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

getEntity
LPDISPATCH getEntity();

Gets the entity. The returned LPDISPATCH pointer contains a DXIndexClassDefDL object.

setEntity
setEntity(LPDISPATCH ent);

Sets the entity. The input parameter LPDISPATCH pointer contains a DXIndexClassDefDL object.

getSize
long getSize();

Gets the size.

setSize
setSize(long displaySize);

Sets the size.

isNullable
BOOL isNullable();

Checks if this entity is nullable.

setNullable
setNullable(BOOL nullable);

Sets whether null value is allowed for this entity.

getPrecision
long getPrecision();

Gets precision value for this attribute.

setPrecision
setPrecision(long precision);

Sets precision value for this attribute.

getScale
long getScale();

Gets scale value of this entity.

setScale
setScale(long scale);

Sets scale value of this entity.

getMax
long getMax();

Gets maximum value for this entity.

setMax
setMax(long max);

Sets maximum value for this entity.

getMin
long getMin();

Gets the minimum value for this entity.

setMin
setMin(long Min);

Gets the minimum value for this entity.

getStringType
long getStringType();

Gets the string type value for this entity.

setStringType
setStringType(long stringType);

Sets the string type value for this entity.

isUpdatable
setUpdatable(BOOL updatable);

Checks if this entity is updatable.

setUpdatable
setUpdatable(BOOL updatable);

Sets the updatability of this entity.

isQueryable
BOOL isQueryable();

Checks if this entity is queryable.

setQueryable
setQueryable(BOOL queryable);

Sets the queryability of this entity.

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