getAttrType()

Retrieves the type of an attribute.

Syntax

public int getAttrType();
 

Parameters

None.

Return values

An integer that represents the type of the attribute. Compare this integer value with the one of the attribute-type constants:

BusObjAttrType.BOOLEAN
The attribute has the Boolean data type.
BusObjAttrType.CIPHERTEXT
The attribute has the Cipher Text data type.
BusObjAttrType.DATE
The attribute has the Date data type.
BusObjAttrType.DOUBLE
The attribute has the Double data type.
BusObjAttrType.FLOAT
The attribute has the Float data type.
BusObjAttrType.INTEGER
The attribute has the Integer data type.
BusObjAttrType.INVALID_TYPE
The attribute has an invalid data type.
BusObjAttrType.LONGTEXT
The attribute has the Long Text data type.
BusObjAttrType.OBJECT
The attribute has the Object data type (it contains another business object).
BusObjAttrType.STRING
The attribute has the String data type.

See also

getAttrTypeName(), setAttrType()

Copyright IBM Corp. 1997, 2004