org.apache.juddi.uuidgen
Interface UUIDGen

All Known Implementing Classes:
DefaultUUIDGen, NativeUUIDGen, SecureUUIDGen, Win32UUIDGen

public interface UUIDGen

A Universally Unique Identifier (UUID) is a 128 bit number generated according to an algorithm that is garanteed to be unique in time and space from all other UUIDs. It consists of an IEEE 802 Internet Address and various time stamps to ensure uniqueness. For a complete specification, see ftp://ietf.org/internet-drafts/draft-leach-uuids-guids-01.txt [leach].

Author:
Steve Viens (sviens@apache.org)

Method Summary
 java.lang.String uuidgen()
          Generates a UUID and returns it's value as a String
 java.lang.String[] uuidgen(int nmbr)
          Generates a collection of UUID's and returns thier values as an array of Strings
 

Method Detail

uuidgen

java.lang.String uuidgen()
Generates a UUID and returns it's value as a String

Returns:
The new UUID value as a String

uuidgen

java.lang.String[] uuidgen(int nmbr)
Generates a collection of UUID's and returns thier values as an array of Strings

Parameters:
nmbr - The number of UUID's to generate
Returns:
An array of UUID's as String objects


Copyright © 2004-2007. All Rights Reserved.