Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Pull Request — dev-extbase-fluid (#723)
by
unknown
02:46
created

Document::setTerms()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 1
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 Document extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject
16
{
17
18
    /**
19
     * @var string
20
     */
21
    protected $title;
22
23
    /**
24
     * @var string
25
     */
26
    protected $prod_id;
27
28
    /**
29
     * @var string
30
     */
31
    protected $location;
32
33
    /**
34
     * @var string
35
     */
36
    protected $record_id;
37
38
    /**
39
     * @var string
40
     */
41
    protected $opac_id;
42
43
    /**
44
     * @var string
45
     */
46
    protected $union_id;
47
48
    /**
49
     * @var string
50
     */
51
    protected $urn;
52
53
    /**
54
     * @var string
55
     */
56
    protected $purl;
57
58
    /**
59
     * @var string
60
     */
61
    protected $title_sorting;
62
63
    /**
64
     * @var string
65
     */
66
    protected $author;
67
68
    /**
69
     * @var string
70
     */
71
    protected $year;
72
73
    /**
74
     * @var string
75
     */
76
    protected $place;
77
78
    /**
79
     * @var string
80
     */
81
    protected $thumbnail;
82
83
    /**
84
     * @var string
85
     */
86
    protected $metadata;
87
88
    /**
89
     * @var string
90
     */
91
    protected $metadata_sorting;
92
93
    /**
94
     * @var int
95
     */
96
    protected $structure;
97
98
    /**
99
     * @var int
100
     */
101
    protected $partof;
102
103
    /**
104
     * @var string
105
     */
106
    protected $volume;
107
108
    /**
109
     * @var string
110
     */
111
    protected $volume_sorting;
112
113
    /**
114
     * @var string
115
     */
116
    protected $license;
117
118
    /**
119
     * @var string
120
     */
121
    protected $terms;
122
123
    /**
124
     * @var string
125
     */
126
    protected $restrictions;
127
128
    /**
129
     * @var string
130
     */
131
    protected $out_of_print;
132
133
    /**
134
     * @var string
135
     */
136
    protected $rights_info;
137
138
    /**
139
     * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\Kitodo\Dlf\Domain\Model\Collection>
140
     */
141
    protected $collections = null;
142
143
    /**
144
     * @var string
145
     */
146
    protected $mets_label;
147
148
    /**
149
     * @var string
150
     */
151
    protected $mets_orderlabel;
152
153
    /**
154
     * @var int
155
     */
156
    protected $owner;
157
158
    /**
159
     * @var int
160
     */
161
    protected $solrcore;
162
163
    /**
164
     * @var int
165
     */
166
    protected $status;
167
168
    /**
169
     * @var string
170
     */
171
    protected $document_format;
172
173
    /**
174
     * @return string
175
     */
176
    public function getTitle(): string
177
    {
178
        return $this->title;
179
    }
180
181
    /**
182
     * @param string $title
183
     */
184
    public function setTitle(string $title): void
185
    {
186
        $this->title = $title;
187
    }
188
189
    /**
190
     * @return string
191
     */
192
    public function getProdId(): string
193
    {
194
        return $this->prod_id;
195
    }
196
197
    /**
198
     * @param string $prod_id
199
     */
200
    public function setProdId(string $prod_id): void
201
    {
202
        $this->prod_id = $prod_id;
203
    }
204
205
    /**
206
     * @return string
207
     */
208
    public function getLocation(): string
209
    {
210
        return $this->location;
211
    }
212
213
    /**
214
     * @param string $location
215
     */
216
    public function setLocation(string $location): void
217
    {
218
        $this->location = $location;
219
    }
220
221
    /**
222
     * @return string
223
     */
224
    public function getRecordId(): string
225
    {
226
        return $this->record_id;
227
    }
228
229
    /**
230
     * @param string $record_id
231
     */
232
    public function setRecordId(string $record_id): void
233
    {
234
        $this->record_id = $record_id;
235
    }
236
237
    /**
238
     * @return string
239
     */
240
    public function getOpacId(): string
241
    {
242
        return $this->opac_id;
243
    }
244
245
    /**
246
     * @param string $opac_id
247
     */
248
    public function setOpacId(string $opac_id): void
249
    {
250
        $this->opac_id = $opac_id;
251
    }
252
253
    /**
254
     * @return string
255
     */
256
    public function getUnionId(): string
257
    {
258
        return $this->union_id;
259
    }
260
261
    /**
262
     * @param string $union_id
263
     */
264
    public function setUnionId(string $union_id): void
265
    {
266
        $this->union_id = $union_id;
267
    }
268
269
    /**
270
     * @return string
271
     */
272
    public function getUrn(): string
273
    {
274
        return $this->urn;
275
    }
276
277
    /**
278
     * @param string $urn
279
     */
280
    public function setUrn(string $urn): void
281
    {
282
        $this->urn = $urn;
283
    }
284
285
    /**
286
     * @return string
287
     */
288
    public function getPurl(): string
289
    {
290
        return $this->purl;
291
    }
292
293
    /**
294
     * @param string $purl
295
     */
296
    public function setPurl(string $purl): void
297
    {
298
        $this->purl = $purl;
299
    }
300
301
    /**
302
     * @return string
303
     */
304
    public function getTitleSorting(): string
305
    {
306
        return $this->title_sorting;
307
    }
308
309
    /**
310
     * @param string $title_sorting
311
     */
312
    public function setTitleSorting(string $title_sorting): void
313
    {
314
        $this->title_sorting = $title_sorting;
315
    }
316
317
    /**
318
     * @return string
319
     */
320
    public function getAuthor(): string
321
    {
322
        return $this->author;
323
    }
324
325
    /**
326
     * @param string $author
327
     */
328
    public function setAuthor(string $author): void
329
    {
330
        $this->author = $author;
331
    }
332
333
    /**
334
     * @return string
335
     */
336
    public function getYear(): string
337
    {
338
        return $this->year;
339
    }
340
341
    /**
342
     * @param string $year
343
     */
344
    public function setYear(string $year): void
345
    {
346
        $this->year = $year;
347
    }
348
349
    /**
350
     * @return string
351
     */
352
    public function getPlace(): string
353
    {
354
        return $this->place;
355
    }
356
357
    /**
358
     * @param string $place
359
     */
360
    public function setPlace(string $place): void
361
    {
362
        $this->place = $place;
363
    }
364
365
    /**
366
     * @return string
367
     */
368
    public function getThumbnail(): string
369
    {
370
        return $this->thumbnail;
371
    }
372
373
    /**
374
     * @param string $thumbnail
375
     */
376
    public function setThumbnail(string $thumbnail): void
377
    {
378
        $this->thumbnail = $thumbnail;
379
    }
380
381
    /**
382
     * @return string
383
     */
384
    public function getMetadata(): string
385
    {
386
        return $this->metadata;
387
    }
388
389
    /**
390
     * @param string $metadata
391
     */
392
    public function setMetadata(string $metadata): void
393
    {
394
        $this->metadata = $metadata;
395
    }
396
397
    /**
398
     * @return string
399
     */
400
    public function getMetadataSorting(): string
401
    {
402
        return $this->metadata_sorting;
403
    }
404
405
    /**
406
     * @param string $metadata_sorting
407
     */
408
    public function setMetadataSorting(string $metadata_sorting): void
409
    {
410
        $this->metadata_sorting = $metadata_sorting;
411
    }
412
413
    /**
414
     * @return int
415
     */
416
    public function getStructure(): int
417
    {
418
        return $this->structure;
419
    }
420
421
    /**
422
     * @param int $structure
423
     */
424
    public function setStructure(int $structure): void
425
    {
426
        $this->structure = $structure;
427
    }
428
429
    /**
430
     * @return int
431
     */
432
    public function getPartof(): int
433
    {
434
        return $this->partof;
435
    }
436
437
    /**
438
     * @param int $partof
439
     */
440
    public function setPartof(int $partof): void
441
    {
442
        $this->partof = $partof;
443
    }
444
445
    /**
446
     * @return string
447
     */
448
    public function getVolume(): string
449
    {
450
        return $this->volume;
451
    }
452
453
    /**
454
     * @param string $volume
455
     */
456
    public function setVolume(string $volume): void
457
    {
458
        $this->volume = $volume;
459
    }
460
461
    /**
462
     * @return string
463
     */
464
    public function getVolumeSorting(): string
465
    {
466
        return $this->volume_sorting;
467
    }
468
469
    /**
470
     * @param string $volume_sorting
471
     */
472
    public function setVolumeSorting(string $volume_sorting): void
473
    {
474
        $this->volume_sorting = $volume_sorting;
475
    }
476
477
    /**
478
     * @return string
479
     */
480
    public function getLicense(): string
481
    {
482
        return $this->license;
483
    }
484
485
    /**
486
     * @param string $license
487
     */
488
    public function setLicense(string $license): void
489
    {
490
        $this->license = $license;
491
    }
492
493
    /**
494
     * @return string
495
     */
496
    public function getTerms(): string
497
    {
498
        return $this->terms;
499
    }
500
501
    /**
502
     * @param string $terms
503
     */
504
    public function setTerms(string $terms): void
505
    {
506
        $this->terms = $terms;
507
    }
508
509
    /**
510
     * @return string
511
     */
512
    public function getRestrictions(): string
513
    {
514
        return $this->restrictions;
515
    }
516
517
    /**
518
     * @param string $restrictions
519
     */
520
    public function setRestrictions(string $restrictions): void
521
    {
522
        $this->restrictions = $restrictions;
523
    }
524
525
    /**
526
     * @return string
527
     */
528
    public function getOutOfPrint(): string
529
    {
530
        return $this->out_of_print;
531
    }
532
533
    /**
534
     * @param string $out_of_print
535
     */
536
    public function setOutOfPrint(string $out_of_print): void
537
    {
538
        $this->out_of_print = $out_of_print;
539
    }
540
541
    /**
542
     * @return string
543
     */
544
    public function getRightsInfo(): string
545
    {
546
        return $this->rights_info;
547
    }
548
549
    /**
550
     * @param string $rights_info
551
     */
552
    public function setRightsInfo(string $rights_info): void
553
    {
554
        $this->rights_info = $rights_info;
555
    }
556
557
    /**
558
     * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage
559
     */
560
    public function getCollections(): ?\TYPO3\CMS\Extbase\Persistence\ObjectStorage
561
    {
562
        return $this->collections;
563
    }
564
565
    /**
566
     * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $collections
567
     */
568
    public function setCollections(?\TYPO3\CMS\Extbase\Persistence\ObjectStorage $collections): void
569
    {
570
        $this->collections = $collections;
571
    }
572
573
    /**
574
     * @return string
575
     */
576
    public function getMetsLabel(): string
577
    {
578
        return $this->mets_label;
579
    }
580
581
    /**
582
     * @param string $mets_label
583
     */
584
    public function setMetsLabel(string $mets_label): void
585
    {
586
        $this->mets_label = $mets_label;
587
    }
588
589
    /**
590
     * @return string
591
     */
592
    public function getMetsOrderlabel(): string
593
    {
594
        return $this->mets_orderlabel;
595
    }
596
597
    /**
598
     * @param string $mets_orderlabel
599
     */
600
    public function setMetsOrderlabel(string $mets_orderlabel): void
601
    {
602
        $this->mets_orderlabel = $mets_orderlabel;
603
    }
604
605
    /**
606
     * @return int
607
     */
608
    public function getOwner(): int
609
    {
610
        return $this->owner;
611
    }
612
613
    /**
614
     * @param int $owner
615
     */
616
    public function setOwner(int $owner): void
617
    {
618
        $this->owner = $owner;
619
    }
620
621
    /**
622
     * @return int
623
     */
624
    public function getSolrcore(): int
625
    {
626
        return $this->solrcore;
627
    }
628
629
    /**
630
     * @param int $solrcore
631
     */
632
    public function setSolrcore(int $solrcore): void
633
    {
634
        $this->solrcore = $solrcore;
635
    }
636
637
    /**
638
     * @return int
639
     */
640
    public function getStatus(): int
641
    {
642
        return $this->status;
643
    }
644
645
    /**
646
     * @param int $status
647
     */
648
    public function setStatus(int $status): void
649
    {
650
        $this->status = $status;
651
    }
652
653
    /**
654
     * @return string
655
     */
656
    public function getDocumentFormat(): string
657
    {
658
        return $this->document_format;
659
    }
660
661
    /**
662
     * @param string $document_format
663
     */
664
    public function setDocumentFormat(string $document_format): void
665
    {
666
        $this->document_format = $document_format;
667
    }
668
669
670
}