@Override public String toString() { return CriteriaSupportUtils.toString(this); }
/** * Constructs an EqualPredicate for the given path and value. EqualPredicate supports the * following {@link CriteriaValue}: * * <ul> * <li>{@link CriteriaStringValue} * <li>{@link CriteriaDateTimeValue} * <li>{@link CriteriaDecimalValue} * <li>{@link CriteriaIntegerValue} * <li>{@link CriteriaKualiDecimalValue} * <li>{@link CriteriaKualiPercentValue} * </ul> * * @param propertyPath the property path for the predicate, must not be null or blank * @param value the value to evaluation the path against, must not be null. * @throws IllegalArgumentException if the propertyPath is null or blank * @throws IllegalArgumentException if the value is null * @throws IllegalArgumentException if this predicate does not support the given type of {@link * CriteriaValue} */ EqualPredicate(String propertyPath, CriteriaValue<?> value) { CriteriaSupportUtils.validateValuedConstruction(getClass(), propertyPath, value); this.propertyPath = propertyPath; this.value = value; }