1 |
6029
|
leinfelder
|
package edu.ucsb.nceas.metacat.event;
|
2 |
|
|
|
3 |
|
|
public class MetacatDocumentEvent implements MetacatEvent {
|
4 |
|
|
|
5 |
|
|
private String docid;
|
6 |
|
|
private String action;
|
7 |
|
|
private String doctype;
|
8 |
|
|
private String user;
|
9 |
|
|
private String[] groups;
|
10 |
|
|
|
11 |
|
|
public MetacatDocumentEvent() {
|
12 |
|
|
}
|
13 |
|
|
|
14 |
|
|
public String getDocid() {
|
15 |
|
|
return docid;
|
16 |
|
|
}
|
17 |
|
|
|
18 |
|
|
public void setDocid(String docid) {
|
19 |
|
|
this.docid = docid;
|
20 |
|
|
}
|
21 |
|
|
|
22 |
|
|
public String getDoctype() {
|
23 |
|
|
return doctype;
|
24 |
|
|
}
|
25 |
|
|
|
26 |
|
|
public void setDoctype(String doctype) {
|
27 |
|
|
this.doctype = doctype;
|
28 |
|
|
}
|
29 |
|
|
|
30 |
|
|
public String getAction() {
|
31 |
|
|
return action;
|
32 |
|
|
}
|
33 |
|
|
|
34 |
|
|
public void setAction(String action) {
|
35 |
|
|
this.action = action;
|
36 |
|
|
}
|
37 |
|
|
|
38 |
|
|
public String getUser() {
|
39 |
|
|
return user;
|
40 |
|
|
}
|
41 |
|
|
|
42 |
|
|
public void setUser(String user) {
|
43 |
|
|
this.user = user;
|
44 |
|
|
}
|
45 |
|
|
|
46 |
|
|
public String[] getGroups() {
|
47 |
|
|
return groups;
|
48 |
|
|
}
|
49 |
|
|
|
50 |
|
|
public void setGroups(String[] groups) {
|
51 |
|
|
this.groups = groups;
|
52 |
|
|
}
|
53 |
|
|
|
54 |
|
|
}
|