|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Factory like class that acts as a helper to be used by the HibernateQueryResultStore
to create Field subclasses and generate the hibernate HQL corresponding to IQueryParams.
| Method Summary | |
Field |
createField(Record theRecord,
IPointQueryParam theQueryParam)
Creates an instance of the Field subclass corresponding to
the provided IQueryParam. |
java.lang.String |
generateHql(IGroupQueryParam theGroupQueryParam,
int theIndex)
Generates the HQL corresponding to the provided "point" query param. |
java.lang.String |
generateHql(IPointQueryParam thePointQueryParam,
int theIndex)
Generates the HQL corresponding to the provided "point" query param. |
java.util.Map |
generateHqlParamMap(IGroupQueryParam theGroupQueryParam,
int theIndex)
Generates a Map of paramName => paramValue corresponding to the provided "point" query param. |
java.util.Map |
generateHqlParamMap(IPointQueryParam thePointQueryParam,
int theIndex)
Generates a Map of paramName => paramValue corresponding to the provided "point" query param. |
java.lang.Class |
getFieldClass()
|
| Method Detail |
public Field createField(Record theRecord,
IPointQueryParam theQueryParam)
Field subclass corresponding to
the provided IQueryParam.
theRecord - The record this field belongs to.theQueryParam - The provided query param.
Field subclass.public java.lang.Class getFieldClass()
createField(Record, IPointQueryParam)
public java.lang.String generateHql(IPointQueryParam thePointQueryParam,
int theIndex)
thePointQueryParam - The provided "point" query param.theIndex - The index of the query param within the containing query.
public java.lang.String generateHql(IGroupQueryParam theGroupQueryParam,
int theIndex)
theGroupQueryParam - The provided "group" query param.theIndex - The index of the query param within the containing query.
public java.util.Map generateHqlParamMap(IPointQueryParam thePointQueryParam,
int theIndex)
thePointQueryParam - The provided "point" query param.theIndex - The index of the query param within the containing query.
public java.util.Map generateHqlParamMap(IGroupQueryParam theGroupQueryParam,
int theIndex)
theGroupQueryParam - The provided "group" query param.theIndex - The index of the query param within the containing query.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||