7.0 Action Request System Java API

com.remedy.arsys.api
Class EntryItem

java.lang.Object
  extended bycom.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()
          Returns the hash code value for this instance of the current class.
 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.

Throws:
java.lang.CloneNotSupportedException

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 only if the argument is not null, is of same type and represents the same content.


hashCode

public int hashCode()
Returns the hash code value for this instance of the current class. This method is supported as required by the general contract of Object.hashCode, for the benefit of hash tables such as those provided by java.util.Hashtable.


7.0 Action Request System Java API