| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| Event |
|
| 1.0;1 |
| 1 | package net.spy.digg; | |
| 2 | ||
| 3 | /** | |
| 4 | * An event. | |
| 5 | */ | |
| 6 | public interface Event { | |
| 7 | ||
| 8 | /** | |
| 9 | * Get the timestamp at which this event occurred. | |
| 10 | */ | |
| 11 | long getTimestamp(); | |
| 12 | ||
| 13 | /** | |
| 14 | * Get the ID of this event. | |
| 15 | */ | |
| 16 | int getEventId(); | |
| 17 | ||
| 18 | /** | |
| 19 | * Get the status of this event. | |
| 20 | */ | |
| 21 | String getStatus(); | |
| 22 | ||
| 23 | /** | |
| 24 | * Get the ID of the story this event references. | |
| 25 | */ | |
| 26 | int getStoryId(); | |
| 27 | ||
| 28 | /** | |
| 29 | * Get the name of the user referenced by this event. | |
| 30 | */ | |
| 31 | String getUser(); | |
| 32 | ||
| 33 | } |