CharPlanetaryPin   A
last analyzed

Complexity

Total Complexity 33

Size/Duplication

Total Lines 468
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 33
lcom 0
cbo 0
dl 0
loc 468
rs 9.3999
c 2
b 0
f 0

33 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A getOwnerId() 0 4 1
A getPlanetId() 0 4 1
A getPinId() 0 4 1
A getTypeId() 0 4 1
A getTypeName() 0 4 1
A getSchematicId() 0 4 1
A getLastLaunchTime() 0 4 1
A getCycleTime() 0 4 1
A getQuantityPerCycle() 0 4 1
A getInstallTime() 0 4 1
A getExpiryTime() 0 4 1
A getContentTypeId() 0 4 1
A getContentTypeName() 0 4 1
A getContentQuantity() 0 4 1
A getLongitude() 0 4 1
A getLatitude() 0 4 1
A setOwnerId() 0 6 1
A setPlanetId() 0 6 1
A setPinId() 0 6 1
A setTypeId() 0 6 1
A setTypeName() 0 6 1
A setSchematicId() 0 6 1
A setLastLaunchTime() 0 6 1
A setCycleTime() 0 6 1
A setQuantityPerCycle() 0 6 1
A setInstallTime() 0 6 1
A setExpiryTime() 0 6 1
A setContentTypeId() 0 6 1
A setContentTypeName() 0 6 1
A setContentQuantity() 0 6 1
A setLongitude() 0 6 1
A setLatitude() 0 6 1
1
<?php
2
3
namespace Tarioch\EveapiFetcherBundle\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
7
/**
8
 * @ORM\Entity
9
 * @ORM\Table(name="charPlanetaryPin", indexes={
10
 *     @ORM\Index(name="owner", columns={"ownerID"})}, uniqueConstraints={
11
 *     @ORM\UniqueConstraint(name="entry_owner", columns={"pinId", "ownerId", "planetId", "contentTypeId"})
12
 * })
13
 */
