public class ViewFieldLimit extends FieldLimit implements Cloneable, Serializable
ViewFieldLimit
class
defines the value limits for a character(DataType.CHAR
)
fieldConstructor 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.
|
getDataType
public 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 FieldLimit
CloneNotSupportedException
public String toString()
toString
in class FieldLimit
public int hashCode()
hashCode
in class FieldLimit
public boolean equals(Object obj)
equals
in class FieldLimit
obj
- the object that we are comparing to? Copyright 2013 BMC Software, Inc.