Class AuditRelatedId
- java.lang.Object
-
- org.hibernate.envers.query.criteria.AuditRelatedId
-
public class AuditRelatedId extends java.lang.ObjectCreate restrictions on an id of an entity related to an audited entity.
-
-
Constructor Summary
Constructors Constructor Description AuditRelatedId(java.lang.String alias, org.hibernate.envers.query.internal.property.PropertyNameGetter propertyNameGetter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditCriterioneq(java.lang.Object id)Applies an "equals" criteria predicate.AuditCriterionin(java.lang.Object[] values)Applies an "in" criteria predicate.AuditCriterionne(java.lang.Object id)Applies a "not equals" criteria predicate.
-
-
-
Method Detail
-
eq
public AuditCriterion eq(java.lang.Object id)
Applies an "equals" criteria predicate.- Parameters:
id- the value to test equality with- Returns:
- the criterion.
-
ne
public AuditCriterion ne(java.lang.Object id)
Applies a "not equals" criteria predicate.- Parameters:
id- the value to test inequality with- Returns:
- the criterion
-
in
public AuditCriterion in(java.lang.Object[] values)
Applies an "in" criteria predicate.- Parameters:
values- the values to test with- Returns:
- the criterion
-
-