1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/** |
4
|
|
|
* (c) Kitodo. Key to digital objects e.V. <[email protected]> |
5
|
|
|
* |
6
|
|
|
* This file is part of the Kitodo and TYPO3 projects. |
7
|
|
|
* |
8
|
|
|
* @license GNU General Public License version 3 or later. |
9
|
|
|
* For the full copyright and license information, please read the |
10
|
|
|
* LICENSE.txt file that was distributed with this source code. |
11
|
|
|
*/ |
12
|
|
|
|
13
|
|
|
namespace Kitodo\Dlf\Domain\Model; |
14
|
|
|
|
15
|
|
|
class Library extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject |
16
|
|
|
{ |
17
|
|
|
/** |
18
|
|
|
* @var string |
19
|
|
|
*/ |
20
|
|
|
protected $label; |
21
|
|
|
|
22
|
|
|
/** |
23
|
|
|
* @var string |
24
|
|
|
*/ |
25
|
|
|
protected $indexName; |
26
|
|
|
|
27
|
|
|
/** |
28
|
|
|
* @var string |
29
|
|
|
*/ |
30
|
|
|
protected $website; |
31
|
|
|
|
32
|
|
|
/** |
33
|
|
|
* @var string |
34
|
|
|
*/ |
35
|
|
|
protected $contact; |
36
|
|
|
|
37
|
|
|
/** |
38
|
|
|
* @var string |
39
|
|
|
*/ |
40
|
|
|
protected $image; |
41
|
|
|
|
42
|
|
|
/** |
43
|
|
|
* @var string |
44
|
|
|
*/ |
45
|
|
|
protected $oaiLabel; |
46
|
|
|
|
47
|
|
|
/** |
48
|
|
|
* @var string |
49
|
|
|
*/ |
50
|
|
|
protected $oaiBase; |
51
|
|
|
|
52
|
|
|
/** |
53
|
|
|
* @var string |
54
|
|
|
*/ |
55
|
|
|
protected $opacLabel; |
56
|
|
|
|
57
|
|
|
/** |
58
|
|
|
* @var string |
59
|
|
|
*/ |
60
|
|
|
protected $opacBase; |
61
|
|
|
|
62
|
|
|
/** |
63
|
|
|
* @var string |
64
|
|
|
*/ |
65
|
|
|
protected $unionLabel; |
66
|
|
|
|
67
|
|
|
/** |
68
|
|
|
* @var string |
69
|
|
|
*/ |
70
|
|
|
protected $unionBase; |
71
|
|
|
|
72
|
|
|
/** |
73
|
|
|
* @return string |
74
|
|
|
*/ |
75
|
|
|
public function getLabel(): string |
76
|
|
|
{ |
77
|
|
|
return $this->label; |
78
|
|
|
} |
79
|
|
|
|
80
|
|
|
/** |
81
|
|
|
* @param string $label |
82
|
|
|
*/ |
83
|
|
|
public function setLabel(string $label): void |
84
|
|
|
{ |
85
|
|
|
$this->label = $label; |
86
|
|
|
} |
87
|
|
|
|
88
|
|
|
/** |
89
|
|
|
* @return string |
90
|
|
|
*/ |
91
|
|
|
public function getIndexName(): string |
92
|
|
|
{ |
93
|
|
|
return $this->indexName; |
94
|
|
|
} |
95
|
|
|
|
96
|
|
|
/** |
97
|
|
|
* @param string $indexName |
98
|
|
|
*/ |
99
|
|
|
public function setIndexName(string $indexName): void |
100
|
|
|
{ |
101
|
|
|
$this->indexName = $indexName; |
102
|
|
|
} |
103
|
|
|
|
104
|
|
|
/** |
105
|
|
|
* @return string |
106
|
|
|
*/ |
107
|
|
|
public function getWebsite(): string |
108
|
|
|
{ |
109
|
|
|
return $this->website; |
110
|
|
|
} |
111
|
|
|
|
112
|
|
|
/** |
113
|
|
|
* @param string $website |
114
|
|
|
*/ |
115
|
|
|
public function setWebsite(string $website): void |
116
|
|
|
{ |
117
|
|
|
$this->website = $website; |
118
|
|
|
} |
119
|
|
|
|
120
|
|
|
/** |
121
|
|
|
* @return string |
122
|
|
|
*/ |
123
|
|
|
public function getContact(): string |
124
|
|
|
{ |
125
|
|
|
return $this->contact; |
126
|
|
|
} |
127
|
|
|
|
128
|
|
|
/** |
129
|
|
|
* @param string $contact |
130
|
|
|
*/ |
131
|
|
|
public function setContact(string $contact): void |
132
|
|
|
{ |
133
|
|
|
$this->contact = $contact; |
134
|
|
|
} |
135
|
|
|
|
136
|
|
|
/** |
137
|
|
|
* @return string |
138
|
|
|
*/ |
139
|
|
|
public function getImage(): string |
140
|
|
|
{ |
141
|
|
|
return $this->image; |
142
|
|
|
} |
143
|
|
|
|
144
|
|
|
/** |
145
|
|
|
* @param string $image |
146
|
|
|
*/ |
147
|
|
|
public function setImage(string $image): void |
148
|
|
|
{ |
149
|
|
|
$this->image = $image; |
150
|
|
|
} |
151
|
|
|
|
152
|
|
|
/** |
153
|
|
|
* @return string |
154
|
|
|
*/ |
155
|
|
|
public function getOaiLabel(): string |
156
|
|
|
{ |
157
|
|
|
return $this->oaiLabel; |
158
|
|
|
} |
159
|
|
|
|
160
|
|
|
/** |
161
|
|
|
* @param string $oaiLabel |
162
|
|
|
*/ |
163
|
|
|
public function setOaiLabel(string $oaiLabel): void |
164
|
|
|
{ |
165
|
|
|
$this->oaiLabel = $oaiLabel; |
166
|
|
|
} |
167
|
|
|
|
168
|
|
|
/** |
169
|
|
|
* @return string |
170
|
|
|
*/ |
171
|
|
|
public function getOaiBase(): string |
172
|
|
|
{ |
173
|
|
|
return $this->oaiBase; |
174
|
|
|
} |
175
|
|
|
|
176
|
|
|
/** |
177
|
|
|
* @param string $oaiBase |
178
|
|
|
*/ |
179
|
|
|
public function setOaiBase(string $oaiBase): void |
180
|
|
|
{ |
181
|
|
|
$this->oaiBase = $oaiBase; |
182
|
|
|
} |
183
|
|
|
|
184
|
|
|
/** |
185
|
|
|
* @return string |
186
|
|
|
*/ |
187
|
|
|
public function getOpacLabel(): string |
188
|
|
|
{ |
189
|
|
|
return $this->opacLabel; |
190
|
|
|
} |
191
|
|
|
|
192
|
|
|
/** |
193
|
|
|
* @param string $opacLabel |
194
|
|
|
*/ |
195
|
|
|
public function setOpacLabel(string $opacLabel): void |
196
|
|
|
{ |
197
|
|
|
$this->opacLabel = $opacLabel; |
198
|
|
|
} |
199
|
|
|
|
200
|
|
|
/** |
201
|
|
|
* @return string |
202
|
|
|
*/ |
203
|
|
|
public function getOpacBase(): string |
204
|
|
|
{ |
205
|
|
|
return $this->opacBase; |
206
|
|
|
} |
207
|
|
|
|
208
|
|
|
/** |
209
|
|
|
* @param string $opacBase |
210
|
|
|
*/ |
211
|
|
|
public function setOpacBase(string $opacBase): void |
212
|
|
|
{ |
213
|
|
|
$this->opacBase = $opacBase; |
214
|
|
|
} |
215
|
|
|
|
216
|
|
|
/** |
217
|
|
|
* @return string |
218
|
|
|
*/ |
219
|
|
|
public function getUnionLabel(): string |
220
|
|
|
{ |
221
|
|
|
return $this->unionLabel; |
222
|
|
|
} |
223
|
|
|
|
224
|
|
|
/** |
225
|
|
|
* @param string $unionLabel |
226
|
|
|
*/ |
227
|
|
|
public function setUnionLabel(string $unionLabel): void |
228
|
|
|
{ |
229
|
|
|
$this->unionLabel = $unionLabel; |
230
|
|
|
} |
231
|
|
|
|
232
|
|
|
/** |
233
|
|
|
* @return string |
234
|
|
|
*/ |
235
|
|
|
public function getUnionBase(): string |
236
|
|
|
{ |
237
|
|
|
return $this->unionBase; |
238
|
|
|
} |
239
|
|
|
|
240
|
|
|
/** |
241
|
|
|
* @param string $unionBase |
242
|
|
|
*/ |
243
|
|
|
public function setUnionBase(string $unionBase): void |
244
|
|
|
{ |
245
|
|
|
$this->unionBase = $unionBase; |
246
|
|
|
} |
247
|
|
|
|
248
|
|
|
} |