Interface SummaryDisplayOptions
@Exported
public interface SummaryDisplayOptions
-
Method Summary
Modifier and TypeMethodDescriptionint
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 ordervoid
setDuration
(int nhours) void
setEndDate
(Date endDate) Set the end date criteriavoid
setNumResults
(int numResults) Set the number results to be returnedvoid
setStartDate
(Date startDate) Set the start date criteria.
-
Method Details
-
setStartDate
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
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.
-