1
2
3
4
5
6
7
8
9 package eu.fbk.dkm.premon.premonitor.verbnet;
10
11 import java.util.ArrayList;
12 import java.util.List;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlAttribute;
16 import javax.xml.bind.annotation.XmlElement;
17 import javax.xml.bind.annotation.XmlRootElement;
18 import javax.xml.bind.annotation.XmlType;
19 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
20 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
21
22
23
24
25
26 @XmlAccessorType(XmlAccessType.FIELD)
27 @XmlType(name = "", propOrder = {
28 "synrestr"
29 })
30 @XmlRootElement(name = "SYNRESTRS")
31 public class SYNRESTRS {
32
33 @XmlAttribute(name = "logic")
34 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
35 protected String logic;
36 @XmlElement(name = "SYNRESTR")
37 protected List<SYNRESTR> synrestr;
38
39
40
41
42
43
44
45
46
47 public String getLogic() {
48 return logic;
49 }
50
51
52
53
54
55
56
57
58
59 public void setLogic(String value) {
60 this.logic = value;
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 public List<SYNRESTR> getSYNRESTR() {
86 if (synrestr == null) {
87 synrestr = new ArrayList<SYNRESTR>();
88 }
89 return this.synrestr;
90 }
91
92 }