/** * Apply a "less than" constraint to another property * * @param otherAlias the alias of the entity which owns the other property. */ public AuditCriterion ltProperty(String otherAlias, String otherPropertyName) { return new PropertyAuditExpression( alias, propertyNameGetter, otherAlias, otherPropertyName, "<" ); }
/** * Apply an "equal" constraint to another property * * @param otherAlias the alias of the entity which owns the other property. */ public AuditCriterion eqProperty(String otherAlias, String otherPropertyName) { return new PropertyAuditExpression( alias, propertyNameGetter, otherAlias, otherPropertyName, "=" ); }
/** * Apply a "greater than or equal" constraint to another property * * @param otherAlias the alias of the entity which owns the other property. */ public AuditCriterion geProperty(String otherAlias, String otherPropertyName) { return new PropertyAuditExpression( alias, propertyNameGetter, otherAlias, otherPropertyName, ">=" ); }
/** * Apply a "less than or equal" constraint to another property * * @param otherAlias the alias of the entity which owns the other property. */ public AuditCriterion leProperty(String otherAlias, String otherPropertyName) { return new PropertyAuditExpression( alias, propertyNameGetter, otherAlias, otherPropertyName, "<=" ); }
/** * Apply a "not equal" constraint to another property * * @param otherAlias the alias of the entity which owns the other property. */ public AuditCriterion neProperty(String otherAlias, String otherPropertyName) { return new PropertyAuditExpression( alias, propertyNameGetter, otherAlias, otherPropertyName, "<>" ); }
/** * Apply a "greater than" constraint to another property * * @param otherAlias the alias of the entity which owns the other property. */ public AuditCriterion gtProperty(String otherAlias, String otherPropertyName) { return new PropertyAuditExpression( alias, propertyNameGetter, otherAlias, otherPropertyName, ">" ); }
/** * Apply an "equal" constraint to another property * * @param otherAlias the alias of the entity which owns the other property. */ public AuditCriterion eqProperty(String otherAlias, String otherPropertyName) { return new PropertyAuditExpression( alias, propertyNameGetter, otherAlias, otherPropertyName, "=" ); }
/** * Apply a "less than or equal" constraint to another property * * @param otherAlias the alias of the entity which owns the other property. */ public AuditCriterion leProperty(String otherAlias, String otherPropertyName) { return new PropertyAuditExpression( alias, propertyNameGetter, otherAlias, otherPropertyName, "<=" ); }
/** * Apply a "less than" constraint to another property * * @param otherAlias the alias of the entity which owns the other property. */ public AuditCriterion ltProperty(String otherAlias, String otherPropertyName) { return new PropertyAuditExpression( alias, propertyNameGetter, otherAlias, otherPropertyName, "<" ); }
/** * Apply a "greater than" constraint to another property * * @param otherAlias the alias of the entity which owns the other property. */ public AuditCriterion gtProperty(String otherAlias, String otherPropertyName) { return new PropertyAuditExpression( alias, propertyNameGetter, otherAlias, otherPropertyName, ">" ); }
/** * Apply a "not equal" constraint to another property * * @param otherAlias the alias of the entity which owns the other property. */ public AuditCriterion neProperty(String otherAlias, String otherPropertyName) { return new PropertyAuditExpression( alias, propertyNameGetter, otherAlias, otherPropertyName, "<>" ); }
/** * Apply a "greater than or equal" constraint to another property * * @param otherAlias the alias of the entity which owns the other property. */ public AuditCriterion geProperty(String otherAlias, String otherPropertyName) { return new PropertyAuditExpression( alias, propertyNameGetter, otherAlias, otherPropertyName, ">=" ); }