edu.neu.ccs.filter
Class BoundFilter

java.lang.Object
  extended byedu.neu.ccs.filter.NumericFilter
      extended byedu.neu.ccs.filter.BoundFilter
All Implemented Interfaces:
Cloneable, Serializable, StringableFilter
Direct Known Subclasses:
MaximumBoundFilter, MinimumBoundFilter

public abstract class BoundFilter
extends NumericFilter

Abstract superclass for filters that represent an inclusive or exclusive bounded range.

Since:
1.0
Version:
2.2
See Also:
Serialized Form

Field Summary
protected  boolean inclusive
          Whether or not the range is inclusive.
static String INCLUSIVE
          Bound property name for the inclusive property.
 
Fields inherited from class edu.neu.ccs.filter.NumericFilter
changeAdapter
 
Constructor Summary
BoundFilter(boolean isInclusive)
          Constructs an inclusive or exclusive range.
 
Method Summary
 boolean isInclusive()
          Returns whether or not the range is inclusive.
 void setInclusive(boolean isInclusive)
          Sets whether or not the range is inclusive.
 
Methods inherited from class edu.neu.ccs.filter.NumericFilter
addPropertyChangeListener, addPropertyChangeListener, filterStringable, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INCLUSIVE

public static final String INCLUSIVE
Bound property name for the inclusive property.

See Also:
Constant Field Values

inclusive

protected boolean inclusive
Whether or not the range is inclusive.

Constructor Detail

BoundFilter

public BoundFilter(boolean isInclusive)
Constructs an inclusive or exclusive range.

Parameters:
isInclusive - whether or not the range is inclusive
Method Detail

setInclusive

public void setInclusive(boolean isInclusive)
Sets whether or not the range is inclusive.

Parameters:
isInclusive - whether or not the range is inclusive
See Also:
isInclusive()

isInclusive

public boolean isInclusive()
Returns whether or not the range is inclusive.

See Also:
setInclusive(boolean)