5.1 Action Request System Java API

com.remedy.arsys.api
Class EntryItem

java.lang.Object
  |
  +--com.remedy.arsys.api.EntryItem
All Implemented Interfaces:
java.io.Serializable

public class EntryItem
extends java.lang.Object
implements java.io.Serializable

The EntryItem class represents the collection of entry items that comprise an entry. For example, if a schema has x fields, each entry in that schema will have x fields. Each field value can be represented as an entry item.

See Also:
Serialized Form

Constructor Summary
EntryItem(FieldID fID, Value val)
           
 
Method Summary
 java.lang.Object clone()
          Clone implementation that returns an Object with data cloned from self.
 void describe()
          Prints out field ID/value pair.
 boolean equals(java.lang.Object anObject)
          Use this method for checking equality.
 FieldID getFieldID()
          Returns field ID.
 Value getValue()
          Returns value.
 int hashCode()
          This method can be used to populate a hash table.
 void setValue(FieldID fldID, Value val)
          Sets value of field ID.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryItem

public EntryItem(FieldID fID,
                 Value val)
Method Detail

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

setValue

public void setValue(FieldID fldID,
                     Value val)
Sets value of field ID.

getFieldID

public FieldID getFieldID()
Returns field ID.

getValue

public Value getValue()
Returns value.

describe

public void describe()
Prints out field ID/value pair.

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