org.terracotta.toolkit.search.expression
Class Range
java.lang.Object
org.terracotta.toolkit.search.expression.BaseClause
org.terracotta.toolkit.search.expression.Range
- All Implemented Interfaces:
- Clause
public class Range
- extends BaseClause
Clause that represents a range constraint. Open, half-open, and closed ranges are all supported. Values that define
the range must implement Comparable
Fields inherited from class org.terracotta.toolkit.search.expression.BaseClause |
SEP |
Constructor Summary |
Range(String attributeName,
Object min,
Object max,
boolean minInclusive,
boolean maxInclusive)
|
Methods inherited from class org.terracotta.toolkit.search.expression.BaseClause |
and, not, or |
Range
public Range(String attributeName,
Object min,
Object max,
boolean minInclusive,
boolean maxInclusive)
getMin
public Comparable getMin()
getMax
public Comparable getMax()
isMinInclusive
public boolean isMinInclusive()
isMaxInclusive
public boolean isMaxInclusive()
getAttributeName
public String getAttributeName()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2014 Terracotta, Inc.. All Rights Reserved.