|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectpt.moredata.dao.core.SQLInformation
This is a java bean used for presenting aditional information to the SQLStatmentBuilder interface so it can build SQL statments. Company MoreData
| Constructor Summary | |
SQLInformation()
Create a new SQLInformation Object. |
|
SQLInformation(java.lang.String tableName)
Create a new SQLInformation Object. |
|
SQLInformation(java.lang.String tableName,
int rowNumber)
Create a new SQLInformation Object. |
|
SQLInformation(java.lang.String tableName,
int rowNumber,
int updateType)
Create a new SQLInformation Object. |
|
SQLInformation(java.lang.String tableName,
java.lang.String whereString)
Create a new SQLInformation Object. |
|
SQLInformation(java.lang.String tableName,
java.lang.String whereString,
java.util.List joinString,
java.util.List orderBy,
boolean distinctQuery)
Create a new SQLInformation Object. |
|
| Method Summary | |
java.util.List |
getOrderBy()
Getter for property orderBy. |
int |
getRowNumber()
Getter for property rowNumber. |
java.util.List |
getSelectList()
Getter for property selectList. |
java.lang.String |
getTableName()
Getter for property tableName. |
java.util.List |
getTablesJoin()
Getter for property joinString. |
int |
getUpdateType()
Getter for property updateType. |
java.lang.String |
getWhereString()
Getter for property whereString. |
boolean |
isDistinctQuery()
Getter for property distinctQuery. |
boolean |
isForUpdate()
Getter for property forUpdate. |
boolean |
isUseJoin()
Getter for property useJoin. |
void |
setDistinctQuery(boolean distinctQuery)
Setter for property distinctQuery. |
void |
setForUpdate(boolean forUpdate)
Setter for property forUpdate. |
void |
setOrderBy(java.util.List orderBy)
Setter for property orderBy. |
void |
setRowNumber(int rowNumber)
Setter for property rowNumber. |
void |
setSelectList(java.util.List selectList)
Setter for property selectList. |
void |
setTableName(java.lang.String tableName)
Setter for property tableName. |
void |
setTablesJoin(java.util.List tablesJoin)
Setter for property tablesJoin. |
void |
setUpdateType(int updateType)
Setter for property updateType. |
void |
setUseJoin(boolean useJoin)
Setter for property useJoin. |
void |
setWhereString(java.lang.String whereString)
Setter for property whereString. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SQLInformation()
public SQLInformation(java.lang.String tableName,
java.lang.String whereString)
tableName - The table name to be used by the SQLStatmentBuilder.whereString - The where string clause to be used by the
SQLStatmentBuilder.
public SQLInformation(java.lang.String tableName,
java.lang.String whereString,
java.util.List joinString,
java.util.List orderBy,
boolean distinctQuery)
tableName - The table name to be used by the SQLStatmentBuilder.whereString - The where string clause to be used by the
SQLStatmentBuilder.joinString - The join where string clause to be used by the
SQLStatmentBuilder.orderBy - The order by clause to be used by the SQLStatmentBuilder.distinctQuery - Indicates if the distinct query should be used by
the SQLStatmentBuilder.
public SQLInformation(java.lang.String tableName,
int rowNumber)
tableName - The table name to be used by the SQLStatmentBuilder.rowNumber - The row number thas is the target of the SQLStatmentBuilder.
public SQLInformation(java.lang.String tableName,
int rowNumber,
int updateType)
tableName - The table name to be used by the SQLStatmentBuilder.rowNumber - The row number thas is the target of the SQLStatmentBuilder.updateType - The update type to be used by the SQLStatmentBuilder.
The update type avaliable are DataAccessObject.SUPERSET_UPDATE
and DataAccessObject.INDIVIDUAL_UPDATE.public SQLInformation(java.lang.String tableName)
tableName - The table name to be used by the SQLStatmentBuilder.| Method Detail |
public java.lang.String getTableName()
public void setTableName(java.lang.String tableName)
tableName - New value of property tableName.public java.lang.String getWhereString()
public void setWhereString(java.lang.String whereString)
whereString - New value of property whereString.public java.util.List getTablesJoin()
public void setTablesJoin(java.util.List tablesJoin)
tablesJoin - New value of property joinString.public java.util.List getOrderBy()
public void setOrderBy(java.util.List orderBy)
orderBy - New value of property orderBy.public boolean isDistinctQuery()
public void setDistinctQuery(boolean distinctQuery)
distinctQuery - New value of property distinctQuery.public int getRowNumber()
public void setRowNumber(int rowNumber)
rowNumber - New value of property rowNumber.public int getUpdateType()
public void setUpdateType(int updateType)
updateType - New value of property updateType.public java.util.List getSelectList()
public void setSelectList(java.util.List selectList)
selectList - New value of property selectList.public boolean isForUpdate()
public void setForUpdate(boolean forUpdate)
forUpdate - New value of property forUpdate.public boolean isUseJoin()
public void setUseJoin(boolean useJoin)
useJoin - New value of property useJoin.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||