com.remedy.arsys.api
Class ViewLimits
java.lang.Object
|
+--com.remedy.arsys.api.FieldLimitInfo
|
+--com.remedy.arsys.api.ViewLimits
- All Implemented Interfaces:
- java.lang.Cloneable
- public class ViewLimits
- extends FieldLimitInfo
- implements java.lang.Cloneable
The ViewLimits class
defines the value limits for a character(DataType.CHAR) field
|
Method Summary |
java.lang.Object |
clone()
Makes a copy of the object. |
int |
getMaxLength()
Returns the maximum field length. |
void |
setMaxLength(int max)
Sets the maximum field length. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewLimits
public ViewLimits(int max)
- Constructs a new
ViewLimits object
- Parameters:
max - Maximum field length. Specify zero to indicate no maximum.
ViewLimits
public ViewLimits()
setMaxLength
public void setMaxLength(int max)
- Sets the maximum field length.
getMaxLength
public int getMaxLength()
- Returns the maximum field length.
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Makes a copy of the object.
- Overrides:
clone in class FieldLimitInfo