|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.types.Identifier
This class is a simple wrapper for the java type used to represent a TWS object identifier. The Identifier class must be used whenever handling object identifiers, to avoid creating dependencies of TWS subsystems from the underlying java type.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
Identifier(java.lang.String value)
Creates an Identifier object with the specified value. |
Method Summary | |
---|---|
boolean |
after(Identifier identifier)
Tests if this Identifier object is after the given one. |
boolean |
before(Identifier identifier)
Tests if this Identifier object is before the given one. |
int |
compareTo(java.lang.Object object)
Compares this Identifier object with the given one. |
boolean |
equals(java.lang.Object object)
Returns true if all fields of this Identifier object are equal to those of the given one. |
java.lang.String |
getValue()
Returns the identifier value as a String object. |
int |
hashCode()
Returns a hash code for this Identifier object. |
void |
setValue(java.lang.String value)
Sets the identifier value as a String object. |
java.lang.String |
toString()
Returns a string representation of this Identifier object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public Identifier(java.lang.String value)
value
- The identifier as a String object.Method Detail |
public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- The identifier as a String object.public boolean equals(java.lang.Object object)
object
- The object to be compared with this one.
public int hashCode()
public boolean before(Identifier identifier)
identifier
- The object to be compared with this one.
public boolean after(Identifier identifier)
identifier
- The object to be compared with this one.
public int compareTo(java.lang.Object object)
compareTo
in interface java.lang.Comparable
object
- The object to be compared with this one.
public java.lang.String toString()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |