Completed
Push — master ( 28dda4...aabe55 )
by Craig
06:13
created

HookBindingEntity::setSareaid()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 1
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
/*
4
 * This file is part of the Zikula package.
5
 *
6
 * Copyright Zikula Foundation - http://zikula.org/
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Zikula\Bundle\HookBundle\Dispatcher\Storage\Doctrine\Entity;
13
14
use Doctrine\ORM\Mapping as ORM;
15
use Zikula\Core\Doctrine\EntityAccess;
16
17
/**
18
 * HookBinding
19
 *
20
 * @ORM\Table(name="hook_binding")
21
 * @ORM\Entity(repositoryClass="Zikula\Bundle\HookBundle\Dispatcher\Storage\Doctrine\Entity\Repository\HookBindingRepository")
22
 */
23
class HookBindingEntity extends EntityAccess
24
{
25
    /**
26
     * @var integer
27
     *
28
     * @ORM\Column(name="id", type="integer", nullable=false)
29
     * @ORM\Id
30
     * @ORM\GeneratedValue(strategy="IDENTITY")
31
     */
32
    private $id;
33
34
    /**
35
     * @var string
36
     *
37
     * @ORM\Column(name="sowner", type="string", length=40, nullable=false)
38
     */
39
    private $sowner;
40
41
    /**
42
     * @var string
43
     *
44
     * @ORM\Column(name="powner", type="string", length=40, nullable=false)
45
     */
46
    private $powner;
47
48
    /**
49
     * @var integer
50
     *
51
     * @ORM\Column(name="sareaid", type="string", length=512, nullable=false)
52
     */
53
    private $sareaid;
54
55
    /**
56
     * @var integer
57
     *
58
     * @ORM\Column(name="pareaid", type="string", length=512, nullable=false)
59
     */
60
    private $pareaid;
61
62
    /**
63
     * @var string
64
     *
65
     * @ORM\Column(name="category", type="string", length=20, nullable=false)
66
     */
67
    private $category;
68
69
    /**
70
     * @var integer
71
     *
72
     * @ORM\Column(name="sortorder", type="smallint", nullable=false)
73
     */
74
    private $sortorder;
75
76
    /**
77
     * Get id
78
     *
79
     * @return integer
80
     */
81
    public function getId()
82
    {
83
        return $this->id;
84
    }
85
86
    /**
87
     * Set sowner
88
     *
89
     * @param string $sowner
90
     * @return HookBindingEntity
91
     */
92
    public function setSowner($sowner)
93
    {
94
        $this->sowner = $sowner;
95
96
        return $this;
97
    }
98
99
    /**
100
     * Get sowner
101
     *
102
     * @return string
103
     */
104
    public function getSowner()
105
    {
106
        return $this->sowner;
107
    }
108
109
    /**
110
     * Set powner
111
     *
112
     * @param string $powner
113
     * @return HookBindingEntity
114
     */
115
    public function setPowner($powner)
116
    {
117
        $this->powner = $powner;
118
119
        return $this;
120
    }
121
122
    /**
123
     * Get powner
124
     *
125
     * @return string
126
     */
127
    public function getPowner()
128
    {
129
        return $this->powner;
130
    }
131
132
    /**
133
     * Set sareaid
134
     *
135
     * @param integer $sareaid
136
     * @return HookBindingEntity
137
     */
138
    public function setSareaid($sareaid)
139
    {
140
        $this->sareaid = $sareaid;
141
142
        return $this;
143
    }
144
145
    /**
146
     * Get sareaid
147
     *
148
     * @return integer
149
     */
150
    public function getSareaid()
151
    {
152
        return $this->sareaid;
153
    }
154
155
    /**
156
     * Set pareaid
157
     *
158
     * @param integer $pareaid
159
     * @return HookBindingEntity
160
     */
161
    public function setPareaid($pareaid)
162
    {
163
        $this->pareaid = $pareaid;
164
165
        return $this;
166
    }
167
168
    /**
169
     * Get pareaid
170
     *
171
     * @return integer
172
     */
173
    public function getPareaid()
174
    {
175
        return $this->pareaid;
176
    }
177
178
    /**
179
     * Set category
180
     *
181
     * @param string $category
182
     * @return HookBindingEntity
183
     */
184
    public function setCategory($category)
185
    {
186
        $this->category = $category;
187
188
        return $this;
189
    }
190
191
    /**
192
     * Get category
193
     *
194
     * @return string
195
     */
196
    public function getCategory()
197
    {
198
        return $this->category;
199
    }
200
201
    /**
202
     * Set sortorder
203
     *
204
     * @param integer $sortorder
205
     * @return HookBindingEntity
206
     */
207
    public function setSortorder($sortorder)
208
    {
209
        $this->sortorder = $sortorder;
210
211
        return $this;
212
    }
213
214
    /**
215
     * Get sortorder
216
     *
217
     * @return integer
218
     */
219
    public function getSortorder()
220
    {
221
        return $this->sortorder;
222
    }
223
}
224