1 package dst.ass3.event.model.events;
3 import java.io.Serializable;
6 * Indicates the amount of time an IUploadEventInfo took to get from QUEUED to UPLOADED.
8 public class UploadDuration implements Serializable {
10 private static final long serialVersionUID = -6976972381929291369L;
13 private String server;
14 private long duration;
16 public UploadDuration() {
19 public UploadDuration(long eventId, String server, long duration) {
20 this.eventId = eventId;
22 this.duration = duration;
25 public long getEventId() {
29 public void setEventId(long eventId) {
30 this.eventId = eventId;
33 public String getServer() {
37 public void setServer(String server) {
41 public long getDuration() {
45 public void setDuration(long duration) {
46 this.duration = duration;
50 public String toString() {
51 return "UploadDuration{" +
52 "eventId=" + eventId +
53 ", server='" + server + '\'' +
54 ", duration=" + duration +