Interface SummaryDisplayOptions
@Exported
public interface SummaryDisplayOptions
-
Method Summary
Modifier and TypeMethodDescriptionintReturn the end date criteria.intReturn the number of results to be returned.Return the start date criteria.booleanReturn whether results are in ascending order.voidsetAscending(boolean ascending) Set whether results are in ascending ordervoidsetDuration(int nhours) voidsetEndDate(Date endDate) Set the end date criteriavoidsetNumResults(int numResults) Set the number results to be returnedvoidsetStartDate(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.
-