com.bea.content.spi.flexspi.common
Class FilterCriteria

java.lang.Object
  extended by com.bea.content.spi.flexspi.common.FilterCriteria
All Implemented Interfaces
Serializable

public class FilterCriteria
extends Object
implements Serializable

query filter criteria

See Also
Serialized Form

Field Summary
static FilterCriteria UNFILTERED
           
 
Constructor Summary
FilterCriteria()
          Construct a FilterCriteria using FilterCriteria.UNFILTERED.
FilterCriteria(boolean filterResults, String filterValue, FilterMethod filterMethod, String property, Locale locale)
          Construct a FilterCriteria.
 
Method Summary
 boolean equals(Object obj)
           
 boolean filterResults()
          Get the filter results value.
 FilterMethod getFilterMethod()
          Get the filter method.
 String getFilterValue()
          Get the filter value.
 Locale getLocale()
          Get the locale.
 String getProperty()
          Get the filter property name.
 int hashCode()
          Override the hashCode because we override equals().
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNFILTERED

public static final FilterCriteria UNFILTERED
Constructor Detail

FilterCriteria

public FilterCriteria(boolean filterResults,
                      String filterValue,
                      FilterMethod filterMethod,
                      String property,
                      Locale locale)
Construct a FilterCriteria.

Parameters
filterResults - True if the containing QueryResult object has filtered the results.
filterValue - The filter string value.
filterMethod - The filter method.
property - The filter property name.
locale - The locale.

FilterCriteria

public FilterCriteria()
Construct a FilterCriteria using FilterCriteria.UNFILTERED.

Method Detail

filterResults

public boolean filterResults()
Get the filter results value.

Returns
The filter results value.

getFilterValue

public String getFilterValue()
Get the filter value.

Returns
The filter value.

getFilterMethod

public FilterMethod getFilterMethod()
Get the filter method.

Returns
The filter method.

getProperty

public String getProperty()
Get the filter property name.

Returns
The filter property name.

getLocale

public Locale getLocale()
Get the locale.

Returns
The locale.

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Override the hashCode because we override equals().

Overrides:
hashCode in class Object


Copyright © 2011, Oracle. All rights reserved.