public class Table extends InitializeObject implements Serializable
mutex| Modifier and Type | Method and Description |
|---|---|
Table |
addAutoKey(String fieldName) |
Table |
addField(Field field) |
Table |
addField(String fieldName,
int sqlType) |
Table |
addFields(String... fieldNames) |
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() |
Sql |
getDeleteSql() |
Sql |
getExistsSql() |
List<Field> |
getFields() |
String |
getGetAllSql() |
Sql |
getGetSql() |
Sql |
getInsertSql() |
String |
getName() |
Sql |
getUpdateSql() |
protected void |
init() |
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 Sql getInsertSql()
public Sql getUpdateSql()
public Sql getDeleteSql()
public Sql getGetSql()
public Sql getExistsSql()
public String getGetAllSql()
Copyright © 2017. All rights reserved.