-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathModelObject.java
85 lines (65 loc) · 1.69 KB
/
ModelObject.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
import java.util.Date;
public class ModelObject {
private String lockValue = "";
private Date lockExpiryTime;
private String accessToken;
private long accessToken_ttl;
private String fileId;
private boolean locked;
private String lockedBy;
private String fileLength;
public String getFileLength() {
return fileLength;
}
public void setFileLength(String fileLength) {
this.fileLength = fileLength;
}
public String getLockedBy() {
return lockedBy;
}
public void setLockedBy(String lockedBy) {
this.lockedBy = lockedBy;
}
public boolean isLocked() {
return locked;
}
public void setLocked(boolean locked) {
this.locked = locked;
}
public String getFileId() {
return fileId;
}
public void setFileId(String fileId) {
this.fileId = fileId;
}
public long getAccessToken_ttl() {
return accessToken_ttl;
}
public void setAccessToken_ttl(long accessToken_ttl) {
this.accessToken_ttl = accessToken_ttl;
}
public String getLockValue() {
return lockValue;
}
public String getAccessToken() {
return accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}
public void setLockValue(String lockValue) {
this.lockValue = lockValue;
}
public Date getLockExpiryTime() {
// if (lockExpiryTime == null) {
// lockExpiryTime = new Date();
// }
return lockExpiryTime;
}
public void setLockExpiryTime(Date lockExpiryTime) {
this.lockExpiryTime = lockExpiryTime;
}
public String toString() {
StringBuilder builder = new StringBuilder("lockValue == " + lockValue + "lockExpiryTime ==" + lockExpiryTime);
return builder.toString();
}