hasType()

Determines if the data type of the attribute matches the type name passed in as a parameter.

Syntax

public boolean hasType(String typeName);

Parameters

typeName
Is the type of the attribute passed in to the method. Use one of the string attribute-type constants:
                        CxObjectAttr.BOOLSTRING
                        CxObjectAttr.DATESTRING
                        CxObjectAttr.DOUBSTRING
                        CxObjectAttr.FLTSTRING
                        CxObjectAttr.INTSTRING
                        CxObjectAttr.LONGTEXTSTRING
                        CxObjectAttr.STRSTRING

Return values

Returns True if the attribute type matches the passed-in type name; otherwise, returns False.

Copyright IBM Corp. 1997, 2004