FileDocCategorySizeDatePackage
Property.javaAPI DocHibernate 3.2.56475Sat Feb 12 00:19:50 GMT 2005org.hibernate.criterion

Property

public class Property extends PropertyProjection
A factory for property-specific criterion and projection instances
author
Gavin King

Fields Summary
Constructors Summary
protected Property(String propertyName)

		super(propertyName);
	
Methods Summary
public Orderasc()

		return Order.asc(getPropertyName());
	
public AggregateProjectionavg()

		return Projections.avg(getPropertyName());
	
public Criterionbetween(java.lang.Object min, java.lang.Object max)

		return Restrictions.between(getPropertyName(), min, max);
	
public CountProjectioncount()

		return Projections.count(getPropertyName());
	
public Orderdesc()

		return Order.desc(getPropertyName());
	
public Criterioneq(DetachedCriteria subselect)

		return Subqueries.propertyEq( getPropertyName(), subselect );
	
public SimpleExpressioneq(java.lang.Object value)

		return Restrictions.eq(getPropertyName(), value);
	
public CriterioneqAll(DetachedCriteria subselect)

		return Subqueries.propertyEqAll( getPropertyName(), subselect );
	
public PropertyExpressioneqProperty(org.hibernate.criterion.Property other)

		return Restrictions.eqProperty( getPropertyName(), other.getPropertyName() );
	
public PropertyExpressioneqProperty(java.lang.String other)

		return Restrictions.eqProperty( getPropertyName(), other );
	
public static org.hibernate.criterion.PropertyforName(java.lang.String propertyName)

		return new Property(propertyName);
	
public SimpleExpressionge(java.lang.Object value)

		return Restrictions.ge(getPropertyName(), value);
	
public Criterionge(DetachedCriteria subselect)

		return Subqueries.propertyGe( getPropertyName(), subselect );
	
public CriteriongeAll(DetachedCriteria subselect)

		return Subqueries.propertyGeAll( getPropertyName(), subselect );
	
public PropertyExpressiongeProperty(org.hibernate.criterion.Property other)

		return Restrictions.geProperty( getPropertyName(), other.getPropertyName() );
	
public PropertyExpressiongeProperty(java.lang.String other)

		return Restrictions.geProperty( getPropertyName(), other );
	
public CriteriongeSome(DetachedCriteria subselect)

		return Subqueries.propertyGeSome( getPropertyName(), subselect );
	
public org.hibernate.criterion.PropertygetProperty(java.lang.String propertyName)
Get a component attribute of this property

		return forName( getPropertyName() + '." + propertyName );
	
public PropertyProjectiongroup()

		return Projections.groupProperty(getPropertyName());
	
public Criteriongt(DetachedCriteria subselect)

		return Subqueries.propertyGt( getPropertyName(), subselect );
	
public SimpleExpressiongt(java.lang.Object value)

		return Restrictions.gt(getPropertyName(), value);
	
public CriteriongtAll(DetachedCriteria subselect)

		return Subqueries.propertyGtAll( getPropertyName(), subselect );
	
public PropertyExpressiongtProperty(org.hibernate.criterion.Property other)

		return Restrictions.gtProperty( getPropertyName(), other.getPropertyName() );
	
public PropertyExpressiongtProperty(java.lang.String other)

		return Restrictions.gtProperty( getPropertyName(), other );
	
public CriteriongtSome(DetachedCriteria subselect)

		return Subqueries.propertyGtSome( getPropertyName(), subselect );
	
public Criterionin(java.util.Collection values)

		return Restrictions.in(getPropertyName(), values);
	
public Criterionin(java.lang.Object[] values)

		return Restrictions.in(getPropertyName(), values);
	
public Criterionin(DetachedCriteria subselect)

		return Subqueries.propertyIn( getPropertyName(), subselect );
	
public CriterionisEmpty()

		return Restrictions.isEmpty(getPropertyName());
	
public CriterionisNotEmpty()

		return Restrictions.isNotEmpty(getPropertyName());
	
public CriterionisNotNull()

		return Restrictions.isNotNull(getPropertyName());
	
public CriterionisNull()

		return Restrictions.isNull(getPropertyName());
	
public SimpleExpressionle(java.lang.Object value)

		return Restrictions.le(getPropertyName(), value);
	
public Criterionle(DetachedCriteria subselect)

		return Subqueries.propertyLe( getPropertyName(), subselect );
	
public CriterionleAll(DetachedCriteria subselect)

		return Subqueries.propertyLeAll( getPropertyName(), subselect );
	
public PropertyExpressionleProperty(org.hibernate.criterion.Property other)

		return Restrictions.leProperty( getPropertyName(), other.getPropertyName() );
	
public PropertyExpressionleProperty(java.lang.String other)

		return Restrictions.leProperty( getPropertyName(), other );
	
public CriterionleSome(DetachedCriteria subselect)

		return Subqueries.propertyLeSome( getPropertyName(), subselect );
	
public SimpleExpressionlike(java.lang.Object value)

		return Restrictions.like(getPropertyName(), value);
	
public SimpleExpressionlike(java.lang.String value, MatchMode matchMode)

		return Restrictions.like(getPropertyName(), value, matchMode);
	
public SimpleExpressionlt(java.lang.Object value)

		return Restrictions.lt(getPropertyName(), value);
	
public Criterionlt(DetachedCriteria subselect)

		return Subqueries.propertyLt( getPropertyName(), subselect );
	
public CriterionltAll(DetachedCriteria subselect)

		return Subqueries.propertyLtAll( getPropertyName(), subselect );
	
public PropertyExpressionltProperty(org.hibernate.criterion.Property other)

		return Restrictions.ltProperty( getPropertyName(), other.getPropertyName() );
	
public PropertyExpressionltProperty(java.lang.String other)

		return Restrictions.ltProperty( getPropertyName(), other );
	
public CriterionltSome(DetachedCriteria subselect)

		return Subqueries.propertyLtSome( getPropertyName(), subselect );
	
public AggregateProjectionmax()

		return Projections.max(getPropertyName());
	
public AggregateProjectionmin()

		return Projections.min(getPropertyName());
	
public Criterionne(DetachedCriteria subselect)

		return Subqueries.propertyNe( getPropertyName(), subselect );
	
public SimpleExpressionne(java.lang.Object value)

		return Restrictions.ne(getPropertyName(), value);
	
public PropertyExpressionneProperty(org.hibernate.criterion.Property other)

		return Restrictions.neProperty( getPropertyName(), other.getPropertyName() );
	
public PropertyExpressionneProperty(java.lang.String other)

		return Restrictions.neProperty( getPropertyName(), other );
	
public CriterionnotIn(DetachedCriteria subselect)

		return Subqueries.propertyNotIn( getPropertyName(), subselect );