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

org.deegree.framework.util
Class BasicUUID

java.lang.Object
  extended by org.deegree.framework.util.BasicUUID
All Implemented Interfaces:
Externalizable, Serializable, UUID

Deprecated. use

public class BasicUUID
extends Object
implements UUID

TODO add documentation here

Version:
$Revision: 9339 $, $Date: 2007-12-27 13:31:52 +0100 (Do, 27 Dez 2007) $
Author:
Andreas Poth , last edited by: $Author: apoth $
See Also:
UUID, Serialized Form

Field Summary
 
Fields inherited from interface org.deegree.framework.util.UUID
UUID_BYTE_LENGTH
 
Constructor Summary
BasicUUID()
          Deprecated.  
BasicUUID(byte[] b)
          Deprecated. Constructor only called by BasicUUIDFactory.
BasicUUID(long majorId, long timemillis, int sequence)
          Deprecated. Constructor only called by BasicUUIDFactory.
BasicUUID(String uuidstring)
          Deprecated. Constructor only called by BasicUUIDFactory.
 
Method Summary
 UUID cloneMe()
          Deprecated. Clone this UUID.
 boolean equals(Object otherObject)
          Deprecated. Implement value equality.
 int hashCode()
          Deprecated. Provide a hashCode which is compatible with the equals() method.
 void readExternal(ObjectInput in)
          Deprecated. Read this in
 String stringWorkhorse(char separator)
          Deprecated. Private workhorse of the string making routines.
 String toANSIidentifier()
          Deprecated. Produce a string representation of this UUID which is suitable for use as a unique ANSI identifier.
 byte[] toByteArray()
          Deprecated. Store this UUID in a byte array.
 String toHexString()
          Deprecated. Create a hex string representation of this UUID.
 String toString()
          Deprecated. Produce a string representation of this UUID which can be passed to UUIDFactory.recreateUUID later on to reconstruct it.
 void writeExternal(ObjectOutput out)
          Deprecated. Write this out.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicUUID

public BasicUUID(long majorId,
                 long timemillis,
                 int sequence)
Deprecated. 
Constructor only called by BasicUUIDFactory.

Parameters:
majorId -
timemillis -
sequence -

BasicUUID

public BasicUUID(String uuidstring)
Deprecated. 
Constructor only called by BasicUUIDFactory. Constructs a UUID from the string representation produced by toString.

Parameters:
uuidstring -
See Also:
toString()

BasicUUID

public BasicUUID(byte[] b)
Deprecated. 
Constructor only called by BasicUUIDFactory. Constructs a UUID from the byte array representation produced by toByteArrayio.

Parameters:
b -
See Also:
toByteArray()

BasicUUID

public BasicUUID()
Deprecated. 
Method Detail

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Deprecated. 
Write this out.

Specified by:
writeExternal in interface Externalizable
Parameters:
out -
Throws:
IOException - error writing to log stream

readExternal

public void readExternal(ObjectInput in)
                  throws IOException
Deprecated. 
Read this in

Specified by:
readExternal in interface Externalizable
Parameters:
in -
Throws:
IOException - error reading from log stream

equals

public boolean equals(Object otherObject)
Deprecated. 
Implement value equality.

Overrides:
equals in class Object
Returns:

hashCode

public int hashCode()
Deprecated. 
Provide a hashCode which is compatible with the equals() method.

Overrides:
hashCode in class Object
Returns:
a hashCode which is compatible with the equals() method.

toString

public String toString()
Deprecated. 
Produce a string representation of this UUID which can be passed to UUIDFactory.recreateUUID later on to reconstruct it. The funny representation is designed to (sort of) match the format of Microsoft's UUIDGEN utility.

Overrides:
toString in class Object
Returns:
a string representation of this UUID

toANSIidentifier

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

Specified by:
toANSIidentifier in interface UUID
Returns:
a string representation of this UUID

stringWorkhorse

public String stringWorkhorse(char separator)
Deprecated. 
Private workhorse of the string making routines.

Parameters:
separator - Character to separate number blocks. Null means do not include a separator.
Returns:
string representation of UUID.

toByteArray

public byte[] toByteArray()
Deprecated. 
Store this UUID in a byte array. Arrange the bytes in the UUID in the same order the code which stores a UUID in a string does.

Specified by:
toByteArray in interface UUID
Returns:
UUID in a byte array.
See Also:
"org.apache.derby.catalog.UUID#toByteArray"

cloneMe

public UUID cloneMe()
Deprecated. 
Clone this UUID.

Specified by:
cloneMe in interface UUID
Returns:
a copy of this UUID

toHexString

public String toHexString()
Deprecated. 
Description copied from interface: UUID
Create a hex string representation of this UUID.

Specified by:
toHexString in interface 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