|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.northwestern.at.monk.model.SearchCriterion
edu.northwestern.at.monk.model.NumericCriterion
edu.northwestern.at.monk.model.LongCriterion
public abstract class LongCriterion
A type long numeric criterion.
A long numeric criterion is a numeric criterion where the attribute value is
of type long.
Each long numeric criterion class offers constructors of the following forms, where
T is the type of the criterion:
T (long val)Creates a criterion that exactly matches
val.
T (Long val)Creates a criterion that exactly matches
val.
T (long start, long end)Creates a criterion for the range
startthroughendinclusive.
T (Long start, long end)Creates a criterion for the range
startthroughendinclusive.
T (long start, Long end)Creates a criterion for the range
startthroughendinclusive.
T (Long start, Long end)Creates a criterion for the range
startthroughendinclusive.
T (LongRange... ranges)Creates a criterion for a vararg list or array of
LongRangeranges.
T (Collection<LongRange> ranges)Creates a criterion for a collection of
LongRangeranges.
The start and/or end of a range may be null, in which case no constraint
is placed on the start and/or end. See NumericCriterion for
details and examples.
An empty or "no-op" criterion that matches any value can be constructed with a null value, with start and end values both of which are null, or with an empty array or collection of ranges.
| Method Summary | |
|---|---|
java.lang.Long |
getEnd()
Gets the end of the range. |
LongRange |
getRange()
Gets the range. |
java.util.Collection<LongRange> |
getRanges()
Gets the ranges. |
java.lang.Long |
getStart()
Gets the start of the range. |
java.lang.Long |
getValue()
Gets the value. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.util.Collection<LongRange> getRanges()
public LongRange getRange()
public java.lang.Long getStart()
public java.lang.Long getEnd()
public java.lang.Long getValue()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||