Class DecimalRangeTerm
java.lang.Object
net.okapia.osid.primordium.terms.spi.AbstractQueryTerm
net.okapia.osid.primordium.terms.spi.AbstractDecimalRangeTerm
net.okapia.osid.primordium.terms.DecimalRangeTerm
- All Implemented Interfaces:
QueryTerm, DecimalRangeTerm
A basic implementation of DecimalRangeTerm.
-
Constructor Summary
ConstructorsConstructorDescriptionDecimalRangeTerm(BigDecimal start, BigDecimal end, boolean match) Creates a newDecimalRangeTerm. -
Method Summary
Methods inherited from class AbstractDecimalRangeTerm
getDecimalRangeEnd, getDecimalRangeStartModifier and TypeMethodDescriptionGets the end of thedecimalrange in the term.Gets the start of thedecimalrange in the term.Methods inherited from class AbstractQueryTerm
isPositive, isWildcardModifier and TypeMethodDescriptionbooleanTests if this is a positive or negative term.booleanTests if this term is a wildcard.
-
Constructor Details
-
DecimalRangeTerm
Creates a newDecimalRangeTerm.- Parameters:
start- the decimal start rangeend- the decimal end rangematch-trueif a positive term,falsefor a negative term- Throws:
InvalidArgumentException-startis greater thanendNullArgumentException-startorendisnull
-