| java.lang.Object org.apache.ojb.broker.query.AbstractQueryImpl org.apache.ojb.broker.query.QueryByCriteria org.apache.ojb.broker.query.ReportQueryByCriteria
All known Subclasses: org.apache.ojb.broker.query.ReportQueryByMtoNCriteria,
ReportQueryByCriteria | public class ReportQueryByCriteria extends QueryByCriteria implements ReportQuery(Code) | | Query for Reports.
Supports selection of a subset of attributes.
author: Jakob Braeuchi version: $Id: ReportQueryByCriteria.java,v 1.10.2.2 2005/12/21 22:27:09 tomdz Exp $ |
ReportQueryByCriteria | public ReportQueryByCriteria(Class targetClass, String[] attributes, Criteria criteria, boolean distinct)(Code) | | Constructor for ReportQueryByCriteria.
Parameters: targetClass - attributes[] Parameters: criteria - Parameters: distinct - |
ReportQueryByCriteria | public ReportQueryByCriteria(Class targetClass, String[] attributes, Criteria criteria)(Code) | | Constructor for ReportQueryByCriteria.
Parameters: targetClass - attributes[] Parameters: criteria - |
ReportQueryByCriteria | public ReportQueryByCriteria(Class targetClass, Criteria criteria)(Code) | | Constructor for ReportQueryByCriteria.
Parameters: targetClass - Parameters: criteria - |
ReportQueryByCriteria | public ReportQueryByCriteria(Class targetClass, Criteria criteria, boolean distinct)(Code) | | Constructor for ReportQueryByCriteria.
Parameters: targetClass - Parameters: criteria - Parameters: distinct - |
getAttributeFieldDescriptors | public Map getAttributeFieldDescriptors()(Code) | | |
getAttributes | public String[] getAttributes()(Code) | | Gets the attributes to be selected.
Attributes are translated into db-columns
the attributes to be selected |
getColumns | public String[] getColumns()(Code) | | Gets the columns.
Returns a String[] |
getJdbcTypes | public int[] getJdbcTypes()(Code) | | Returns the jdbcTypes. |
getJoinAttributes | public String[] getJoinAttributes()(Code) | | Returns the joinAttributes. |
setAttributeFieldDescriptors | public void setAttributeFieldDescriptors(Map attrToFld)(Code) | | |
setAttributes | public void setAttributes(String[] attributes)(Code) | | Sets the attributes to be selected.
Attributes are translated into db-columns
Parameters: attributes - The attributes to set |
setColumns | public void setColumns(String[] columns)(Code) | | Sets the columns.
Parameters: columns - The columns to set |
setJdbcTypes | public void setJdbcTypes(int[] jdbcTypes)(Code) | | Parameters: jdbcTypes - The jdbcTypes to set. |
setJoinAttributes | public void setJoinAttributes(String[] joinAttributes)(Code) | | Parameters: joinAttributes - The joinAttributes to set. |
Fields inherited from org.apache.ojb.broker.query.QueryByCriteria | final public static Criteria CRITERIA_SELECT_ALL(Code)(Java Doc)
|
|
|