1 package org.kuali.common.util.secure;
2
3 public class RemoteFile {
4
5 String absolutePath;
6 Integer groupId;
7 Integer userId;
8 Integer permissions;
9 Long size;
10 boolean directory;
11 Status status = Status.DEFAULT_REMOTE_FILE_STATUS;
12
13 public RemoteFile() {
14 this(null);
15 }
16
17 public RemoteFile(String absolutePath) {
18 super();
19 this.absolutePath = absolutePath;
20 }
21
22 public String getAbsolutePath() {
23 return absolutePath;
24 }
25
26 public void setAbsolutePath(String absolutePath) {
27 this.absolutePath = absolutePath;
28 }
29
30 public Integer getGroupId() {
31 return groupId;
32 }
33
34 public void setGroupId(Integer groupId) {
35 this.groupId = groupId;
36 }
37
38 public Integer getUserId() {
39 return userId;
40 }
41
42 public void setUserId(Integer userId) {
43 this.userId = userId;
44 }
45
46 public Integer getPermissions() {
47 return permissions;
48 }
49
50 public void setPermissions(Integer permissions) {
51 this.permissions = permissions;
52 }
53
54 public Long getSize() {
55 return size;
56 }
57
58 public void setSize(Long size) {
59 this.size = size;
60 }
61
62 public boolean isDirectory() {
63 return directory;
64 }
65
66 public void setDirectory(boolean directory) {
67 this.directory = directory;
68 }
69
70 public Status getStatus() {
71 return status;
72 }
73
74 public void setStatus(Status status) {
75 this.status = status;
76 }
77
78 }