Passed
Pull Request — master (#123)
by Sebastian
03:15
created

PageSelectForm::getId()   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
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
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
/**
16
 * (Basket Plugin) A basket that is bound to a frontend session.
17
 *
18
 * @package TYPO3
19
 * @subpackage dlf
20
 * @access public
21
 */
22
class PageSelectForm extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
23
{
24
    /**
25
     * @var integer
26
     */
27
    protected $id;
28
29
    /**
30
     * @var string
31
     */
32
    protected $recordId;
33
34
    /**
35
     * @var string
36
     */
37
    protected $double;
38
39
    /**
40
     * @var integer
41
     */
42
    protected $page;
43
44
    /**
45
     * @return int
46
     */
47
    public function getId(): int
48
    {
49
        return $this->id;
50
    }
51
52
    /**
53
     * @param int $id
54
     */
55
    public function setId(int $id): void
56
    {
57
        $this->id = $id;
58
    }
59
60
    /**
61
     * @return string
62
     */
63
    public function getRecordId(): string
64
    {
65
        return $this->recordId;
66
    }
67
68
    /**
69
     * @param string $recordId
70
     */
71
    public function setRecordId(string $recordId): void
72
    {
73
        $this->recordId = $recordId;
74
    }
75
76
    /**
77
     * @return string
78
     */
79
    public function getDouble(): string
80
    {
81
        return $this->double;
82
    }
83
84
    /**
85
     * @param string $double
86
     */
87
    public function setDouble(string $double): void
88
    {
89
        $this->double = $double;
90
    }
91
92
    /**
93
     * @return int
94
     */
95
    public function getPage(): int
96
    {
97
        return $this->page;
98
    }
99
100
    /**
101
     * @param int $page
102
     */
103
    public function setPage(int $page): void
104
    {
105
        $this->page = $page;
106
    }
107
108
109
110
}
111