ORCentral
Public Member Functions | Static Public Member Functions

eu.coform.UniqueID Class Reference

A uniquie id. More...

Collaboration diagram for eu.coform.UniqueID:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 UniqueID ()
 Ctor.
 UniqueID (String idstring) throws IllegalArgumentException
 Ctor.
String getId ()
void setId (String id)
String toBin16 ()
 Strips all hyphens from string (for database storage).
void setRandomUUID ()
 Set a new random UUID on the UniqueID.
UniqueID newUniqueID ()

Static Public Member Functions

static UniqueID fromBin16 (String bin16)
 Creates a UniqueID from a hypenless string (such as from a database).
static String randomUUID ()
static UniqueID randomUniqueID ()

Detailed Description

A uniquie id.

Definition at line 8 of file UniqueID.java.


Constructor & Destructor Documentation

eu.coform.UniqueID.UniqueID ( )

Ctor.

Definition at line 15 of file UniqueID.java.

Here is the caller graph for this function:

eu.coform.UniqueID.UniqueID ( String  idstring) throws IllegalArgumentException

Ctor.

Parameters:
idstringmust be in proper string UUID form.
Exceptions:
IllegalArgumentExceptionthrow when string does not meet requirements.

Definition at line 22 of file UniqueID.java.


Member Function Documentation

static UniqueID eu.coform.UniqueID.fromBin16 ( String  bin16) [static]

Creates a UniqueID from a hypenless string (such as from a database).

Please note that the incoming string *must* be of appropriate length.

Parameters:
bin16hyphenless string
Returns:
proper UniqueID

Definition at line 49 of file UniqueID.java.

Here is the call graph for this function:

Here is the caller graph for this function:

String eu.coform.UniqueID.getId ( )

Definition at line 26 of file UniqueID.java.

Here is the caller graph for this function:

UniqueID eu.coform.UniqueID.newUniqueID ( )
Returns:
a new UniqueID with a random UUID string.

Definition at line 85 of file UniqueID.java.

Here is the call graph for this function:

static UniqueID eu.coform.UniqueID.randomUniqueID ( ) [static]
Returns:
a new UniqueID with random UUID string.

Definition at line 76 of file UniqueID.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static String eu.coform.UniqueID.randomUUID ( ) [static]
Returns:
new random UUID string.

Definition at line 69 of file UniqueID.java.

Here is the caller graph for this function:

void eu.coform.UniqueID.setId ( String  id)

Definition at line 30 of file UniqueID.java.

Here is the caller graph for this function:

void eu.coform.UniqueID.setRandomUUID ( )

Set a new random UUID on the UniqueID.

Definition at line 62 of file UniqueID.java.

Here is the call graph for this function:

Here is the caller graph for this function:

String eu.coform.UniqueID.toBin16 ( )

Strips all hyphens from string (for database storage).

Returns:
hyphenless string.

Definition at line 38 of file UniqueID.java.

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations