5.1 Action Request System Java API

com.remedy.arsys.api
Class EntryListFieldInfo

java.lang.Object
  |
  +--com.remedy.arsys.api.EntryListFieldInfo
All Implemented Interfaces:
java.lang.Cloneable

public class EntryListFieldInfo
extends java.lang.Object
implements java.lang.Cloneable

Defines the fields (zero or more) to return with each entry, while retrieving entries from the server.

The EntryListFieldInfo class identifies how the data of all fields (except diary fields and long character fields) should be presented. The system checks the permissions for each specified field and returns only the data of those fields for which the user has access.


Constructor Summary
EntryListFieldInfo(FieldID fldID)
           
EntryListFieldInfo(FieldID fldID, int ColWidth, java.lang.String separator)
          Constructs a new EntryListFieldInfo object.
 
Method Summary
 java.lang.Object clone()
          Clone implementation that returns an Object with data cloned from self.
 boolean equals(java.lang.Object anObject)
          Use this method for checking equality.
 int getColumnWidth()
          Returns the column width.
 FieldID getFieldID()
          Returns the associated FieldID.
 char[] getSeparator()
          Returns the characters that are used as separator for the field.
 int hashCode()
          This method can be used to populate a hash table.
 void setColumnWidth(int width)
          Sets the column width.
 void setFieldID(FieldID id)
          Sets the associated FieldID.
 void setSeparator(java.lang.String separator)
          Sets the characters that are used as separator for the field.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryListFieldInfo

public EntryListFieldInfo(FieldID fldID,
                          int ColWidth,
                          java.lang.String separator)
                   throws java.lang.IllegalArgumentException
Constructs a new EntryListFieldInfo object.
Parameters:
fldID - The FieldID associated with the field.
ColWidth - An integer value indicating the number of characters to display for the field.
separator - The characters to display after the field data. The separator can contain from zero to 10 characters.
Throws:
java.lang.IllegalArgumentException - if separator's length exceeds 10

EntryListFieldInfo

public EntryListFieldInfo(FieldID fldID)
Method Detail

getFieldID

public FieldID getFieldID()
Returns the associated FieldID.

setFieldID

public void setFieldID(FieldID id)
Sets the associated FieldID.

getColumnWidth

public int getColumnWidth()
Returns the column width.

setColumnWidth

public void setColumnWidth(int width)
Sets the column width.

getSeparator

public char[] getSeparator()
Returns the characters that are used as separator for the field.

setSeparator

public void setSeparator(java.lang.String separator)
Sets the characters that are used as separator for the field.

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 java.lang.Object

equals

public boolean equals(java.lang.Object anObject)
Use this method for checking equality. The result is true if and only if the argument is not null, is of same type and represents the same content.
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
This method can be used to populate a hash table. Implicitly used method to test equality of objects.
Overrides:
hashCode in class java.lang.Object

5.1 Action Request System Java API