Sets the maximum length for an attribute.
Syntax
public void setMaxLength(int maxLength);
Parameters
Return values
None.
Exceptions
Thrown if the maximum length is maxLength < 0 or maxLength > 2^31-1
See also
getMaxLength()