|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.odata4j.core.Guid
public class Guid
A custom Guid class is necessary to interop with .net Guid strings incompatible with UUID
.
Guids are equal if their string representations are equal.
Method Summary | |
---|---|
boolean |
equals(Object other)
|
static Guid |
fromString(String value)
Return a Guid for a given string. |
static Guid |
fromUUID(UUID uuid)
Return a Guid for a given UUID. |
int |
hashCode()
|
static Guid |
randomGuid()
Generate a new Guid. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public boolean equals(Object other)
equals
in class Object
public static Guid fromString(String value)
value
- the guid's string representation
public static Guid fromUUID(UUID uuid)
uuid
- an existing UUID
public int hashCode()
hashCode
in class Object
public static Guid randomGuid()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |