1 package ch.busyboxes.agoo.controller.model;
2
3 import java.util.Date;
4
5 import ch.busyboxes.agoo.model.enumeration.WatchedFileState;
6
7
8
9
10
11
12
13 public class WebWatchedFile {
14
15
16 private Long id;
17
18
19 private String filename;
20
21
22 private String md5Hash;
23
24
25 private Date lastCheck;
26
27
28 private WatchedFileState watchedFileState;
29
30
31 private WebWatchedFolder watchedFolder;
32
33
34
35
36
37
38 public Long getId() {
39 return id;
40 }
41
42
43
44
45
46
47 public String getFilename() {
48 return filename;
49 }
50
51
52
53
54
55
56 public void setFilename(String filename) {
57 this.filename = filename;
58 }
59
60
61
62
63
64
65 public String getMd5Hash() {
66 return md5Hash;
67 }
68
69
70
71
72
73
74 public void setMd5Hash(String md5Hash) {
75 this.md5Hash = md5Hash;
76 }
77
78
79
80
81
82
83 public Date getLastCheck() {
84 return lastCheck;
85 }
86
87
88
89
90
91
92 public void setLastCheck(Date lastCheck) {
93 this.lastCheck = lastCheck;
94 }
95
96
97
98
99
100
101 public WebWatchedFolder getWatchedFolder() {
102 return watchedFolder;
103 }
104
105
106
107
108
109
110 public void setWatchedFolder(WebWatchedFolder watchedFolder) {
111 this.watchedFolder = watchedFolder;
112 }
113
114
115
116
117
118
119 public void setId(Long id) {
120 this.id = id;
121 }
122
123
124
125
126
127
128 public WatchedFileState getWatchedFileState() {
129 return watchedFileState;
130 }
131
132
133
134
135
136
137 public void setWatchedFileState(WatchedFileState watchedFileState) {
138 this.watchedFileState = watchedFileState;
139 }
140 }