14
class CharPlanetaryPin
15
{
16
    /**
17
     * @ORM\Id @ORM\GeneratedValue @ORM\Column(name="ID", type="bigint", options={"unsigned"=true})
18
     */
19
    private $id;
20
21
    /**
22
     * @ORM\Column(name="ownerID", type="bigint", options={"unsigned"=true})
23
     */
24
    private $ownerId;
25
26
    /**
27
     * @ORM\Column(name="planetID", type="bigint", options={"unsigned"=true})
28
     */
29
    private $planetId;
30
31
    /**
32
     * @ORM\Column(name="pinID", type="bigint", options={"unsigned"=true})
33
     */
34
    private $pinId;
35
36
    /**
37
     * @ORM\Column(name="typeID", type="bigint", options={"unsigned"=true})
38
     */
39
    private $typeId;
40
41
    /**
42
     * @ORM\Column(name="typeName", type="string")
43
     */
44
    private $typeName;
45
46
    /**
47
     * @ORM\Column(name="schematicID", type="bigint", options={"unsigned"=true})
48
     */
49
    private $schematicId;
50
51
    /**
52
     * @var \DateTime
53
     * @ORM\Column(name="lastLaunchTime", type="datetime")
54
     */
55
    private $lastLaunchTime;
56
57
    /**
58
     * @ORM\Column(name="cycleTime", type="bigint", options={"unsigned"=true})
59
     */
60
    private $cycleTime;
61
62
    /**
63
     * @ORM\Column(name="quantityPerCycle", type="bigint", options={"unsigned"=true})
64
     */
65
    private $quantityPerCycle;
66
67
    /**
68
     * @var \DateTime
69
     * @ORM\Column(name="installTime", type="datetime")
70
     */
71
    private $installTime;
72
73
    /**
74
     * @var \DateTime
75
     * @ORM\Column(name="expiryTime", type="datetime")
76
     */
77
    private $expiryTime;
78
79
    /**
80
     * @ORM\Column(name="contentTypeID", type="bigint", options={"unsigned"=true})
81
     */
82
    private $contentTypeId;
83
84
    /**
85
     * @ORM\Column(name="contentTypeName", type="string")
86
     */
87
    private $contentTypeName;
88
89
    /**
90
     * @ORM\Column(name="contentQuantity", type="bigint", options={"unsigned"=true})
91
     */
92
    private $contentQuantity;
93
    
94
    /**
95
     * @ORM\Column(name="longitude", type="float")
96
     */
97
    private $longitude;
98
    
99
    /**
100
     * @ORM\Column(name="latitude", type="float")
101
     */
102
    private $latitude;
103
104
    /**
105
     * Get id
106
     *
107
     * @return integer
108
     */
109
    public function getId()
110
    {
111
        return $this->id;
112
    }
113
114
    /**
115
     * Set ownerId
116
     *
117
     * @param integer $ownerId
118
     * @return CharPlanetaryPin
119
     */
120
    public function setOwnerId($ownerId)
121
    {
122
        $this->ownerId = $ownerId;
123
    
124
        return $this;
125
    }
126
127
    /**
128
     * Get ownerId
129
     *
130
     * @return integer
131
     */
132
    public function getOwnerId()
133
    {
134
        return $this->ownerId;
135
    }
136
137
    /**
138
     * Set planetId
139
     *
140
     * @param integer $planetId
141
     * @return CharPlanetaryColony
142
     */
143
    public function setPlanetId($planetId)
144
    {
145
        $this->planetId = $planetId;
146
    
147
        return $this;
148
    }
149
150
    /**
151
     * Get planetId
152
     *
153
     * @return integer
154
     */
155
    public function getPlanetId()
156
    {
157
        return $this->planetId;
158
    }
159
160
    /**
161
     * Set pinId
162
     *
163
     * @param integer $pinId
164
     * @return CharPlanetaryPin
165
     */
166
    public function setPinId($pinId)
167
    {
168
        $this->pinId = $pinId;
169
    
170
        return $this;
171
    }
172
173
    /**
174
     * Get pinId
175
     *
176
     * @return integer
177
     */
178
    public function getPinId()
179
    {
180
        return $this->pinId;
181
    }
182
183
    /**
184
     * Set typeId
185
     *
186
     * @param integer $typeId
187
     * @return CharPlanetaryPin
188
     */
189
    public function setTypeId($typeId)
190
    {
191
        $this->typeId = $typeId;
192
    
193
        return $this;
194
    }
195
196
    /**
197
     * Get typeId
198
     *
199
     * @return integer
200
     */
201
    public function getTypeId()
202
    {
203
        return $this->typeId;
204
    }
205
206
    /**
207
     * Set typeName
208
     *
209
     * @param string $typeName
210
     * @return CharPlanetaryPin
211
     */
212
    public function setTypeName($typeName)
213
    {
214
        $this->typeName = $typeName;
215
    
216
        return $this;
217
    }
218
219
    /**
220
     * Get typeName
221
     *
222
     * @return string
223
     */
224
    public function getTypeName()
225
    {
226
        return $this->typeName;
227
    }
228
229
    /**
230
     * Set schematicId
231
     *
232
     * @param integer $schematicId
233
     * @return CharPlanetaryPin
234
     */
235
    public function setSchematicId($schematicId)
236
    {
237
        $this->schematicId = $schematicId;
238
    
239
        return $this;
240
    }
241
242
    /**
243
     * Get schematicId
244
     *
245
     * @return integer
246
     */
247
    public function getSchematicId()
248
    {
249
        return $this->schematicId;
250
    }
251
252
    /**
253
     * Set lastLaunchTime
254
     *
255
     * @param \DateTime $lastLaunchTime
256
     * @return CharPlanetaryPin
257
     */
258
    public function setLastLaunchTime($lastLaunchTime)
259
    {
260
        $this->lastLaunchTime = $lastLaunchTime;
261
    
262
        return $this;
263
    }
264
265
    /**
266
     * Get lastLaunchTime
267
     *
268
     * @return \DateTime
269
     */
270
    public function getLastLaunchTime()
271
    {
272
        return $this->lastLaunchTime;
273
    }
274
275
    /**
276
     * Set cycleTime
277
     *
278
     * @param integer $cycleTime
279
     * @return CharPlanetaryPin
280
     */
281
    public function setCycleTime($cycleTime)
282
    {
283
        $this->cycleTime = $cycleTime;
284
    
285
        return $this;
286
    }
287
288
    /**
289
     * Get cycleTime
290
     *
291
     * @return integer
292
     */
293
    public function getCycleTime()
294
    {
295
        return $this->cycleTime;
296
    }
297
298
    /**
299
     * Set quantityPerCycle
300
     *
301
     * @param integer $quantityPerCycle
302
     * @return CharPlanetaryPin
303
     */
304
    public function setQuantityPerCycle($quantityPerCycle)
305
    {
306
        $this->quantityPerCycle = $quantityPerCycle;
307
    
308
        return $this;
309
    }
310
311
    /**
312
     * Get quantityPerCycle
313
     *
314
     * @return integer
315
     */
316
    public function getQuantityPerCycle()
317
    {
318
        return $this->quantityPerCycle;
319
    }
320
321
    /**
322
     * Set installTime
323
     *
324
     * @param \DateTime $installTime
325
     * @return CharPlanetaryPin
326
     */
327
    public function setInstallTime($installTime)
328
    {
329
        $this->installTime = $installTime;
330
    
331
        return $this;
332
    }
333
334
    /**
335
     * Get installTime
336
     *
337
     * @return \DateTime
338
     */
339
    public function getInstallTime()
340
    {
341
        return $this->installTime;
342
    }
343
344
    /**
345
     * Set expiryTime
346
     *
347
     * @param \DateTime $expiryTime
348
     * @return CharPlanetaryPin
349
     */
350
    public function setExpiryTime($expiryTime)
351
    {
352
        $this->expiryTime = $expiryTime;
353
    
354
        return $this;
355
    }
356
357
    /**
358
     * Get expiryTime
359
     *
360
     * @return \DateTime
361
     */
362
    public function getExpiryTime()
363
    {
364
        return $this->expiryTime;
365
    }
366
367
    /**
368
     * Set contentTypeId
369
     *
370
     * @param integer $contentTypeId
371
     * @return CharPlanetaryPin
372
     */
373
    public function setContentTypeId($contentTypeId)
374
    {
375
        $this->contentTypeId = $contentTypeId;
376
    
377
        return $this;
378
    }
379
380
    /**
381
     * Get contentTypeId
382
     *
383
     * @return integer
384
     */
385
    public function getContentTypeId()
386
    {
387
        return $this->contentTypeId;
388
    }
389
390
    /**
391
     * Set contentTypeName
392
     *
393
     * @param string $contentTypeName
394
     * @return CharPlanetaryPin
395
     */
396
    public function setContentTypeName($contentTypeName)
397
    {
398
        $this->contentTypeName = $contentTypeName;
399
    
400
        return $this;
401
    }
402
403
    /**
404
     * Get contentTypeName
405
     *
406
     * @return string
407
     */
408
    public function getContentTypeName()
409
    {
410
        return $this->contentTypeName;
411
    }
412
413
    /**
414
     * Set contentQuantity
415
     *
416
     * @param integer $contentQuantity
417
     * @return CharPlanetaryPin
418
     */
419
    public function setContentQuantity($contentQuantity)
420
    {
421
        $this->contentQuantity = $contentQuantity;
422
    
423
        return $this;
424
    }
425
426
    /**
427
     * Get contentQuantity
428
     *
429
     * @return integer
430
     */
431
    public function getContentQuantity()
432
    {
433
        return $this->contentQuantity;
434
    }
435
436
    /**
437
     * Set longitude
438
     *
439
     * @param float $longitude
440
     * @return CharPlanetaryPin
441
     */
442
    public function setLongitude($longitude)
443
    {
444
        $this->longitude = $longitude;
445
    
446
        return $this;
447
    }
448
449
    /**
450
     * Get longitude
451
     *
452
     * @return float
453
     */
454
    public function getLongitude()
455
    {
456
        return $this->longitude;
457
    }
458
459
    /**
460
     * Set latitude
461
     *
462
     * @param float $latitude
463
     * @return CharPlanetaryPin
464
     */
465
    public function setLatitude($latitude)
466
    {
467
        $this->latitude = $latitude;
468
    
469
        return $this;
470
    }
471
472
    /**
473
     * Get latitude
474
     *
475
     * @return float
476
     */
477
    public function getLatitude()
478
    {
479
        return $this->latitude;
480
    }
481
}
482