1
2
3
4
5
6
7
8
9 package eu.fbk.dkm.pikes.resources.util.semlink.vnpb;
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.NormalizedStringAdapter;
20 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
21
22
23
24
25
26 @XmlAccessorType(XmlAccessType.FIELD)
27 @XmlType(name = "", propOrder = {
28 "role"
29 })
30 @XmlRootElement(name = "argmap")
31 public class Argmap {
32
33 @XmlAttribute(name = "pb-roleset", required = true)
34 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
35 protected String pbRoleset;
36 @XmlAttribute(name = "vn-class", required = true)
37 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
38 protected String vnClass;
39 @XmlElement(required = true)
40 protected List<Role> role;
41
42
43
44
45
46
47
48
49
50 public String getPbRoleset() {
51 return pbRoleset;
52 }
53
54
55
56
57
58
59
60
61
62 public void setPbRoleset(String value) {
63 this.pbRoleset = value;
64 }
65
66
67
68
69
70
71
72
73
74 public String getVnClass() {
75 return vnClass;
76 }
77
78
79
80
81
82
83
84
85
86 public void setVnClass(String value) {
87 this.vnClass = value;
88 }
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112 public List<Role> getRole() {
113 if (role == null) {
114 role = new ArrayList<Role>();
115 }
116 return this.role;
117 }
118
119 }