public class PropertyExpression extends java.lang.Object implements Criterion
Modifier | Constructor and Description |
---|---|
protected |
PropertyExpression(java.lang.String propertyName,
java.lang.String otherPropertyName,
java.lang.String op) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOp() |
TypedValue[] |
getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery)
Return typed values for all parameters in the rendered SQL fragment
|
java.lang.String |
toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
Render the SQL fragment
|
java.lang.String |
toString() |
protected PropertyExpression(java.lang.String propertyName, java.lang.String otherPropertyName, java.lang.String op)
public java.lang.String getOp()
public java.lang.String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
Criterion
toSqlString
in interface Criterion
criteria
- The local criteriacriteriaQuery
- The overal criteria queryHibernateException
- Problem during rendering.public TypedValue[] getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
Criterion
getTypedValues
in interface Criterion
criteria
- The local criteriacriteriaQuery
- The overal criteria querypublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.