Class AbstractFieldComparator<T>
- java.lang.Object
-
- net.sf.jasperreports.components.sort.AbstractFieldComparator<T>
-
- Direct Known Subclasses:
FieldBooleanComparator
,FieldDateComparator
,FieldNumberComparator
,FieldTextComparator
public abstract class AbstractFieldComparator<T> extends Object
- Author:
- Narcis Marcu (narcism@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected T
compareEnd
protected T
compareStart
protected T
compareTo
protected Class<?>
compareToClass
protected Format
formatter
protected String
valueEnd
protected String
valueStart
-
Constructor Summary
Constructors Constructor Description AbstractFieldComparator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
compare(String filterTypeOperator)
protected FormatFactory
getFormatFactory()
abstract void
initValues()
boolean
isValid()
void
setCompareTo(Object compareTo)
void
setCompareToClass(Class<?> compareToClass)
void
setValueEnd(String valueEnd)
void
setValueStart(String valueStart)
-
-
-
Method Detail
-
setCompareTo
public void setCompareTo(Object compareTo)
-
setValueStart
public void setValueStart(String valueStart)
-
setValueEnd
public void setValueEnd(String valueEnd)
-
setCompareToClass
public void setCompareToClass(Class<?> compareToClass)
-
compare
public abstract boolean compare(String filterTypeOperator)
-
getFormatFactory
protected FormatFactory getFormatFactory()
-
isValid
public boolean isValid()
-
-