Action Request System Java API

com.remedy.arsys.api
Class EntryListFieldInfo

java.lang.Object
  |
  +--com.remedy.arsys.api.EntryListFieldInfo

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.
 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.
 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
equals, finalize, getClass, hashCode, 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.

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

Action Request System Java API