getMaxLength()

Retrieves the maximum length of an attribute from the business object definition.

Syntax

int getMaxLength();
 

Return values

An integer that specifies the maximum length, in bytes, that an attribute value can have.

Notes

If the maximum length is 0 (zero) there is no length restriction on the attribute.

Copyright IBM Corp. 1997, 2003