public class ReportQueryByCriteria extends QueryByCriteria implements ReportQuery
CRITERIA_SELECT_ALL
NO_END_AT_INDEX, NO_START_AT_INDEX, NOT_SCROLLABLE, SCROLLABLE
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addGroupBy, addGroupBy, addGroupBy, addOrderBy, addOrderBy, addOrderBy, addOrderByAscending, addOrderByDescending, addPathClass, addPrefetchedRelationship, getClassesForPath, getCriteria, getGroupBy, getHavingCriteria, getObjectProjectionAttribute, getOrderBy, getOuterJoinPaths, getPathClasses, getPrefetchedRelationships, isDistinct, isPathOuterJoin, setCriteria, setDistinct, setHavingCriteria, setObjectProjectionAttribute, setObjectProjectionAttribute, setPathClass, setPathOuterJoin
fullSize, fullSize, getBaseClass, getEndAtIndex, getExampleObject, getFetchSize, getSearchClass, getStartAtIndex, getWithExtents, setEndAtIndex, setFetchSize, setStartAtIndex, setWithExtents, usePaging
public ReportQueryByCriteria(java.lang.Class targetClass, java.lang.String[] attributes, Criteria criteria, boolean distinct)
targetClass
- attributes[]
- criteria
- distinct
- public ReportQueryByCriteria(java.lang.Class targetClass, java.lang.String[] attributes, Criteria criteria)
targetClass
- attributes[]
- criteria
- public ReportQueryByCriteria(java.lang.Class targetClass, Criteria criteria)
targetClass
- criteria
- public ReportQueryByCriteria(java.lang.Class targetClass, Criteria criteria, boolean distinct)
targetClass
- criteria
- distinct
- public java.lang.String[] getColumns()
getColumns
in interface ReportQuery
public void setColumns(java.lang.String[] columns)
columns
- The columns to setpublic java.lang.String[] getAttributes()
getAttributes
in interface ReportQuery
public void setAttributes(java.lang.String[] attributes)
attributes
- The attributes to setpublic int[] getJdbcTypes()
ReportQuery
getJdbcTypes
in interface ReportQuery
Types
public void setJdbcTypes(int[] jdbcTypes)
jdbcTypes
- The jdbcTypes to set.public java.lang.String[] getJoinAttributes()
ReportQuery
getJoinAttributes
in interface ReportQuery
public void setJoinAttributes(java.lang.String[] joinAttributes)
joinAttributes
- The joinAttributes to set.public java.lang.String toString()
QueryByCriteria
toString
in class QueryByCriteria
Object.toString()
public java.util.Map getAttributeFieldDescriptors()
ReportQuery
getAttributeFieldDescriptors
in interface ReportQuery
public void setAttributeFieldDescriptors(java.util.Map attrToFld)
(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30