public abstract class KeyGenerator extends AbstractSchemaObject
HASHFACTOR
Modifier | Constructor and Description |
---|---|
protected |
KeyGenerator(String name,
String alias)
Construct key generator with given name and alias.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getAlias()
Get alias of the key generator.
|
Table |
getTable()
Get table the key generator creates keys for.
|
int |
hashCode() |
void |
merge(KeyGenerator keygen)
Check wether this key generator is compatible with the given one to allow merge
of table definitions.
|
void |
setAlias(String alias)
Set alias of the key generator.
|
void |
setTable(Table table)
Set table the key generator creates keys for.
|
equals, getConfiguration, getName, setConfiguration, setName
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
toCreateDDL, toDropDDL
public final void setAlias(String alias)
alias
- Alias of the key generator.public final String getAlias()
public final void setTable(Table table)
table
- Table the key generator creates keys for.public final Table getTable()
public final void merge(KeyGenerator keygen)
keygen
- Key generator to merge.Copyright © 2013. All rights reserved.