|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.kernelpanic.dbmonster.generator.MaxKeyGenerator
public class 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 KeyGeneratork - the key.public Key getKey()
KeyGenerator
getKey in interface KeyGeneratorpublic List getColumns()
getColumns in interface KeyGeneratorpublic List generate()
generate in interface KeyGeneratorColumns.
public void initialize(DBMonsterContext ctx)
throws Exception
InitializableDBMonsterContext.
initialize in interface Initializablectx - context
Exception - if initialization failsInitializable.initialize(DBMonsterContext)public String getColumnName()
public 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 | |||||||||