|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ojb.broker.query.AbstractQueryImpl
org.apache.ojb.broker.query.QueryByCriteria
org.apache.ojb.broker.query.ReportQueryByCriteria
Query for Reports. Supports selection of a subset of attributes.
| Field Summary |
| Fields inherited from class org.apache.ojb.broker.query.QueryByCriteria |
CRITERIA_SELECT_ALL |
| Fields inherited from interface org.apache.ojb.broker.query.Query |
NO_END_AT_INDEX, NO_START_AT_INDEX, NOT_SCROLLABLE, SCROLLABLE |
| Constructor Summary | |
ReportQueryByCriteria(java.lang.Class targetClass,
Criteria criteria)
Constructor for ReportQueryByCriteria. |
|
ReportQueryByCriteria(java.lang.Class targetClass,
Criteria criteria,
boolean distinct)
Constructor for ReportQueryByCriteria. |
|
ReportQueryByCriteria(java.lang.Class targetClass,
java.lang.String[] attributes,
Criteria criteria)
Constructor for ReportQueryByCriteria. |
|
ReportQueryByCriteria(java.lang.Class targetClass,
java.lang.String[] attributes,
Criteria criteria,
boolean distinct)
Constructor for ReportQueryByCriteria. |
|
| Method Summary | |
java.util.Map |
getAttributeFieldDescriptors()
Returns a Map with FieldDescriptors identified by Attribute |
java.lang.String[] |
getAttributes()
Gets the attributes to be selected. Attributes are translated into db-columns |
java.lang.String[] |
getColumns()
Deprecated. use getAttributes() |
int[] |
getJdbcTypes()
Gets the Jdbc-Types of the columns used for the Report. |
java.lang.String[] |
getJoinAttributes()
Gets the additional attributes used for building the Join. |
void |
setAttributeFieldDescriptors(java.util.Map attrToFld)
|
void |
setAttributes(java.lang.String[] attributes)
Sets the attributes to be selected. Attributes are translated into db-columns |
void |
setColumns(java.lang.String[] columns)
Deprecated. use setAttributes() |
void |
setJdbcTypes(int[] jdbcTypes)
|
void |
setJoinAttributes(java.lang.String[] joinAttributes)
|
java.lang.String |
toString()
Insert the method's description here. |
| Methods inherited from class org.apache.ojb.broker.query.AbstractQueryImpl |
fullSize, fullSize, getBaseClass, getEndAtIndex, getExampleObject, getFetchSize, getSearchClass, getStartAtIndex, getWithExtents, setEndAtIndex, setFetchSize, setStartAtIndex, setWithExtents, usePaging |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ReportQueryByCriteria(java.lang.Class targetClass,
java.lang.String[] attributes,
Criteria criteria,
boolean distinct)
targetClass - criteria - distinct -
public ReportQueryByCriteria(java.lang.Class targetClass,
java.lang.String[] attributes,
Criteria criteria)
targetClass - criteria -
public ReportQueryByCriteria(java.lang.Class targetClass,
Criteria criteria)
targetClass - criteria -
public ReportQueryByCriteria(java.lang.Class targetClass,
Criteria criteria,
boolean distinct)
targetClass - criteria - distinct - | Method Detail |
public java.lang.String[] getColumns()
getColumns in interface ReportQuerypublic void setColumns(java.lang.String[] columns)
columns - The columns to setpublic java.lang.String[] getAttributes()
getAttributes in interface ReportQuerypublic void setAttributes(java.lang.String[] attributes)
attributes - The attributes to setpublic int[] getJdbcTypes()
ReportQuery
getJdbcTypes in interface ReportQueryTypespublic void setJdbcTypes(int[] jdbcTypes)
jdbcTypes - The jdbcTypes to set.public java.lang.String[] getJoinAttributes()
ReportQuery
getJoinAttributes in interface ReportQuerypublic void setJoinAttributes(java.lang.String[] joinAttributes)
joinAttributes - The joinAttributes to set.public java.lang.String toString()
QueryByCriteria
toString in class QueryByCriteriaObject.toString()public java.util.Map getAttributeFieldDescriptors()
ReportQuery
getAttributeFieldDescriptors in interface ReportQuerypublic void setAttributeFieldDescriptors(java.util.Map attrToFld)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||