public class Table extends InitializeObject implements Serializable
mutex| Modifier and Type | Method and Description |
|---|---|
Table |
addField(Field field) |
Table |
addField(String... fieldNames) |
Table |
addField(String fieldName,
int sqlType) |
Table |
addKeys(String... fieldNames) |
protected void |
appendWhereKeyConditions(TextBuilder sqlBuilder) |
protected String |
buildDeleteSQL() |
protected String |
buildExistsSQL() |
protected String |
buildGetAllSQL() |
protected String |
buildGetSQL() |
protected String |
buildInsertSQL() |
protected String |
buildUpdateSQL() |
Field |
getAutoKey() |
JdbcSql |
getDeleteSql() |
JdbcSql |
getExistsSql() |
List<Field> |
getFields() |
String |
getGetAllSql() |
JdbcSql |
getGetSql() |
JdbcSql |
getInsertSql() |
String |
getName() |
JdbcSql |
getUpdateSql() |
protected void |
init() |
Table |
setAutoKey(String fieldName) |
Table |
setName(String name) |
assertNotInitialized, destroy, initializepublic Table()
public Table(String name)
protected void init()
throws Exception
init in class InitializeObjectExceptionprotected String buildInsertSQL()
protected String buildUpdateSQL()
protected String buildDeleteSQL()
protected String buildExistsSQL()
protected String buildGetSQL()
protected void appendWhereKeyConditions(TextBuilder sqlBuilder)
protected String buildGetAllSQL()
public String getName()
public Field getAutoKey()
public JdbcSql getInsertSql()
public JdbcSql getUpdateSql()
public JdbcSql getDeleteSql()
public JdbcSql getGetSql()
public JdbcSql getExistsSql()
public String getGetAllSql()
Copyright © 2017. All rights reserved.