1
2
3
4
5
6
7
8
9 package eu.fbk.dkm.pikes.resources.util.semlink.vnpb;
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.XmlElement;
15 import javax.xml.bind.annotation.XmlRootElement;
16 import javax.xml.bind.annotation.XmlType;
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 = "", propOrder = {
26 "argmap"
27 })
28 @XmlRootElement(name = "predicate")
29 public class Predicate {
30
31 @XmlAttribute(name = "lemma", required = true)
32 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
33 protected String lemma;
34 @XmlElement(required = true)
35 protected Argmap argmap;
36
37
38
39
40
41
42
43
44
45 public String getLemma() {
46 return lemma;
47 }
48
49
50
51
52
53
54
55
56
57 public void setLemma(String value) {
58 this.lemma = value;
59 }
60
61
62
63
64
65
66
67
68
69 public Argmap getArgmap() {
70 return argmap;
71 }
72
73
74
75
76
77
78
79
80
81 public void setArgmap(Argmap value) {
82 this.argmap = value;
83 }
84
85 }