public class GeneratorTable extends Object
| Constructor and Description |
|---|
GeneratorTable(int index,
String name,
GeneratorContext context) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,GeneratorColumn> |
getColumns()
The known columns for this table.
|
GeneratorContext |
getContext()
The current generator context.
|
int |
getIndex()
The index of this table in the list of all available tables.
|
String |
getName()
The name of this table.
|
GeneratorColumn |
resolveColumn(String columnName)
Adds or finds a column which is part of an insert statement to this statement.
|
GeneratorColumn |
resolveColumn(String columnName,
boolean autoGenerated)
Adds or finds a column which is part of this table.
|
String |
toString() |
@ConstructorProperties(value={"index","name","context"}) @Generated(value="lombok") public GeneratorTable(int index, String name, GeneratorContext context)
public GeneratorColumn resolveColumn(String columnName)
columnName - the name of the new columnpublic GeneratorColumn resolveColumn(String columnName, boolean autoGenerated)
columnName - the name of the new columnautoGenerated - true if this column is not part of any insert statement, because it is generated by the
database@Generated(value="lombok") public int getIndex()
@Generated(value="lombok") public String getName()
@Generated(value="lombok") public GeneratorContext getContext()
@Generated(value="lombok") public Map<String,GeneratorColumn> getColumns()
Copyright © 2018 fastnate.org. All rights reserved.