7.0 Action Request System Java API

com.remedy.arsys.api
Class DisplayLimits

java.lang.Object
  extended bycom.remedy.arsys.api.FieldLimitInfo
      extended bycom.remedy.arsys.api.DisplayLimits
All Implemented Interfaces:
java.lang.Cloneable

public class DisplayLimits
extends FieldLimitInfo
implements java.lang.Cloneable

The DisplayLimits class defines the value limits for a character(DataType.CHAR) field.


Constructor Summary
DisplayLimits()
           
DisplayLimits(int max)
          Constructs a new DisplayLimits object
 
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 com.remedy.arsys.api.FieldLimitInfo
getDataType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayLimits

public DisplayLimits(int max)
Constructs a new DisplayLimits object

Parameters:
max - Maximum field length. Specify zero to indicate no maximum.

DisplayLimits

public DisplayLimits()
Method Detail

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
Throws:
java.lang.CloneNotSupportedException

7.0 Action Request System Java API