1 package dst.ass3.event.dto;
3 import java.io.Serializable;
5 import dst.ass3.event.model.domain.IUploadEventInfo;
6 import dst.ass3.event.model.domain.RequestType;
7 import dst.ass3.event.model.domain.UploadState;
9 public class UploadEventInfoDTO implements Serializable, IUploadEventInfo {
10 private static final long serialVersionUID = 4134104076758220138L;
12 private Long requestId;
13 private Long timestamp;
14 private UploadState state;
15 private String server;
16 private RequestType requestType;
18 public UploadEventInfoDTO(Long requestId, Long timestamp, UploadState state, String server, RequestType requestType) {
19 this.requestId = requestId;
20 this.timestamp = timestamp;
23 this.requestType = requestType;
27 public Long getRequestId() {
32 public Long getTimestamp() {
37 public UploadState getState() {
42 public String getServer() {
47 public RequestType getRequestType() {
52 public String toString() {
53 return "UploadEventInfoDTO{" +
54 "requestId=" + requestId +
55 ", timestamp=" + timestamp +
57 ", server='" + server + '\'' +
58 ", requestType=" + requestType +