1 |
45321
|
claudio.at
|
package eu.dnetlib.xml.database.exist;
|
2 |
|
|
|
3 |
|
|
import org.w3c.dom.Document;
|
4 |
|
|
|
5 |
|
|
/**
|
6 |
|
|
* Created by sandro on 3/14/16.
|
7 |
|
|
*/
|
8 |
|
|
public class ExistsTriggerEvent {
|
9 |
|
|
|
10 |
|
|
private String collection;
|
11 |
|
|
|
12 |
|
|
private String name;
|
13 |
|
|
|
14 |
|
|
private EventType eventType;
|
15 |
|
|
|
16 |
|
|
private Document document;
|
17 |
|
|
|
18 |
|
|
private Document oldDocument;
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
public String getCollection() {
|
22 |
|
|
return collection;
|
23 |
|
|
}
|
24 |
|
|
|
25 |
|
|
public void setCollection(final String collection) {
|
26 |
|
|
this.collection = collection;
|
27 |
|
|
}
|
28 |
|
|
|
29 |
|
|
public String getName() {
|
30 |
|
|
return name;
|
31 |
|
|
}
|
32 |
|
|
|
33 |
|
|
public void setName(final String name) {
|
34 |
|
|
this.name = name;
|
35 |
|
|
}
|
36 |
|
|
|
37 |
|
|
public EventType getEventType() {
|
38 |
|
|
return eventType;
|
39 |
|
|
}
|
40 |
|
|
|
41 |
|
|
public void setEventType(final EventType eventType) {
|
42 |
|
|
this.eventType = eventType;
|
43 |
|
|
}
|
44 |
|
|
|
45 |
|
|
public Document getDocument() {
|
46 |
|
|
return document;
|
47 |
|
|
}
|
48 |
|
|
|
49 |
|
|
public void setDocument(final Document document) {
|
50 |
|
|
this.document = document;
|
51 |
|
|
}
|
52 |
|
|
|
53 |
|
|
public Document getOldDocument() {
|
54 |
|
|
return oldDocument;
|
55 |
|
|
}
|
56 |
|
|
|
57 |
|
|
public void setOldDocument(final Document oldDocument) {
|
58 |
|
|
this.oldDocument = oldDocument;
|
59 |
|
|
}
|
60 |
|
|
}
|