org.hibernate.criterion
Class Property
java.lang.Object
org.hibernate.criterion.SimpleProjection
org.hibernate.criterion.PropertyProjection
org.hibernate.criterion.Property
- All Implemented Interfaces:
- Serializable, Projection
public class Property
- extends PropertyProjection
A factory for property-specific criterion and projection instances
- Author:
- Gavin King
- See Also:
- Serialized Form
Property
protected Property(String propertyName)
between
public Criterion between(Object min,
Object max)
in
public Criterion in(Collection values)
in
public Criterion in(Object[] values)
like
public SimpleExpression like(Object value)
like
public SimpleExpression like(String value,
MatchMode matchMode)
eq
public SimpleExpression eq(Object value)
ne
public SimpleExpression ne(Object value)
gt
public SimpleExpression gt(Object value)
lt
public SimpleExpression lt(Object value)
le
public SimpleExpression le(Object value)
ge
public SimpleExpression ge(Object value)
eqProperty
public PropertyExpression eqProperty(Property other)
neProperty
public PropertyExpression neProperty(Property other)
leProperty
public PropertyExpression leProperty(Property other)
geProperty
public PropertyExpression geProperty(Property other)
ltProperty
public PropertyExpression ltProperty(Property other)
gtProperty
public PropertyExpression gtProperty(Property other)
eqProperty
public PropertyExpression eqProperty(String other)
neProperty
public PropertyExpression neProperty(String other)
leProperty
public PropertyExpression leProperty(String other)
geProperty
public PropertyExpression geProperty(String other)
ltProperty
public PropertyExpression ltProperty(String other)
gtProperty
public PropertyExpression gtProperty(String other)
isNull
public Criterion isNull()
isNotNull
public Criterion isNotNull()
isEmpty
public Criterion isEmpty()
isNotEmpty
public Criterion isNotEmpty()
count
public CountProjection count()
max
public AggregateProjection max()
min
public AggregateProjection min()
avg
public AggregateProjection avg()
group
public PropertyProjection group()
asc
public Order asc()
desc
public Order desc()
forName
public static Property forName(String propertyName)
getProperty
public Property getProperty(String propertyName)
- Get a component attribute of this property
eq
public Criterion eq(DetachedCriteria subselect)
ne
public Criterion ne(DetachedCriteria subselect)
lt
public Criterion lt(DetachedCriteria subselect)
le
public Criterion le(DetachedCriteria subselect)
gt
public Criterion gt(DetachedCriteria subselect)
ge
public Criterion ge(DetachedCriteria subselect)
notIn
public Criterion notIn(DetachedCriteria subselect)
in
public Criterion in(DetachedCriteria subselect)
eqAll
public Criterion eqAll(DetachedCriteria subselect)
gtAll
public Criterion gtAll(DetachedCriteria subselect)
ltAll
public Criterion ltAll(DetachedCriteria subselect)
leAll
public Criterion leAll(DetachedCriteria subselect)
geAll
public Criterion geAll(DetachedCriteria subselect)
gtSome
public Criterion gtSome(DetachedCriteria subselect)
ltSome
public Criterion ltSome(DetachedCriteria subselect)
leSome
public Criterion leSome(DetachedCriteria subselect)
geSome
public Criterion geSome(DetachedCriteria subselect)
Copyright © null-null Red Hat Middleware, LLC. All Rights Reserved