Interface DurationTerm
- All Superinterfaces:
QueryTerm
A term for a Duration query.
-
Method Summary
Methods inherited from interface QueryTerm
isPositive, isWildcardModifier and TypeMethodDescriptionbooleanTests if this is a positive or negative term.booleanTests if this term is a wildcard.
-
Method Details
-
getDuration
Duration getDuration()Gets theDurationin this term.- Returns:
- the duration
- Throws:
IllegalStateException-isWildcard()istrue- Compliance:
mandatory- This method must be implemented.
-