7.0 Action Request System Java API

com.remedy.arsys.api
Class EntryID

java.lang.Object
  extended bycom.remedy.arsys.api.EntryID
All Implemented Interfaces:
java.lang.Cloneable, IARIdentifier, java.io.Serializable
Direct Known Subclasses:
JoinEntryID

public class EntryID
extends java.lang.Object
implements java.lang.Cloneable, IARIdentifier

The EntryID class is used to uniquely identify an entry for a particular schema from the AR System server.

See Also:
Serialized Form

Constructor Summary
EntryID()
           
EntryID(char[] str)
           
EntryID(EntryID entryId)
           
EntryID(java.lang.String str)
           
 
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 of EntryID.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setValue(java.lang.String str)
          Sets name information whose limit is specified by Constants.AR_MAX_ENTRYID_SIZE.
 char[] toCharArray()
          Returns an array description of the object.
 java.lang.String toString()
          Returns a string description of the object.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EntryID

public EntryID()

EntryID

public EntryID(java.lang.String str)
        throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException - if str length is longer than Constants.AR_MAX_ENTRYID_SIZE

EntryID

public EntryID(char[] str)
        throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException - if str length is longer than Constants.AR_MAX_ENTRYID_SIZE

EntryID

public EntryID(EntryID entryId)
Method Detail

setValue

public void setValue(java.lang.String str)
              throws java.lang.IllegalArgumentException
Sets name information whose limit is specified by Constants.AR_MAX_ENTRYID_SIZE.

Throws:
java.lang.IllegalArgumentException - if str is longer than Constants.AR_MAX_ENTRYID_SIZE

toString

public java.lang.String toString()
Returns a string description of the object.


toCharArray

public char[] toCharArray()
Returns an array description of the object.


equals

public boolean equals(java.lang.Object anObject)
Use this method for checking equality of EntryID. The result is true only if the argument is not null and is a EntryID object that 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.


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

7.0 Action Request System Java API