|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.kernel.id.UUIDs
public class UUIDs
UUIDs
This class can be configured with system properties, e.g.
| Field Summary | |
|---|---|
static String |
GENERATOR
The UUID provider system property. |
static UUID |
NIL
The NIL UUID as specified in http://www.ietf.org/internet-drafts/draft-mealling-uuid-urn-03.txt. |
| Constructor Summary | |
|---|---|
UUIDs()
|
|
| Method Summary | |
|---|---|
static UUIDBuilder |
getBuilder(String namespace)
Load the configured UUID provider |
static UUIDGenerator |
getGenerator()
Load the configured UUID provider |
static String |
toURN(UUID uuid)
Returns an URN representation of a UUID according to http://www.ietf.org/internet-drafts/draft-mealling-uuid-urn-03.txt. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final UUID NIL
public static final String GENERATOR
| Constructor Detail |
|---|
public UUIDs()
| Method Detail |
|---|
public static final String toURN(UUID uuid)
The UUID "f81d4fae-7dec-11d0-a765-00a0c91e6bf6" for example is represented as "urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6".
uuid - to be represented as URN
public static UUIDGenerator getGenerator()
If multiple threads need to generate UUIDs simultaneously then
each should obtain its own UUIDBuilder instance.
public static UUIDBuilder getBuilder(String namespace)
If multiple threads need to build UUIDs simultaneously then
each should obtain its own UUIDBuilder instance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||