getTypeName()

Retrieves the name of the data type of an attribute as a string.

Syntax

char * getTypeName();
 

Return values

The string type name for the data type of the attribute. The getTypeName() method returns the attribute-type strings shown in Table 95.

Table 94. String attribute-type values
Attribute data type String attribute type
Boolean "Boolean"
Date "Date"
Double "Double"
Float "Float"
Integer "Integer"
Long text "LongText"
Object "Object"
String "String"

See also

getTypeNum(), hasTypeName(), isType()

Copyright IBM Corp. 1997, 2003