public class Junction extends java.lang.Object implements Criterion
Modifier and Type | Class and Description |
---|---|
static class |
Junction.Nature |
Modifier | Constructor and Description |
---|---|
protected |
Junction(Junction.Nature nature) |
Modifier and Type | Method and Description |
---|---|
Junction |
add(Criterion criterion) |
java.lang.Iterable<Criterion> |
conditions() |
Junction.Nature |
getNature() |
TypedValue[] |
getTypedValues(Criteria crit,
CriteriaQuery criteriaQuery)
Return typed values for all parameters in the rendered SQL fragment
|
java.lang.String |
toSqlString(Criteria crit,
CriteriaQuery criteriaQuery)
Render the SQL fragment
|
java.lang.String |
toString() |
protected Junction(Junction.Nature nature)
public Junction.Nature getNature()
public java.lang.Iterable<Criterion> conditions()
public TypedValue[] getTypedValues(Criteria crit, CriteriaQuery criteriaQuery) throws HibernateException
Criterion
getTypedValues
in interface Criterion
crit
- The local criteriacriteriaQuery
- The overal criteria queryHibernateException
- Problem determining types.public java.lang.String toSqlString(Criteria crit, CriteriaQuery criteriaQuery) throws HibernateException
Criterion
toSqlString
in interface Criterion
crit
- The local criteriacriteriaQuery
- The overal criteria queryHibernateException
- Problem during rendering.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.