7.0 Action Request System Java API

com.remedy.arsys.api
Class ViewLimits

java.lang.Object
  extended bycom.remedy.arsys.api.FieldLimitInfo
      extended bycom.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


Constructor Summary
ViewLimits()
           
ViewLimits(int max)
          Constructs a new ViewLimits object
 
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 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

ViewLimits

public ViewLimits(int max)
Constructs a new ViewLimits object

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

ViewLimits

public ViewLimits()
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
Makes a copy of the object.

Overrides:
clone in class FieldLimitInfo
Throws:
java.lang.CloneNotSupportedException

7.0 Action Request System Java API