org.kuali.rice.core.api.criteria
Class GreaterThanOrEqualPredicate

java.lang.Object
  extended by org.kuali.rice.core.api.criteria.AbstractPredicate
      extended by 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

Nested Class Summary
(package private) static class GreaterThanOrEqualPredicate.Constants
          Defines some internal constants used on this class.
 
Field Summary
private  Collection<Element> _futureElements
           
private  String propertyPath
           
private static long serialVersionUID
           
private  CriteriaValue<?> value
           
 
Constructor Summary
private GreaterThanOrEqualPredicate()
          Should only be invoked by JAXB.
(package private) GreaterThanOrEqualPredicate(String propertyPath, CriteriaValue<?> value)
          Constructs a GreaterThanOrEqualPredicate for the given path and value.
 
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.
 
Methods inherited from class org.kuali.rice.core.api.criteria.AbstractPredicate
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectComplete
equals, hashCode
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Field Detail

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
Constructor Detail

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 blank
value - 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
Method Detail

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.