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()
This method can be used to populate a hash table. |
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 - is 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 if and 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()
- 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
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