org.kuali.rice.core.api.criteria
Class GreaterThanOrEqualPredicate
java.lang.Object
org.kuali.rice.core.api.criteria.AbstractPredicate
org.kuali.rice.core.api.criteria.GreaterThanOrEqualPredicate
- All Implemented Interfaces:
- Serializable, Predicate, PropertyPathPredicate, SingleValuedPredicate, ModelObjectBasic, ModelObjectComplete
public final class GreaterThanOrEqualPredicate
- extends AbstractPredicate
- implements SingleValuedPredicate
An immutable predicate which represents a "greater than or equal to" statement which is
evaluated the CriteriaValue
of this predicate.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
for a convenient way to construct this class.
,
Serialized Form
Method Summary |
String |
getPropertyPath()
Returns the property path for this predicate which represents the
portion of the object model to which the predicate applies. |
CriteriaValue<?> |
getValue()
Gets the criteria value for this predicate. |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
propertyPath
private final String propertyPath
value
private final CriteriaValue<?> value
_futureElements
private final Collection<Element> _futureElements
GreaterThanOrEqualPredicate
private GreaterThanOrEqualPredicate()
- Should only be invoked by JAXB.
GreaterThanOrEqualPredicate
GreaterThanOrEqualPredicate(String propertyPath,
CriteriaValue<?> value)
- Constructs a GreaterThanOrEqualPredicate for the given path and value. GreaterThanOrEqualPredicate supports the following
CriteriaValue
:
- Parameters:
propertyPath
- the property path for the predicate, must not be null or blankvalue
- the value to evaluation the path against, must not be null.
- Throws:
IllegalArgumentException
- if the propertyPath is null or blank
IllegalArgumentException
- if the value is null
IllegalArgumentException
- if this predicate does not support the given type of CriteriaValue
getPropertyPath
public String getPropertyPath()
- Description copied from interface:
PropertyPathPredicate
- Returns the property path for this predicate which represents the
portion of the object model to which the predicate applies.
- Specified by:
getPropertyPath
in interface PropertyPathPredicate
- Returns:
- the property path
getValue
public CriteriaValue<?> getValue()
- Description copied from interface:
SingleValuedPredicate
- Gets the criteria value for this predicate.
- Specified by:
getValue
in interface SingleValuedPredicate
- Returns:
- the criteria value for this predicate
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.