public abstract class ReportCriterion extends Object
| Constructor and Description |
|---|
ReportCriterion() |
ReportCriterion(String criterionName,
String attributePath)
Rich constructor for a ReportCriterion.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributePath() |
String |
getCriterionName() |
protected String |
getEntityAlias() |
protected Class<?> |
getEntityClass() |
protected QueryOperator |
getOperator() |
protected Class<?> |
getParamClass() |
Object[] |
getParameters() |
abstract org.hibernate.criterion.Criterion |
makeCriterion()
This method will convert, using some of its properties, a Hibernate Criterion corresponding to that
ReportCriterion.
|
void |
setAttributePath(String attributePath) |
void |
setCriterionName(String criterionName) |
protected void |
setEntityAlias(String entityAlias)
Sets an alternate alias for the target entity.
|
protected void |
setEntityClass(Class<?> entityClass) |
protected void |
setOperator(QueryOperator operator)
Sets a semantic hint about what will the criterion do.
|
protected void |
setParamClass(Class<?> paramClass)
Specify the class of the parameters.
|
void |
setParameter(Object... params) |
protected void |
setParameters(Object[] parameters) |
public String getCriterionName()
public void setCriterionName(String criterionName)
public void setAttributePath(String attributePath)
public void setParameter(Object... params)
public String getAttributePath()
public Object[] getParameters()
protected Class<?> getEntityClass()
protected void setEntityClass(Class<?> entityClass)
protected String getEntityAlias()
protected void setEntityAlias(String entityAlias)
entityAlias - protected Class<?> getParamClass()
protected void setParamClass(Class<?> paramClass)
paramClass - the java class of the parameters.protected QueryOperator getOperator()
protected void setOperator(QueryOperator operator)
operator - protected void setParameters(Object[] parameters)
public abstract org.hibernate.criterion.Criterion makeCriterion()
Copyright © 2010-2015 Henix, henix.fr. All Rights Reserved.