CharAsset   A
last analyzed

Complexity

Total Complexity 23

Size/Duplication

Total Lines 326
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 23
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 326
rs 10

23 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A getOwnerId() 0 4 1
A getItemId() 0 4 1
A getLocationId() 0 4 1
A getTypeId() 0 4 1
A getQuantity() 0 4 1
A getRawQuantity() 0 4 1
A getFlag() 0 4 1
A isSingleton() 0 4 1
A getLeft() 0 4 1
A getRight() 0 4 1
A getLevel() 0 4 1
A setOwnerId() 0 6 1
A setItemId() 0 6 1
A setLocationId() 0 6 1
A setTypeId() 0 6 1
A setQuantity() 0 6 1
A setRawQuantity() 0 6 1
A setFlag() 0 6 1
A setSingleton() 0 6 1
A setLeft() 0 6 1
A setRight() 0 6 1
A setLevel() 0 6 1
1
<?php
2
namespace Tarioch\EveapiFetcherBundle\Entity;
3
4
use Doctrine\ORM\Mapping as ORM;
5
6
/**
7
 * @ORM\Entity
8
 * @ORM\Table(name="charAsset")
9
 */
10
class CharAsset
11
{
12
    /**
13
     * @ORM\Id @ORM\GeneratedValue @ORM\Column(name="ID", type="bigint", options={"unsigned"=true})
14
     */
15
    private $id;
16
17
    /**
18
     * @ORM\Column(name="ownerID", type="bigint", options={"unsigned"=true})
19
     */
20
    private $ownerId;
21
22
    /**
23
     * @ORM\Column(name="itemID", type="bigint", options={"unsigned"=true})
24
     */
25
    private $itemId;
26
27
    /**
28
     * @ORM\Column(name="locationID", type="bigint", options={"unsigned"=true})
29
     */
30
    private $locationId;
31
32
    /**
33
     * @ORM\Column(name="typeID", type="bigint", options={"unsigned"=true})
34
     */
35
    private $typeId;
36
37
    /**
38
     * @ORM\Column(name="quantity", type="bigint")
39
     */
40
    private $quantity;
41
42
    /**
43
     * @ORM\Column(name="rawQuantity", type="bigint", nullable=true)
44
     */
45
    private $rawQuantity;
46
47
    /**
48
     * @ORM\Column(name="flag", type="integer")
49
     */
50
    private $flag;
51
52
    /**
53
     * @ORM\Column(name="singleton", type="boolean")
54
     */
55
    private $singleton;
56
57
    /**
58
     * @ORM\Column(name="lft", type="bigint", options={"unsigned"=true})
59
     */
60
    private $left;
61
62
    /**
63
     * @ORM\Column(name="rgt", type="bigint", options={"unsigned"=true})
64
     */
65
    private $right;
66
67
    /**
68
     * @ORM\Column(name="lvl", type="bigint", options={"unsigned"=true})
69
     */
70
    private $level;
71
72
73
    /**
74
     * Get id
75
     *
76
     * @return integer
77
     */
78
    public function getId()
79
    {
80
        return $this->id;
81
    }
82
83
    /**
84
     * Set ownerId
85
     *
86
     * @param integer $ownerId
87
     * @return CorpAsset
88
     */
89
    public function setOwnerId($ownerId)
90
    {
91
        $this->ownerId = $ownerId;
92
93
        return $this;
94
    }
95
96
    /**
97
     * Get ownerId
98
     *
99
     * @return integer
100
     */
101
    public function getOwnerId()
102
    {
103
        return $this->ownerId;
104
    }
105
106
    /**
107
     * Set itemId
108
     *
109
     * @param integer $itemId
110
     * @return CorpAsset
111
     */
112
    public function setItemId($itemId)
113
    {
114
        $this->itemId = $itemId;
115
116
        return $this;
117
    }
118
119
    /**
120
     * Get itemId
121
     *
122
     * @return integer
123
     */
124
    public function getItemId()
125
    {
126
        return $this->itemId;
127
    }
128
129
    /**
130
     * Set locationId
131
     *
132
     * @param integer $locationId
133
     * @return CorpAsset
134
     */
135
    public function setLocationId($locationId)
136
    {
137
        $this->locationId = $locationId;
138
139
        return $this;
140
    }
141
142
    /**
143
     * Get locationId
144
     *
145
     * @return integer
146
     */
147
    public function getLocationId()
148
    {
149
        return $this->locationId;
150
    }
151
152
    /**
153
     * Set typeId
154
     *
155
     * @param integer $typeId
156
     * @return CorpAsset
157
     */
158
    public function setTypeId($typeId)
159
    {
160
        $this->typeId = $typeId;
161
162
        return $this;
163
    }
164
165
    /**
166
     * Get typeId
167
     *
168
     * @return integer
169
     */
170
    public function getTypeId()
171
    {
172
        return $this->typeId;
173
    }
174
175
    /**
176
     * Set quantity
177
     *
178
     * @param integer $quantity
179
     * @return CorpAsset
180
     */
181
    public function setQuantity($quantity)
182
    {
183
        $this->quantity = $quantity;
184
185
        return $this;
186
    }
187
188
    /**
189
     * Get quantity
190
     *
191
     * @return integer
192
     */
193
    public function getQuantity()
194
    {
195
        return $this->quantity;
196
    }
197
198
    /**
199
     * Set rawQuantity
200
     *
201
     * @param integer $rawQuantity
202
     * @return CorpAsset
203
     */
204
    public function setRawQuantity($rawQuantity)
205
    {
206
        $this->rawQuantity = $rawQuantity;
207
208
        return $this;
209
    }
210
211
    /**
212
     * Get rawQuantity
213
     *
214
     * @return integer
215
     */
216
    public function getRawQuantity()
217
    {
218
        return $this->rawQuantity;
219
    }
220
221
    /**
222
     * Set flag
223
     *
224
     * @param integer $flag
225
     * @return CorpAsset
226
     */
227
    public function setFlag($flag)
228
    {
229
        $this->flag = $flag;
230
231
        return $this;
232
    }
233
234
    /**
235
     * Get flag
236
     *
237
     * @return integer
238
     */
239
    public function getFlag()
240
    {
241
        return $this->flag;
242
    }
243
244
    /**
245
     * Set singleton
246
     *
247
     * @param boolean $singleton
248
     * @return CorpAsset
249
     */
250
    public function setSingleton($singleton)
251
    {
252
        $this->singleton = $singleton;
253
254
        return $this;
255
    }
256
257
    /**
258
     * Get singleton
259
     *
260
     * @return boolean
261
     */
262
    public function isSingleton()
263
    {
264
        return $this->singleton;
265
    }
266
267
    /**
268
     * Set left
269
     *
270
     * @param integer $left
271
     * @return CorpAsset
272
     */
273
    public function setLeft($left)
274
    {
275
        $this->left = $left;
276
277
        return $this;
278
    }
279
280
    /**
281
     * Get left
282
     *
283
     * @return integer
284
     */
285
    public function getLeft()
286
    {
287
        return $this->left;
288
    }
289
290
    /**
291
     * Set right
292
     *
293
     * @param integer $right
294
     * @return CorpAsset
295
     */
296
    public function setRight($right)
297
    {
298
        $this->right = $right;
299
300
        return $this;
301
    }
302
303
    /**
304
     * Get right
305
     *
306
     * @return integer
307
     */
308
    public function getRight()
309
    {
310
        return $this->right;
311
    }
312
313
    /**
314
     * Set level
315
     *
316
     * @param integer $level
317
     * @return CorpAsset
318
     */
319
    public function setLevel($level)
320
    {
321
        $this->level = $level;
322
323
        return $this;
324
    }
325
326
    /**
327
     * Get level
328
     *
329
     * @return integer
330
     */
331
    public function getLevel()
332
    {
333
        return $this->level;
334
    }
335
}
336