|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OID
Interface for an object identifier.
An object identifier uniquely identifies an object. It is created when the associated object is created and stays with the object during its lifetime. It is never reused.
The object identifier can be retrieved using the getID() method of the associated object.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
static byte |
OBJECT_META_TYPE_A
|
static byte |
OBJECT_META_TYPE_B
|
static byte |
OBJECT_META_TYPE_C
|
static byte |
OBJECT_META_TYPE_D
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
Compares the object identifer with the object identifier of the specified object. |
byte |
getObjectMetaType()
Returns information about the object meta type of the associated object. |
boolean |
isPersistent()
Returns information about the persistence of the associated object. |
byte[] |
toByteArray()
Returns a byte array representation of the object identifier. |
java.lang.String |
toString()
Returns a String representation of the object identifier. |
Field Detail |
---|
static final java.lang.String COPYRIGHT
static final byte OBJECT_META_TYPE_A
static final byte OBJECT_META_TYPE_B
static final byte OBJECT_META_TYPE_C
static final byte OBJECT_META_TYPE_D
Method Detail |
---|
java.lang.String toString()
There is no maximum length of a String representation. The length can vary from object type to object type and even for objects of the same object type.
toString
in class java.lang.Object
byte[] toByteArray()
There is no maximum length of a byte array representation. The length can vary from object type to object type but is constant for objects of the same object type.
boolean isPersistent()
Returns true when the associated object is persistent. Returns false when the associated object is transient.
byte getObjectMetaType()
int compareTo(java.lang.Object o)
Returns zero when the object identifiers are equal. Returns a negative integer when this object identifier is less than the specified one. Returns a positive integer when this object identifier is greater than the specified one.
Although object identifiers can be compared, no ordering semantics can be deduced.
compareTo
in interface java.lang.Comparable
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |