1
2
3
4
5
6
7
8
9 package eu.fbk.knowledgestore.populator.naf.connection;
10
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlRootElement;
14 import javax.xml.bind.annotation.XmlSchemaType;
15 import javax.xml.bind.annotation.XmlType;
16 import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
17 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "", propOrder = {
43 "url",
44 "username",
45 "password"
46 })
47 @XmlRootElement(name = "knowledgestore.server")
48 public class KnowledgestoreServer {
49
50 @XmlSchemaType(name = "anyURI")
51 protected String url;
52 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
53 @XmlSchemaType(name = "normalizedString")
54 protected String username;
55 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
56 @XmlSchemaType(name = "normalizedString")
57 protected String password;
58
59
60
61
62
63
64
65
66
67 public String getUrl() {
68 return url;
69 }
70
71
72
73
74
75
76
77
78
79 public void setUrl(String value) {
80 this.url = value;
81 }
82
83
84
85
86
87
88
89
90
91 public String getUsername() {
92 return username;
93 }
94
95
96
97
98
99
100
101
102
103 public void setUsername(String value) {
104 this.username = value;
105 }
106
107
108
109
110
111
112
113
114
115 public String getPassword() {
116 return password;
117 }
118
119
120
121
122
123
124
125
126
127 public void setPassword(String value) {
128 this.password = value;
129 }
130
131 }