public class ViewFieldLimit extends FieldLimit implements Cloneable, Serializable
ViewFieldLimit class
defines the value limits for a character(DataType.CHAR) field| Constructor and Description |
|---|
ViewFieldLimit() |
ViewFieldLimit(int max)
Constructs a new
ViewLimits object |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self.
|
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the
provided one.
|
int |
getMaxLength()
Returns the maximum field length.
|
int |
hashCode()
Returns the hash code value for this instance of the current class.
|
void |
setMaxLength(int max)
Sets the maximum field length.
|
String |
toString()
Returns a string description of the object.
|
getDataTypepublic ViewFieldLimit(int max)
ViewLimits objectmax - Maximum field length. Specify zero to indicate no maximum.public ViewFieldLimit()
public void setMaxLength(int max)
public int getMaxLength()
public Object clone() throws CloneNotSupportedException
clone in class FieldLimitCloneNotSupportedExceptionpublic String toString()
toString in class FieldLimitpublic int hashCode()
hashCode in class FieldLimitpublic boolean equals(Object obj)
equals in class FieldLimitobj - the object that we are comparing to? Copyright 2013 BMC Software, Inc.