Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cern::laser::test::HashCodeKeyMaker Class Reference

List of all members.

Static Public Member Functions

int makeKey (String key)
int makeUUID () throws Exception
void main (String args[]) throws Exception

Static Private Member Functions

int getInt (byte bytes[])
String hexFormat (int i, int j)
String padHex (String s, int i)

Detailed Description

This class is used to generate primary keys as hash code and to generate UUID for EJB

Author:
Bartlomiej Pawlowski <Bartlomiej.Pawlowski@cern.ch>


Member Function Documentation

int cern::laser::test::HashCodeKeyMaker::getInt byte  bytes[]  )  [inline, static, private]
 

String cern::laser::test::HashCodeKeyMaker::hexFormat int  i,
int  j
[inline, static, private]
 

void cern::laser::test::HashCodeKeyMaker::main String  args[]  )  throws Exception [inline, static]
 

int cern::laser::test::HashCodeKeyMaker::makeKey String  key  )  [inline, static]
 

Parameters:
key 

int cern::laser::test::HashCodeKeyMaker::makeUUID  )  throws Exception [inline, static]
 

Generates UUID for EJB's

Returns:
UUID

String cern::laser::test::HashCodeKeyMaker::padHex String  s,
int  i
[inline, static, private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:09:47 2009 for ACS Java API by doxygen 1.3.8