com.bankframe.services.uuid.impl
Class UuidImpl

java.lang.Object
  extended bycom.bankframe.services.uuid.impl.UuidImpl
All Implemented Interfaces:
Uuid

public class UuidImpl
extends java.lang.Object
implements Uuid

This is the UUID Implementation class which allows the generated UUID to be returned as a byte[] or a string

Author:
ksmith

Constructor Summary
UuidImpl(byte[] uuidByte)
          Constructor
 
Method Summary
 byte[] getBytes()
          This method returns the UUID as a byte[]
 java.lang.String getString()
          This method converts the UUID from byte[] into a string representation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UuidImpl

public UuidImpl(byte[] uuidByte)
Constructor

Method Detail

getString

public java.lang.String getString()
This method converts the UUID from byte[] into a string representation

Specified by:
getString in interface Uuid
Returns:
String

getBytes

public byte[] getBytes()
This method returns the UUID as a byte[]

Specified by:
getBytes in interface Uuid
Returns:
byte[]


Copyright © 2004 Siebel Systems, Inc. All rights reserved.