7.0 Action Request System Java API

com.remedy.arsys.api
Class EnumLimitInfo

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

public class EnumLimitInfo
extends FieldLimitInfo
implements java.lang.Cloneable

The EnumLimitInfo class defines the value limits for a selection(DataType.ENUM) field.


Field Summary
static int CUSTOM
           
static int REGULAR
           
 
Constructor Summary
EnumLimitInfo(EnumItem[] customEnums)
          Constructs a new EnumLimitInfo object.
EnumLimitInfo(NameID[] enums)
          Constructs a new EnumLimitInfo object.
 
Method Summary
 java.lang.Object clone()
          Clone implementation that returns an Object with data cloned from self.
 EnumItem[] getEnumCustomLimit()
           
 int getEnumListStyle()
           
 NameID[] getEnumRegularLimit()
          Returns the enumerated values of the field.
 void setEnumLimit(EnumItem[] customEnums)
           
 void setEnumLimit(NameID[] enums)
          Sets the enumerated values of the field.
 void setEnumListStyle(int listStyle)
           
 
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
 

Field Detail

REGULAR

public static final int REGULAR
See Also:
Constant Field Values

CUSTOM

public static final int CUSTOM
See Also:
Constant Field Values
Constructor Detail

EnumLimitInfo

public EnumLimitInfo(NameID[] enums)
Constructs a new EnumLimitInfo object.

Parameters:
enums - An array of NameID objects that make up the enumerated values.

EnumLimitInfo

public EnumLimitInfo(EnumItem[] customEnums)
Constructs a new EnumLimitInfo object.

Method Detail

setEnumLimit

public void setEnumLimit(NameID[] enums)
Sets the enumerated values of the field.


setEnumLimit

public void setEnumLimit(EnumItem[] customEnums)

getEnumRegularLimit

public NameID[] getEnumRegularLimit()
Returns the enumerated values of the field.


getEnumCustomLimit

public EnumItem[] getEnumCustomLimit()

getEnumListStyle

public int getEnumListStyle()

setEnumListStyle

public void setEnumListStyle(int listStyle)

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