org.jcreme.filters
Class DateOrderFilter
java.lang.Object
org.jcreme.filters.OrderFilter
org.jcreme.filters.DateOrderFilter
- All Implemented Interfaces:
- java.lang.Cloneable, Filter, java.io.Serializable
- public class DateOrderFilter
- extends OrderFilter
A specialized OrderFilter that uses a date Comparator and only accepts Date
objects as referent objects.
- Version:
- $Revision: 1.3 $
- Author:
- $Author: dbregeon $
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
toString()
Gives an SQL-like string representation for this filter. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
DateOrderFilter
public DateOrderFilter(OrderComparisonOperator op,
java.util.Date date)
throws java.lang.IllegalArgumentException
- Creates new DateOrderFilter
- Parameters:
op
- The OrderComparisonOperator to be used.date
- The Date object to be used as the referent object.
- Throws:
java.lang.IllegalArgumentException
- In case any of the passed in parameters is null, which is not
wanted here.
toString
public java.lang.String toString()
- Gives an SQL-like string representation for this filter.
- Overrides:
toString
in class OrderFilter
- Returns:
- the string representation of this filter.
Copyright 2006 null. All Rights Reserved.