com.remedy.arsys.api
Class EntryID
java.lang.Object
|
+--com.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
|
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 |
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)
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.
- Overrides:
toString in class java.lang.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.
- Overrides:
equals in class java.lang.Object
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.
- Overrides:
hashCode in class java.lang.Object
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