|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectpt.moredata.dao.DataBaseTable
Identificação de uma tabela da base de dados.
Para ser totalmente compativel com o modo ansi falta-lhe o owner.
É usado sobretudo para as implementações dos data controls Company MoreData
| Constructor Summary | |
DataBaseTable(DataSource dataSource,
java.lang.String tableName)
Build a new object for representing a database table. |
|
DataBaseTable(DataSource dataSource,
java.lang.String tableName,
java.lang.String tableAlias)
Build a new object for representing a database table. |
|
| Method Summary | |
java.lang.String |
getAlias()
Devolve o atalho corrente da tabela |
java.lang.String |
getJoinClause()
Getter for property joinClause. |
java.lang.String |
getName()
Devolve o nome da tabela |
DataTableInfo |
getTableInfo()
Get the value of tableInfo. |
void |
initTableInfo()
Inicializa a informacao acerca da tabela |
boolean |
isIncludeInDelete()
Getter for property includeInDelete. |
boolean |
isIncludeInInsert()
Getter for property includeInInsert. |
boolean |
isIncludeInQuery()
Check if the table should be include in a database selected. |
boolean |
isIncludeInUpdate()
Getter for property includeInUpdate. |
void |
setAlias(java.lang.String alias)
Deprecated. The alias cannot be modified after the table been added to a DAOFieldsInfo object. The DAOFieldsInfo uses the table alias and table name to build the keys used in the map between a table name and the metafields. This will be removed soon. |
void |
setDataSource(DataSource dataSource)
Setter for property dataSource. |
void |
setIncludeInDelete(boolean includeInDelete)
Setter for property includeInDelete. |
void |
setIncludeInInsert(boolean includeInInsert)
Setter for property includeInInsert. |
void |
setIncludeInQuery(boolean includeInQuery)
Change the includeInQuery property of the table. |
void |
setIncludeInUpdate(boolean includeInUpdate)
Setter for property includeInUpdate. |
void |
setJoinClause(java.lang.String joinClause)
Setter for property joinClause. |
void |
setName(java.lang.String name)
Deprecated. The alias cannot be modified after the table been added to a DAOFieldsInfo object. The DAOFieldsInfo uses the table alias and table name to build the keys used in the map between a table name and the metafields. This will be removed soon. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataBaseTable(DataSource dataSource,
java.lang.String tableName)
dataSource - The data source of the table.tableName - Table name.
public DataBaseTable(DataSource dataSource,
java.lang.String tableName,
java.lang.String tableAlias)
dataSource - The data source of the table.tableName - Table name.tableAlias - Table alias.| Method Detail |
public void setName(java.lang.String name)
public java.lang.String getName()
public void setAlias(java.lang.String alias)
public java.lang.String getAlias()
public void initTableInfo()
throws DAORuntimeException
DAORuntimeException - Se nao for possivel inicializar a informacao da tabela.public DataTableInfo getTableInfo()
public java.lang.String getJoinClause()
public void setJoinClause(java.lang.String joinClause)
joinClause - New value of property joinClause.public void setDataSource(DataSource dataSource)
dataSource - New value of property dataSource.public boolean isIncludeInQuery()
public void setIncludeInQuery(boolean includeInQuery)
includeInQuery - true if the table should be incluede in the
select, false if not.public boolean isIncludeInInsert()
public void setIncludeInInsert(boolean includeInInsert)
includeInInsert - New value of property includeInInsert.public boolean isIncludeInUpdate()
public void setIncludeInUpdate(boolean includeInUpdate)
includeInUpdate - New value of property includeInUpdate.public boolean isIncludeInDelete()
public void setIncludeInDelete(boolean includeInDelete)
includeInDelete - New value of property includeInDelete.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||