org.lexevs.dao.database.key.incrementer
Class RandomGuidKeyIncrementer

java.lang.Object
  extended by org.lexevs.dao.database.key.incrementer.AbstractKeyIncrementer
      extended by org.lexevs.dao.database.key.incrementer.RandomGuidKeyIncrementer
All Implemented Interfaces:
PrimaryKeyIncrementer

public class RandomGuidKeyIncrementer
extends AbstractKeyIncrementer

The Class RandomGuidKeyIncrementer.

Author:
Kevin Peterson

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.lexevs.dao.database.key.incrementer.PrimaryKeyIncrementer
PrimaryKeyIncrementer.KeyType
 
Constructor Summary
RandomGuidKeyIncrementer()
           
 
Method Summary
protected  org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer createDataFieldMaxValueIncrementer()
          Creates the data field max value incrementer.
 void destroy()
          Destroy.
 int getKeyLength()
          Gets the key length.
 PrimaryKeyIncrementer.KeyType getKeyType()
          Gets the key type.
 java.lang.String getName()
          Gets the name.
protected  java.util.List<DatabaseType> getSupportedDatabaseTypes()
          Gets the supported database types.
 void initialize()
          Initialize.
 java.lang.String stringValue(java.lang.Object key)
          String value.
 java.lang.Object valueOf(java.lang.String key)
          Value of.
 
Methods inherited from class org.lexevs.dao.database.key.incrementer.AbstractKeyIncrementer
nextKey, supportsDatabases
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomGuidKeyIncrementer

public RandomGuidKeyIncrementer()
Method Detail

getKeyType

public PrimaryKeyIncrementer.KeyType getKeyType()
Description copied from interface: PrimaryKeyIncrementer
Gets the key type.

Returns:
the key type

valueOf

public java.lang.Object valueOf(java.lang.String key)
Description copied from interface: PrimaryKeyIncrementer
Value of.

Parameters:
key - the key
Returns:
the object

stringValue

public java.lang.String stringValue(java.lang.Object key)
Description copied from interface: PrimaryKeyIncrementer
String value.

Parameters:
key - the key
Returns:
the string

getKeyLength

public int getKeyLength()
Description copied from interface: PrimaryKeyIncrementer
Gets the key length.

Returns:
the key length

getName

public java.lang.String getName()
Description copied from interface: PrimaryKeyIncrementer
Gets the name.

Returns:
the name

createDataFieldMaxValueIncrementer

protected org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer createDataFieldMaxValueIncrementer()
Description copied from class: AbstractKeyIncrementer
Creates the data field max value incrementer.

Specified by:
createDataFieldMaxValueIncrementer in class AbstractKeyIncrementer
Returns:
the data field max value incrementer

destroy

public void destroy()
Description copied from interface: PrimaryKeyIncrementer
Destroy.


initialize

public void initialize()
Description copied from interface: PrimaryKeyIncrementer
Initialize.


getSupportedDatabaseTypes

protected java.util.List<DatabaseType> getSupportedDatabaseTypes()
Description copied from class: AbstractKeyIncrementer
Gets the supported database types.

Specified by:
getSupportedDatabaseTypes in class AbstractKeyIncrementer
Returns:
the supported database types

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.