Index

DXAttrFieldDefDD

Purpose:

This class represents an attribute definition for field in Domino.Doc.

Methods:

datastoreName
   BSTR datastoreName();

Gets the name of the associated datastore.

datastoreType
   BSTR datastoreType();

Gets the type of the associated datastore.

getDatastore
   LPDISPATCH getDatastore();

Gets the associated datastore. The returned LPDISPATCH pointer contains a DXDatastoreDD object.

getDescription
   BSTR getDescription();

Gets the description.

getEntity
   LPDISPATCH getEntity();

Gets the associated entity. The returned LPDISPATCH pointer contains a DXCabinetDefDD object.

getMax
   long getMax();

Gets the maximum value allowed for the attribute.

getMin
   long getMin();

Gets the minimum value allowed for the attribute.

getName
   BSTR getName();

Gets the name of the attribute.

getPrecision
  	long getPrecision();

Gets the precision of the attribute.

getScale
   long getScale();

Gets the scale.

getSize
   long getSize();

Gets the size.

getStringType
   long getStringType();

Gets the string type.

getType
   short getType();

Return the datatype of the attribute.

isNullable
   BOOL isNullable();

Returns true if the attribute value can be null.

isQueryable
   BOOL isQueryable();

Returns true if the attribute can be used in a query.

isUpdatable
   BOOL isUpdatable();

Returns true if the attribute value can be modified.

setDatastore
   setDatastore(LPDISPATCH ds);

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

setDescription
   setDescription(LPCTSTR name);

Sets the description.

setEntity
   setEntity(LPDISPATCH ent);

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

setMax
   setMax(long max);

Sets the maximum value allowed for the attribute.

setMin
   setMin(long Min);

Sets the minimum value allowed for the attribute.

setName
   setName(LPCTSTR name);

Sets the name of the attribute.

setNullable
   setNullable(BOOL nullable);

Sets the nullable indicator.

setPrecision
   setPrecision(long precision);

Sets the precision.

setQueryable
   setQueryable(BOOL queryable);

Sets the queryable indicator.

setScale
   setScale(long scale);

Sets the scale.

setSize
   setSize(long displaySize);

Sets the size.

setStringType
   setStringType(long stringType);

Sets the string type.

setType
   setType(short type);

Sets the data type for the attribute.

setUpdatable
   setUpdatable(BOOL updatable);

Set updatable indicator.

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