|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.kernelpanic.dbmonster.generator.MaxKeyGenerator
The max key generator.
Constructor Summary | |
MaxKeyGenerator()
|
Method Summary | |
List |
generate()
Generates a primary key. |
String |
getColumnName()
Returns a column name. |
List |
getColumns()
Returns columns. |
Key |
getKey()
Returns the key |
void |
initialize(DBMonsterContext ctx)
Initializes a class with DBMonsterContext . |
void |
setColumnName(String name)
Sets the column name and sets up the column. |
void |
setKey(Key k)
Sets the key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MaxKeyGenerator()
Method Detail |
public void setKey(Key k)
setKey
in interface KeyGenerator
k
- the key.public Key getKey()
KeyGenerator
getKey
in interface KeyGenerator
public List getColumns()
getColumns
in interface KeyGenerator
public List generate()
generate
in interface KeyGenerator
Column
s.public void initialize(DBMonsterContext ctx) throws Exception
Initializable
DBMonsterContext
.
initialize
in interface Initializable
ctx
- context
Exception
- if initialization failsInitializable.initialize(DBMonsterContext)
public final String getColumnName()
public final void setColumnName(String name)
name
- the name of the column.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |