| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| EventParameters |
|
| 1.0;1 |
| 1 | package net.spy.digg; | |
| 2 | ||
| 3 | /** | |
| 4 | * Parameters for event queries. | |
| 5 | */ | |
| 6 | 0 | public class EventParameters extends PagingParameters { |
| 7 | ||
| 8 | private Long minDate; | |
| 9 | private Long maxDate; | |
| 10 | ||
| 11 | /** | |
| 12 | * Get the maximum timestamp. | |
| 13 | */ | |
| 14 | public Long getMaxDate() { | |
| 15 | 0 | return maxDate; |
| 16 | } | |
| 17 | ||
| 18 | /** | |
| 19 | * Set the maximum timestamp. | |
| 20 | */ | |
| 21 | public void setMaxDate(Long to) { | |
| 22 | 0 | maxDate = to; |
| 23 | 0 | } |
| 24 | ||
| 25 | /** | |
| 26 | * Get the minimum timestamp. | |
| 27 | */ | |
| 28 | public Long getMinDate() { | |
| 29 | 0 | return minDate; |
| 30 | } | |
| 31 | ||
| 32 | /** | |
| 33 | * Set the minimum timestamp. | |
| 34 | */ | |
| 35 | public void setMinDate(Long to) { | |
| 36 | 0 | minDate = to; |
| 37 | 0 | } |
| 38 | ||
| 39 | } |