deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.framework.util
Interface UUID

All Superinterfaces:
Externalizable, Serializable
All Known Implementing Classes:
BasicUUID

public interface UUID
extends Externalizable

An interface for accessing Cloudscape UUIDs, unique identifiers.

The values in the system catalog held in ID columns with a type of CHAR(36) are the string representations of these UUIDs.

A UUID implements equals() and hashCode based on value equality.


Field Summary
static int UUID_BYTE_LENGTH
          UUID_BYTE_LENGTH The number of bytes in the array toByteArray returns.
 
Method Summary
 UUID cloneMe()
          Clone this UUID.
 String toANSIidentifier()
          Produce a string representation of this UUID which is suitable for use as a unique ANSI identifier.
 byte[] toByteArray()
          Produce a byte array representation of this UUID which can be passed to UUIDFactory.recreateUUID later on to reconstruct it.
 String toHexString()
          Create a hex string representation of this UUID.
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Field Detail

UUID_BYTE_LENGTH

static final int UUID_BYTE_LENGTH
UUID_BYTE_LENGTH The number of bytes in the array toByteArray returns.

See Also:
Constant Field Values
Method Detail

toANSIidentifier

String toANSIidentifier()
Produce a string representation of this UUID which is suitable for use as a unique ANSI identifier.


toByteArray

byte[] toByteArray()
Produce a byte array representation of this UUID which can be passed to UUIDFactory.recreateUUID later on to reconstruct it.


cloneMe

UUID cloneMe()
Clone this UUID.

Returns:
a copy of this UUID

toHexString

String toHexString()
Create a hex string representation of this UUID.


deegree 2.2 (2008/12/22 11:33 build-3038-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net