Interface SummaryDisplayOptions


@Exported public interface SummaryDisplayOptions
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    Return the end date criteria.
    int
    Return the number of results to be returned.
    Return the start date criteria.
    boolean
    Return whether results are in ascending order.
    void
    setAscending(boolean ascending)
    Set whether results are in ascending order
    void
    setDuration(int nhours)
     
    void
    setEndDate(Date endDate)
    Set the end date criteria
    void
    setNumResults(int numResults)
    Set the number results to be returned
    void
    setStartDate(Date startDate)
    Set the start date criteria.
  • Method Details

    • setStartDate

      void setStartDate(Date startDate)
      Set the start date criteria.
      Parameters:
      startDate - the start date to be set.
    • getStartDate

      Date getStartDate()
      Return the start date criteria.
      Returns:
      the start date criteria.
    • setEndDate

      void setEndDate(Date endDate)
      Set the end date criteria
      Parameters:
      endDate -
    • getEndDate

      Date getEndDate()
      Return the end date criteria.
      Returns:
      the end date criteria.
    • setAscending

      void setAscending(boolean ascending)
      Set whether results are in ascending order
      Parameters:
      ascending -
    • isAscending

      boolean isAscending()
      Return whether results are in ascending order.
      Returns:
      true if the order is ascending, false if not.
    • setNumResults

      void setNumResults(int numResults)
      Set the number results to be returned
      Parameters:
      numResults -
    • getNumResults

      int getNumResults()
      Return the number of results to be returned.
      Returns:
      the number of results to be returned.
    • setDuration

      void setDuration(int nhours)
      Parameters:
      nhours - the duration in hours.
    • getDurection

      int getDurection()
      Returns:
      the duration in hours.