com.remedy.arsys.api
Class DisplayLimits
java.lang.Object
|
+--com.remedy.arsys.api.FieldLimitInfo
|
+--com.remedy.arsys.api.DisplayLimits
- public class DisplayLimits
- extends FieldLimitInfo
- implements java.lang.Cloneable
The DisplayLimits class
defines the value limits for a character(DataType.CHAR) field.
|
Method Summary |
java.lang.Object |
clone()
Clone implementation that returns an Object with data cloned from self. |
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 |
DisplayLimits
public DisplayLimits(int max)
- Constructs a new
DisplayLimits object
- Parameters:
max - Maximum field length. Specify zero to indicate no maximum.
DisplayLimits
public DisplayLimits()
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
- Clone implementation that returns an Object with data cloned from self.
- Overrides:
- clone in class FieldLimitInfo