Top Description Methods
org.apache.derby.iapi.services.uuid

public Interface UUIDFactory

Known Direct Implementers
org.apache.derby.impl.services.uuid.BasicUUIDFactory
Imports
org.apache.derby.catalog.UUID

Generates and recreates unique identifiers.

An example of such an identifier is:

	E4900B90-DA0E-11d0-BAFE-0060973F0942
  

These resemble DCE UUIDs, but use a different implementation.

The string format is designed to be the same as the string format produced by Microsoft's UUIDGEN program, although at present the bit fields are probably not the same.

Method Summary

Modifier and TypeMethod and Description
public UUID

Returns:

The UUID.
createUUID
()

Create a new UUID.

public UUID

Returns:

The UUID.
recreateUUID
(String
A UUID as a string
uuidstring
)

Recreate a UUID from a string produced by UUID.toString.

Method Detail

createUUIDback to summary
public UUID createUUID()

Create a new UUID. The resulting object is guaranteed to be unique "across space and time".

Returns:UUID

The UUID.

recreateUUIDback to summary
public UUID recreateUUID(String uuidstring)

Recreate a UUID from a string produced by UUID.toString.

Parameters
uuidstring:String

A UUID as a string

Returns:UUID

The UUID.