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

java.lang.Object
  extended by org.lexevs.dao.database.key.incrementer.AbstractKeyIncrementer
      extended by org.lexevs.dao.database.key.incrementer.AbstractBigIntKeyIncrementer
All Implemented Interfaces:
PrimaryKeyIncrementer
Direct Known Subclasses:
MysqlTableBasedBigIntKeyIncrementer, SequenceBasedBigIntKeyIncrementer

public abstract class AbstractBigIntKeyIncrementer
extends AbstractKeyIncrementer

The Class AbstractBigIntKeyIncrementer.

Author:
Kevin Peterson

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.lexevs.dao.database.key.incrementer.PrimaryKeyIncrementer
PrimaryKeyIncrementer.KeyType
 
Constructor Summary
AbstractBigIntKeyIncrementer()
           
 
Method Summary
 int getKeyLength()
          Gets the key length.
 PrimaryKeyIncrementer.KeyType getKeyType()
          Gets the key type.
 java.lang.String getName()
          Gets the name.
 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
createDataFieldMaxValueIncrementer, getSupportedDatabaseTypes, nextKey, supportsDatabases
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.lexevs.dao.database.key.incrementer.PrimaryKeyIncrementer
destroy, initialize
 

Constructor Detail

AbstractBigIntKeyIncrementer

public AbstractBigIntKeyIncrementer()
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

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.