|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ldap.util.OrclGuid
This class represents GUIDs (Globally Unique Identifiers), or object IDs. This is an immutable class.
Constructor Summary | |
OrclGuid()
Default constructor. |
|
OrclGuid(byte[] byte_array)
Construct an OrclGuid from a byte array |
|
OrclGuid(java.lang.String string_guid)
Construct an OrclGuid from a string |
Method Summary | |
java.lang.Object |
clone()
Clones a Guid object |
static java.lang.String |
compactGuidString(java.lang.String s)
Converts the larger version of the GUID String to a more compact version. |
boolean |
equals(java.lang.Object o)
Compare the Guid in a string format |
static java.lang.String |
expandGuidString(java.lang.String s)
Expands the compact version of the GUID String to a more readable version. |
byte[] |
getBytes()
return the 'byte' form of the Guid |
int |
hashCode()
return the hashcode of this object for hashing purposes |
static void |
main(java.lang.String[] argv)
main function used for testing |
static OrclGuid |
newInstance()
generates a new OrclGuid |
java.lang.String |
toString()
Retrieves the Guid in a string format |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public OrclGuid()
public OrclGuid(java.lang.String string_guid)
guid
- a string representation of a Globally Unique Identifierpublic OrclGuid(byte[] byte_array)
byte_array
- an array of bytes representing a GUID. This
constructor will validate the length of the
byte array before proceeding.Method Detail |
public static OrclGuid newInstance()
public byte[] getBytes()
public final java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone()
public static java.lang.String compactGuidString(java.lang.String s)
public static java.lang.String expandGuidString(java.lang.String s)
public static void main(java.lang.String[] argv)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |