- java.lang.Object
-
- com.appslandia.common.base.InitializeObject
-
- com.appslandia.common.record.Table
-
- All Implemented Interfaces:
InitializeSupport,Serializable
public class Table extends InitializeObject implements Serializable
- Author:
- Loc Ha
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Table()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidappendWhereKeyConditions(TextBuilder sqlBuilder)protected StringbuildDeleteSQL()protected StringbuildExistsSQL()protected StringbuildGetAllSQL()protected StringbuildGetSQL()protected StringbuildInsertSQL()protected StringbuildUpdateSQL()StringgetCatalog()String[]getColumnLabels()JdbcSqlgetDeleteSql()JdbcSqlgetExistsSql()List<Field>getFields()JdbcSqlgetGetSql()JdbcSqlgetInsertSql()FieldgetKeyIncr()StringgetName()StringgetSchema()JdbcSqlgetUpdateSql()protected voidinit()TablesetCatalog(String catalog)TablesetFields(List<Field> fields)TablesetName(String name)TablesetSchema(String schema)-
Methods inherited from class com.appslandia.common.base.InitializeObject
assertNotInitialized, destroy, initialize
-
-
-
-
Method Detail
-
init
protected void init() throws Exception- Specified by:
initin classInitializeObject- Throws:
Exception
-
getColumnLabels
public String[] getColumnLabels()
-
buildInsertSQL
protected String buildInsertSQL()
-
buildUpdateSQL
protected String buildUpdateSQL()
-
buildDeleteSQL
protected String buildDeleteSQL()
-
buildExistsSQL
protected String buildExistsSQL()
-
buildGetSQL
protected String buildGetSQL()
-
appendWhereKeyConditions
protected void appendWhereKeyConditions(TextBuilder sqlBuilder)
-
buildGetAllSQL
protected String buildGetAllSQL()
-
getName
public String getName()
-
getCatalog
public String getCatalog()
-
getSchema
public String getSchema()
-
getKeyIncr
public Field getKeyIncr()
-
getInsertSql
public JdbcSql getInsertSql()
-
getUpdateSql
public JdbcSql getUpdateSql()
-
getDeleteSql
public JdbcSql getDeleteSql()
-
getGetSql
public JdbcSql getGetSql()
-
getExistsSql
public JdbcSql getExistsSql()
-
-