Class Hierarchy        Index

Interface COM.cloudscape.system.UUIDFactory

public interface UUIDFactory
Copyright © 1997-1999, Cloudscape, Inc. All rights reserved.

The UUIDFactory generates and recreates universally 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.


Variable Index

 o MODULE

Method Index

 o createUUID()
Create a new UUID.
 o recreateUUID(byte[])
Recreate a UUID from a byte array produced by UUID.toByteArray.
 o recreateUUID(String)
Recreate a UUID from a string produced by UUID.toString.

Variables

 o MODULE
 public static final String MODULE

Methods

 o createUUID
 public abstract UUID createUUID()
Create a new UUID. The resulting object is guaranteed to be unique "across space and time".

Returns:
The UUID.
 o recreateUUID
 public abstract UUID recreateUUID(String uuidstring)
Recreate a UUID from a string produced by UUID.toString.

Returns:
The UUID.
 o recreateUUID
 public abstract UUID recreateUUID(byte b[])
Recreate a UUID from a byte array produced by UUID.toByteArray.

Returns:
The UUID.
See Also:
toByteArray

  Class Hierarchy        Index