|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.endeca.infront.navigation.model.Filter
com.endeca.infront.navigation.model.RangeFilter
public class RangeFilter
A range filter.
| Nested Class Summary | |
|---|---|
static class |
RangeFilter.Operation
|
| Constructor Summary | |
|---|---|
RangeFilter()
Creates a range filter. |
|
RangeFilter(String propertyName,
double bound1,
double bound2)
Constructs a new range filter with the between operation (Operation.BTWN). |
|
RangeFilter(String propertyName,
double bound1,
RangeFilter.Operation operation)
Creates a range filter. |
|
| Method Summary | |
|---|---|
RangeFilter |
clone()
|
boolean |
equals(Object obj)
|
double |
getBound1()
A bound value used for comparison operations. |
double |
getBound2()
A second bound value used only by the between operation (Operation.BTWN). |
RangeFilter.Operation |
getOperation()
|
String |
getPropertyName()
|
int |
hashCode()
|
void |
setBound1(double bound1)
|
void |
setBound2(double bound2)
|
void |
setOperation(RangeFilter.Operation operation)
|
void |
setPropertyName(String propertyName)
|
String |
toString()
For debugging. |
| Methods inherited from class com.endeca.infront.navigation.model.Filter |
|---|
verifyNotNull |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RangeFilter()
RangeFilter.Operation
must also be set.
setPropertyName(String),
setBound1(double),
setBound2(double),
setOperation(Operation)
public RangeFilter(String propertyName,
double bound1,
RangeFilter.Operation operation)
propertyName - cannot be nulloperation - cannot be null
public RangeFilter(String propertyName,
double bound1,
double bound2)
propertyName - bound1 - bound2 - | Method Detail |
|---|
public String getPropertyName()
public void setPropertyName(String propertyName)
propertyName - cannot be nullpublic double getBound1()
public void setBound1(double bound1)
getBound1()public double getBound2()
public void setBound2(double bound2)
getBound2()public RangeFilter.Operation getOperation()
public void setOperation(RangeFilter.Operation operation)
operation - the RangeFilter.Operation, cannot be nullpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic RangeFilter clone()
clone in class Filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||