FileDocCategorySizeDatePackage
NaturalIdentifier.javaAPI DocHibernate 3.2.5840Tue May 24 20:22:08 BST 2005org.hibernate.criterion

NaturalIdentifier

public class NaturalIdentifier extends Object implements Criterion
author
Gavin King

Fields Summary
private Junction
conjunction
Constructors Summary
Methods Summary
public org.hibernate.engine.TypedValue[]getTypedValues(org.hibernate.Criteria criteria, CriteriaQuery criteriaQuery)


	        
		return conjunction.getTypedValues(criteria, criteriaQuery);
	
public org.hibernate.criterion.NaturalIdentifierset(java.lang.String property, java.lang.Object value)

		conjunction.add( Restrictions.eq(property, value) );
		return this;
	
public java.lang.StringtoSqlString(org.hibernate.Criteria criteria, CriteriaQuery criteriaQuery)

		return conjunction.toSqlString(criteria, criteriaQuery);