Interface DurationTerm

All Superinterfaces:
QueryTerm

public interface DurationTerm extends QueryTerm

A term for a Duration query.

  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the Duration in this term.

    Methods inherited from interface QueryTerm

    isPositive, isWildcard
    Modifier and Type
    Method
    Description
    boolean
    Tests if this is a positive or negative term.
    boolean
    Tests if this term is a wildcard.
  • Method Details

    • getDuration

      Duration getDuration()
      Gets the Duration in this term.
      Returns:
      the duration
      Throws:
      IllegalStateException - isWildcard() is true
      Compliance:
      mandatory - This method must be implemented.