1
2
3
4
5
6
7
8
9 package eu.fbk.dkm.premon.premonitor.verbnet;
10
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlAttribute;
14 import javax.xml.bind.annotation.XmlRootElement;
15 import javax.xml.bind.annotation.XmlType;
16 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
17 import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
18 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
19
20
21
22
23
24 @XmlAccessorType(XmlAccessType.FIELD)
25 @XmlType(name = "")
26 @XmlRootElement(name = "ARG")
27 public class ARG {
28
29 @XmlAttribute(name = "type", required = true)
30 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
31 protected String type;
32 @XmlAttribute(name = "value", required = true)
33 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
34 protected String value;
35
36
37
38
39
40
41
42
43
44 public String getType() {
45 return type;
46 }
47
48
49
50
51
52
53
54
55
56 public void setType(String value) {
57 this.type = value;
58 }
59
60
61
62
63
64
65
66
67
68 public String getValue() {
69 return value;
70 }
71
72
73
74
75
76
77
78
79
80 public void setValue(String value) {
81 this.value = value;
82 }
83
84 }