public class TableGenerator extends Generator
Modifier and Type | Field and Description |
---|---|
static String |
copyright |
protected String |
keyColumn |
protected String |
keyValue |
protected String |
table |
protected String |
valueColumn |
primaryKeyColumn
Constructor and Description |
---|
TableGenerator() |
TableGenerator(PrimaryKeyColumn primaryKeyColumn) |
Modifier and Type | Method and Description |
---|---|
String |
getKeyColumn() |
String |
getKeyValue() |
String |
getTable() |
String |
getValueColumn() |
void |
init(Model model) |
void |
reset() |
void |
setKeyColumn(String keyColumn) |
void |
setKeyValue(String keyValue) |
void |
setTable(String table) |
void |
setValueColumn(String valueColumn) |
afterUnmarshal, getPrimaryKeyColumn, link, setPrimaryKeyColumn, visitChildren
public static final String copyright
protected String table
protected String keyColumn
protected String keyValue
protected String valueColumn
public TableGenerator()
public TableGenerator(PrimaryKeyColumn primaryKeyColumn)
public void reset()
reset
in interface ModelObject
reset
in class Generator
public void init(Model model)
init
in interface ModelObject
init
in class Generator
public String getTable()
public void setTable(String table)
public String getKeyColumn()
public void setKeyColumn(String keyColumn)
public String getKeyValue()
public void setKeyValue(String keyValue)
public String getValueColumn()
public void setValueColumn(String valueColumn)