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

HookRuntimeEntity::getClassname()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
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
 * HookRuntime
19
 *
20
 * @ORM\Table(name="hook_runtime")
21
 * @ORM\Entity(repositoryClass="Zikula\Bundle\HookBundle\Dispatcher\Storage\Doctrine\Entity\Repository\HookRuntimeRepository")
22
 */
23
class HookRuntimeEntity 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="eventname", type="string", length=100, nullable=false)
66
     */
67
    private $eventname;
68
69
    /**
70
     * @var string
71
     *
72
     * @ORM\Column(name="classname", type="string", length=60, nullable=false)
73
     */
74
    private $classname;
75
76
    /**
77
     * @var string
78
     *
79
     * @ORM\Column(name="method", type="string", length=60, nullable=false)
80
     */
81
    private $method;
82
83
    /**
84
     * @var string
85
     *
86
     * @ORM\Column(name="serviceid", type="string", length=60, nullable=true)
87
     */
88
    private $serviceid;
89
90
    /**
91
     * @var integer
92
     *
93
     * @ORM\Column(name="priority", type="integer", nullable=false)
94
     */
95
    private $priority;
96
97
    /**
98
     * Get id
99
     *
100
     * @return integer
101
     */
102
    public function getId()
103
    {
104
        return $this->id;
105
    }
106
107
    /**
108
     * Set sowner
109
     *
110
     * @param string $sowner
111
     * @return HookRuntimeEntity
112
     */
113
    public function setSowner($sowner)
114
    {
115
        $this->sowner = $sowner;
116
117
        return $this;
118
    }
119
120
    /**
121
     * Get sowner
122
     *
123
     * @return string
124
     */
125
    public function getSowner()
126
    {
127
        return $this->sowner;
128
    }
129
130
    /**
131
     * Set powner
132
     *
133
     * @param string $powner
134
     * @return HookRuntimeEntity
135
     */
136
    public function setPowner($powner)
137
    {
138
        $this->powner = $powner;
139
140
        return $this;
141
    }
142
143
    /**
144
     * Get powner
145
     *
146
     * @return string
147
     */
148
    public function getPowner()
149
    {
150
        return $this->powner;
151
    }
152
153
    /**
154
     * Set sareaid
155
     *
156
     * @param integer $sareaid
157
     * @return HookRuntimeEntity
158
     */
159
    public function setSareaid($sareaid)
160
    {
161
        $this->sareaid = $sareaid;
162
163
        return $this;
164
    }
165
166
    /**
167
     * Get sareaid
168
     *
169
     * @return integer
170
     */
171
    public function getSareaid()
172
    {
173
        return $this->sareaid;
174
    }
175
176
    /**
177
     * Set pareaid
178
     *
179
     * @param integer $pareaid
180
     * @return HookRuntimeEntity
181
     */
182
    public function setPareaid($pareaid)
183
    {
184
        $this->pareaid = $pareaid;
185
186
        return $this;
187
    }
188
189
    /**
190
     * Get pareaid
191
     *
192
     * @return integer
193
     */
194
    public function getPareaid()
195
    {
196
        return $this->pareaid;
197
    }
198
199
    /**
200
     * Set eventname
201
     *
202
     * @param string $eventname
203
     * @return HookRuntimeEntity
204
     */
205
    public function setEventname($eventname)
206
    {
207
        $this->eventname = $eventname;
208
209
        return $this;
210
    }
211
212
    /**
213
     * Get eventname
214
     *
215
     * @return string
216
     */
217
    public function getEventname()
218
    {
219
        return $this->eventname;
220
    }
221
222
    /**
223
     * Set classname
224
     *
225
     * @param string $classname
226
     * @return HookRuntimeEntity
227
     */
228
    public function setClassname($classname)
229
    {
230
        $this->classname = $classname;
231
232
        return $this;
233
    }
234
235
    /**
236
     * Get classname
237
     *
238
     * @return string
239
     */
240
    public function getClassname()
241
    {
242
        return $this->classname;
243
    }
244
245
    /**
246
     * Set method
247
     *
248
     * @param string $method
249
     * @return HookRuntimeEntity
250
     */
251
    public function setMethod($method)
252
    {
253
        $this->method = $method;
254
255
        return $this;
256
    }
257
258
    /**
259
     * Get method
260
     *
261
     * @return string
262
     */
263
    public function getMethod()
264
    {
265
        return $this->method;
266
    }
267
268
    /**
269
     * Set serviceid
270
     *
271
     * @param string $serviceid
272
     * @return HookRuntimeEntity
273
     */
274
    public function setServiceid($serviceid)
275
    {
276
        $this->serviceid = $serviceid;
277
278
        return $this;
279
    }
280
281
    /**
282
     * Get serviceid
283
     *
284
     * @return string
285
     */
286
    public function getServiceid()
287
    {
288
        return $this->serviceid;
289
    }
290
291
    /**
292
     * Set priority
293
     *
294
     * @param integer $priority
295
     * @return HookRuntimeEntity
296
     */
297
    public function setPriority($priority)
298
    {
299
        $this->priority = $priority;
300
301
        return $this;
302
    }
303
304
    /**
305
     * Get priority
306
     *
307
     * @return integer
308
     */
309
    public function getPriority()
310
    {
311
        return $this->priority;
312
    }
313
}
314