Purpose:
This class represents an attribute definition for VisualInfo for AS/400. Each entity in a VisualInfo for AS/400 datastore will have one or more attributes. Additional attributes may be added to a DXIndexClassDefV4 object, but the ability to create and delete persistent attributes is not supported for VisualInfo for AS/400.
Methods:
BSTR datastoreName();
BSTR datastoreType();
LPDISPATCH getDatastore();
Gets the associated datastore. The returned LPDISPATCH pointer contains a DXDatastoreV4 object.
BSTR getDescription();
LPDISPATCH getEntity();
Gets the associated entity. The returned LPDISPATCH pointer contains a DXIndexClassDefV4 object.
short getId();
long getMax();
long getMin();
long getName();
long getPrecision();
long getScale();
long getSize();
long getStringType();
short getType();
BOOL isNullable();
BOOL isQueryable();
BOOL isUpdatable();
setDatastore(LPDISPATCH ds);
Sets the associated datastore. The input parameter LPDISPATCH pointer contains a DXDatastoreV4 object.
setDescription(LPCTSTR name);
setEntity(LPDISPATCH ent);
Sets the entity. The input parameter LPDISPATCH pointer contains a DXIndexClassDefV4 object.
setId(short id);
setMax(long max);
setMin(long Min);
setName(LPCTSTR name);
setNullable(BOOL nullable);
setPrecision(long precision);
setQueryable(BOOL queryable);
setScale(long scale);
setSize(long displaySize);
setStringType(long stringType);
setType(short type);
setUpdatable(BOOL updatable);
Sets the updatable indicator.
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.