Perceel::__construct()   B
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 28
Code Lines 26

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 26
nc 1
nop 25
dl 0
loc 28
rs 8.8571
c 0
b 0
f 0

How to fix   Many Parameters   

Many Parameters

Methods with many parameters are not only hard to understand, but their parameters also often become inconsistent when you need more, or different data.

There are several approaches to avoid long parameter lists:

1
<?php
2
3
namespace Webservices\StructType;
4
5
use \WsdlToPhp\PackageBase\AbstractStructBase;
6
7
/**
8
 * This class stands for Perceel StructType
9
 * @subpackage Structs
10
 * @author JCID <[email protected]>
11
 */
12
class Perceel extends AbstractStructBase
13
{
14
    /**
15
     * The perceelid
16
     * @var int
17
     */
18
    public $perceelid;
19
    /**
20
     * The huisnr
21
     * @var int
22
     */
23
    public $huisnr;
24
    /**
25
     * The huisnr_toevoeging
26
     * @var string
27
     */
28
    public $huisnr_toevoeging;
29
    /**
30
     * The perceelnummer
31
     * @var int
32
     */
33
    public $perceelnummer;
34
    /**
35
     * The reeksid
36
     * @var int
37
     */
38
    public $reeksid;
39
    /**
40
     * The huisnr_van
41
     * @var int
42
     */
43
    public $huisnr_van;
44
    /**
45
     * The huisnr_tm
46
     * @var int
47
     */
48
    public $huisnr_tm;
49
    /**
50
     * The wijkcode
51
     * @var string
52
     */
53
    public $wijkcode;
54
    /**
55
     * The lettercombinatie
56
     * @var string
57
     */
58
    public $lettercombinatie;
59
    /**
60
     * The reeksindicatie
61
     * @var string
62
     */
63
    public $reeksindicatie;
64
    /**
65
     * The straatid
66
     * @var int
67
     */
68
    public $straatid;
69
    /**
70
     * The straatnaam
71
     * @var string
72
     */
73
    public $straatnaam;
74
    /**
75
     * The straatnaam_nen
76
     * @var string
77
     */
78
    public $straatnaam_nen;
79
    /**
80
     * The straatnaam_ptt
81
     * @var string
82
     */
83
    public $straatnaam_ptt;
84
    /**
85
     * The straatnaam_extract
86
     * @var string
87
     */
88
    public $straatnaam_extract;
89
    /**
90
     * The plaatsid
91
     * @var int
92
     */
93
    public $plaatsid;
94
    /**
95
     * The plaatsnaam
96
     * @var string
97
     */
98
    public $plaatsnaam;
99
    /**
100
     * The plaatsnaam_ptt
101
     * @var string
102
     */
103
    public $plaatsnaam_ptt;
104
    /**
105
     * The plaatsnaam_extract
106
     * @var string
107
     */
108
    public $plaatsnaam_extract;
109
    /**
110
     * The gemeenteid
111
     * @var int
112
     */
113
    public $gemeenteid;
114
    /**
115
     * The gemeentenaam
116
     * @var string
117
     */
118
    public $gemeentenaam;
119
    /**
120
     * The gemeentecode
121
     * @var int
122
     */
123
    public $gemeentecode;
124
    /**
125
     * The cebucocode
126
     * @var int
127
     */
128
    public $cebucocode;
129
    /**
130
     * The provinciecode
131
     * @var string
132
     */
133
    public $provinciecode;
134
    /**
135
     * The provincienaam
136
     * @var string
137
     */
138
    public $provincienaam;
139
    /**
140
     * Constructor method for Perceel
141
     * @uses Perceel::setPerceelid()
142
     * @uses Perceel::setHuisnr()
143
     * @uses Perceel::setHuisnr_toevoeging()
144
     * @uses Perceel::setPerceelnummer()
145
     * @uses Perceel::setReeksid()
146
     * @uses Perceel::setHuisnr_van()
147
     * @uses Perceel::setHuisnr_tm()
148
     * @uses Perceel::setWijkcode()
149
     * @uses Perceel::setLettercombinatie()
150
     * @uses Perceel::setReeksindicatie()
151
     * @uses Perceel::setStraatid()
152
     * @uses Perceel::setStraatnaam()
153
     * @uses Perceel::setStraatnaam_nen()
154
     * @uses Perceel::setStraatnaam_ptt()
155
     * @uses Perceel::setStraatnaam_extract()
156
     * @uses Perceel::setPlaatsid()
157
     * @uses Perceel::setPlaatsnaam()
158
     * @uses Perceel::setPlaatsnaam_ptt()
159
     * @uses Perceel::setPlaatsnaam_extract()
160
     * @uses Perceel::setGemeenteid()
161
     * @uses Perceel::setGemeentenaam()
162
     * @uses Perceel::setGemeentecode()
163
     * @uses Perceel::setCebucocode()
164
     * @uses Perceel::setProvinciecode()
165
     * @uses Perceel::setProvincienaam()
166
     * @param int $perceelid
167
     * @param int $huisnr
168
     * @param string $huisnr_toevoeging
169
     * @param int $perceelnummer
170
     * @param int $reeksid
171
     * @param int $huisnr_van
172
     * @param int $huisnr_tm
173
     * @param string $wijkcode
174
     * @param string $lettercombinatie
175
     * @param string $reeksindicatie
176
     * @param int $straatid
177
     * @param string $straatnaam
178
     * @param string $straatnaam_nen
179
     * @param string $straatnaam_ptt
180
     * @param string $straatnaam_extract
181
     * @param int $plaatsid
182
     * @param string $plaatsnaam
183
     * @param string $plaatsnaam_ptt
184
     * @param string $plaatsnaam_extract
185
     * @param int $gemeenteid
186
     * @param string $gemeentenaam
187
     * @param int $gemeentecode
188
     * @param int $cebucocode
189
     * @param string $provinciecode
190
     * @param string $provincienaam
191
     */
192
    public function __construct($perceelid = null, $huisnr = null, $huisnr_toevoeging = null, $perceelnummer = null, $reeksid = null, $huisnr_van = null, $huisnr_tm = null, $wijkcode = null, $lettercombinatie = null, $reeksindicatie = null, $straatid = null, $straatnaam = null, $straatnaam_nen = null, $straatnaam_ptt = null, $straatnaam_extract = null, $plaatsid = null, $plaatsnaam = null, $plaatsnaam_ptt = null, $plaatsnaam_extract = null, $gemeenteid = null, $gemeentenaam = null, $gemeentecode = null, $cebucocode = null, $provinciecode = null, $provincienaam = null)
193
    {
194
        $this
195
            ->setPerceelid($perceelid)
196
            ->setHuisnr($huisnr)
197
            ->setHuisnr_toevoeging($huisnr_toevoeging)
198
            ->setPerceelnummer($perceelnummer)
199
            ->setReeksid($reeksid)
200
            ->setHuisnr_van($huisnr_van)
201
            ->setHuisnr_tm($huisnr_tm)
202
            ->setWijkcode($wijkcode)
203
            ->setLettercombinatie($lettercombinatie)
204
            ->setReeksindicatie($reeksindicatie)
205
            ->setStraatid($straatid)
206
            ->setStraatnaam($straatnaam)
207
            ->setStraatnaam_nen($straatnaam_nen)
208
            ->setStraatnaam_ptt($straatnaam_ptt)
209
            ->setStraatnaam_extract($straatnaam_extract)
210
            ->setPlaatsid($plaatsid)
211
            ->setPlaatsnaam($plaatsnaam)
212
            ->setPlaatsnaam_ptt($plaatsnaam_ptt)
213
            ->setPlaatsnaam_extract($plaatsnaam_extract)
214
            ->setGemeenteid($gemeenteid)
215
            ->setGemeentenaam($gemeentenaam)
216
            ->setGemeentecode($gemeentecode)
217
            ->setCebucocode($cebucocode)
218
            ->setProvinciecode($provinciecode)
219
            ->setProvincienaam($provincienaam);
220
    }
221
    /**
222
     * Get perceelid value
223
     * @return int|null
224
     */
225
    public function getPerceelid()
226
    {
227
        return $this->perceelid;
228
    }
229
    /**
230
     * Set perceelid value
231
     * @param int $perceelid
232
     * @return \Webservices\StructType\Perceel
233
     */
234
    public function setPerceelid($perceelid = null)
235
    {
236
        // validation for constraint: int
237
        if (!is_null($perceelid) && !is_numeric($perceelid)) {
0 ignored issues
show
introduced by
The condition ! is_null($perceelid) && ! is_numeric($perceelid) can never be true.
Loading history...
238
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($perceelid)), __LINE__);
239
        }
240
        $this->perceelid = $perceelid;
241
        return $this;
242
    }
243
    /**
244
     * Get huisnr value
245
     * @return int|null
246
     */
247
    public function getHuisnr()
248
    {
249
        return $this->huisnr;
250
    }
251
    /**
252
     * Set huisnr value
253
     * @param int $huisnr
254
     * @return \Webservices\StructType\Perceel
255
     */
256
    public function setHuisnr($huisnr = null)
257
    {
258
        // validation for constraint: int
259
        if (!is_null($huisnr) && !is_numeric($huisnr)) {
0 ignored issues
show
introduced by
The condition ! is_null($huisnr) && ! is_numeric($huisnr) can never be true.
Loading history...
260
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($huisnr)), __LINE__);
261
        }
262
        $this->huisnr = $huisnr;
263
        return $this;
264
    }
265
    /**
266
     * Get huisnr_toevoeging value
267
     * @return string|null
268
     */
269
    public function getHuisnr_toevoeging()
270
    {
271
        return $this->huisnr_toevoeging;
272
    }
273
    /**
274
     * Set huisnr_toevoeging value
275
     * @param string $huisnr_toevoeging
276
     * @return \Webservices\StructType\Perceel
277
     */
278
    public function setHuisnr_toevoeging($huisnr_toevoeging = null)
279
    {
280
        // validation for constraint: string
281
        if (!is_null($huisnr_toevoeging) && !is_string($huisnr_toevoeging)) {
0 ignored issues
show
introduced by
The condition ! is_null($huisnr_toevoe...ing($huisnr_toevoeging) can never be true.
Loading history...
282
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($huisnr_toevoeging)), __LINE__);
283
        }
284
        $this->huisnr_toevoeging = $huisnr_toevoeging;
285
        return $this;
286
    }
287
    /**
288
     * Get perceelnummer value
289
     * @return int|null
290
     */
291
    public function getPerceelnummer()
292
    {
293
        return $this->perceelnummer;
294
    }
295
    /**
296
     * Set perceelnummer value
297
     * @param int $perceelnummer
298
     * @return \Webservices\StructType\Perceel
299
     */
300
    public function setPerceelnummer($perceelnummer = null)
301
    {
302
        // validation for constraint: int
303
        if (!is_null($perceelnummer) && !is_numeric($perceelnummer)) {
0 ignored issues
show
introduced by
The condition ! is_null($perceelnummer...numeric($perceelnummer) can never be true.
Loading history...
304
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($perceelnummer)), __LINE__);
305
        }
306
        $this->perceelnummer = $perceelnummer;
307
        return $this;
308
    }
309
    /**
310
     * Get reeksid value
311
     * @return int|null
312
     */
313
    public function getReeksid()
314
    {
315
        return $this->reeksid;
316
    }
317
    /**
318
     * Set reeksid value
319
     * @param int $reeksid
320
     * @return \Webservices\StructType\Perceel
321
     */
322
    public function setReeksid($reeksid = null)
323
    {
324
        // validation for constraint: int
325
        if (!is_null($reeksid) && !is_numeric($reeksid)) {
0 ignored issues
show
introduced by
The condition ! is_null($reeksid) && ! is_numeric($reeksid) can never be true.
Loading history...
326
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($reeksid)), __LINE__);
327
        }
328
        $this->reeksid = $reeksid;
329
        return $this;
330
    }
331
    /**
332
     * Get huisnr_van value
333
     * @return int|null
334
     */
335
    public function getHuisnr_van()
336
    {
337
        return $this->huisnr_van;
338
    }
339
    /**
340
     * Set huisnr_van value
341
     * @param int $huisnr_van
342
     * @return \Webservices\StructType\Perceel
343
     */
344
    public function setHuisnr_van($huisnr_van = null)
345
    {
346
        // validation for constraint: int
347
        if (!is_null($huisnr_van) && !is_numeric($huisnr_van)) {
0 ignored issues
show
introduced by
The condition ! is_null($huisnr_van) &...is_numeric($huisnr_van) can never be true.
Loading history...
348
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($huisnr_van)), __LINE__);
349
        }
350
        $this->huisnr_van = $huisnr_van;
351
        return $this;
352
    }
353
    /**
354
     * Get huisnr_tm value
355
     * @return int|null
356
     */
357
    public function getHuisnr_tm()
358
    {
359
        return $this->huisnr_tm;
360
    }
361
    /**
362
     * Set huisnr_tm value
363
     * @param int $huisnr_tm
364
     * @return \Webservices\StructType\Perceel
365
     */
366
    public function setHuisnr_tm($huisnr_tm = null)
367
    {
368
        // validation for constraint: int
369
        if (!is_null($huisnr_tm) && !is_numeric($huisnr_tm)) {
0 ignored issues
show
introduced by
The condition ! is_null($huisnr_tm) && ! is_numeric($huisnr_tm) can never be true.
Loading history...
370
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($huisnr_tm)), __LINE__);
371
        }
372
        $this->huisnr_tm = $huisnr_tm;
373
        return $this;
374
    }
375
    /**
376
     * Get wijkcode value
377
     * @return string|null
378
     */
379
    public function getWijkcode()
380
    {
381
        return $this->wijkcode;
382
    }
383
    /**
384
     * Set wijkcode value
385
     * @param string $wijkcode
386
     * @return \Webservices\StructType\Perceel
387
     */
388
    public function setWijkcode($wijkcode = null)
389
    {
390
        // validation for constraint: string
391
        if (!is_null($wijkcode) && !is_string($wijkcode)) {
0 ignored issues
show
introduced by
The condition ! is_null($wijkcode) && ! is_string($wijkcode) can never be true.
Loading history...
392
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($wijkcode)), __LINE__);
393
        }
394
        $this->wijkcode = $wijkcode;
395
        return $this;
396
    }
397
    /**
398
     * Get lettercombinatie value
399
     * @return string|null
400
     */
401
    public function getLettercombinatie()
402
    {
403
        return $this->lettercombinatie;
404
    }
405
    /**
406
     * Set lettercombinatie value
407
     * @param string $lettercombinatie
408
     * @return \Webservices\StructType\Perceel
409
     */
410
    public function setLettercombinatie($lettercombinatie = null)
411
    {
412
        // validation for constraint: string
413
        if (!is_null($lettercombinatie) && !is_string($lettercombinatie)) {
0 ignored issues
show
introduced by
The condition ! is_null($lettercombina...ring($lettercombinatie) can never be true.
Loading history...
414
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($lettercombinatie)), __LINE__);
415
        }
416
        $this->lettercombinatie = $lettercombinatie;
417
        return $this;
418
    }
419
    /**
420
     * Get reeksindicatie value
421
     * @return string|null
422
     */
423
    public function getReeksindicatie()
424
    {
425
        return $this->reeksindicatie;
426
    }
427
    /**
428
     * Set reeksindicatie value
429
     * @param string $reeksindicatie
430
     * @return \Webservices\StructType\Perceel
431
     */
432
    public function setReeksindicatie($reeksindicatie = null)
433
    {
434
        // validation for constraint: string
435
        if (!is_null($reeksindicatie) && !is_string($reeksindicatie)) {
0 ignored issues
show
introduced by
The condition ! is_null($reeksindicati...string($reeksindicatie) can never be true.
Loading history...
436
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($reeksindicatie)), __LINE__);
437
        }
438
        $this->reeksindicatie = $reeksindicatie;
439
        return $this;
440
    }
441
    /**
442
     * Get straatid value
443
     * @return int|null
444
     */
445
    public function getStraatid()
446
    {
447
        return $this->straatid;
448
    }
449
    /**
450
     * Set straatid value
451
     * @param int $straatid
452
     * @return \Webservices\StructType\Perceel
453
     */
454
    public function setStraatid($straatid = null)
455
    {
456
        // validation for constraint: int
457
        if (!is_null($straatid) && !is_numeric($straatid)) {
0 ignored issues
show
introduced by
The condition ! is_null($straatid) && ! is_numeric($straatid) can never be true.
Loading history...
458
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($straatid)), __LINE__);
459
        }
460
        $this->straatid = $straatid;
461
        return $this;
462
    }
463
    /**
464
     * Get straatnaam value
465
     * @return string|null
466
     */
467
    public function getStraatnaam()
468
    {
469
        return $this->straatnaam;
470
    }
471
    /**
472
     * Set straatnaam value
473
     * @param string $straatnaam
474
     * @return \Webservices\StructType\Perceel
475
     */
476
    public function setStraatnaam($straatnaam = null)
477
    {
478
        // validation for constraint: string
479
        if (!is_null($straatnaam) && !is_string($straatnaam)) {
0 ignored issues
show
introduced by
The condition ! is_null($straatnaam) &... is_string($straatnaam) can never be true.
Loading history...
480
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($straatnaam)), __LINE__);
481
        }
482
        $this->straatnaam = $straatnaam;
483
        return $this;
484
    }
485
    /**
486
     * Get straatnaam_nen value
487
     * @return string|null
488
     */
489
    public function getStraatnaam_nen()
490
    {
491
        return $this->straatnaam_nen;
492
    }
493
    /**
494
     * Set straatnaam_nen value
495
     * @param string $straatnaam_nen
496
     * @return \Webservices\StructType\Perceel
497
     */
498
    public function setStraatnaam_nen($straatnaam_nen = null)
499
    {
500
        // validation for constraint: string
501
        if (!is_null($straatnaam_nen) && !is_string($straatnaam_nen)) {
0 ignored issues
show
introduced by
The condition ! is_null($straatnaam_ne...string($straatnaam_nen) can never be true.
Loading history...
502
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($straatnaam_nen)), __LINE__);
503
        }
504
        $this->straatnaam_nen = $straatnaam_nen;
505
        return $this;
506
    }
507
    /**
508
     * Get straatnaam_ptt value
509
     * @return string|null
510
     */
511
    public function getStraatnaam_ptt()
512
    {
513
        return $this->straatnaam_ptt;
514
    }
515
    /**
516
     * Set straatnaam_ptt value
517
     * @param string $straatnaam_ptt
518
     * @return \Webservices\StructType\Perceel
519
     */
520
    public function setStraatnaam_ptt($straatnaam_ptt = null)
521
    {
522
        // validation for constraint: string
523
        if (!is_null($straatnaam_ptt) && !is_string($straatnaam_ptt)) {
0 ignored issues
show
introduced by
The condition ! is_null($straatnaam_pt...string($straatnaam_ptt) can never be true.
Loading history...
524
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($straatnaam_ptt)), __LINE__);
525
        }
526
        $this->straatnaam_ptt = $straatnaam_ptt;
527
        return $this;
528
    }
529
    /**
530
     * Get straatnaam_extract value
531
     * @return string|null
532
     */
533
    public function getStraatnaam_extract()
534
    {
535
        return $this->straatnaam_extract;
536
    }
537
    /**
538
     * Set straatnaam_extract value
539
     * @param string $straatnaam_extract
540
     * @return \Webservices\StructType\Perceel
541
     */
542
    public function setStraatnaam_extract($straatnaam_extract = null)
543
    {
544
        // validation for constraint: string
545
        if (!is_null($straatnaam_extract) && !is_string($straatnaam_extract)) {
0 ignored issues
show
introduced by
The condition ! is_null($straatnaam_ex...ng($straatnaam_extract) can never be true.
Loading history...
546
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($straatnaam_extract)), __LINE__);
547
        }
548
        $this->straatnaam_extract = $straatnaam_extract;
549
        return $this;
550
    }
551
    /**
552
     * Get plaatsid value
553
     * @return int|null
554
     */
555
    public function getPlaatsid()
556
    {
557
        return $this->plaatsid;
558
    }
559
    /**
560
     * Set plaatsid value
561
     * @param int $plaatsid
562
     * @return \Webservices\StructType\Perceel
563
     */
564
    public function setPlaatsid($plaatsid = null)
565
    {
566
        // validation for constraint: int
567
        if (!is_null($plaatsid) && !is_numeric($plaatsid)) {
0 ignored issues
show
introduced by
The condition ! is_null($plaatsid) && ! is_numeric($plaatsid) can never be true.
Loading history...
568
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($plaatsid)), __LINE__);
569
        }
570
        $this->plaatsid = $plaatsid;
571
        return $this;
572
    }
573
    /**
574
     * Get plaatsnaam value
575
     * @return string|null
576
     */
577
    public function getPlaatsnaam()
578
    {
579
        return $this->plaatsnaam;
580
    }
581
    /**
582
     * Set plaatsnaam value
583
     * @param string $plaatsnaam
584
     * @return \Webservices\StructType\Perceel
585
     */
586
    public function setPlaatsnaam($plaatsnaam = null)
587
    {
588
        // validation for constraint: string
589
        if (!is_null($plaatsnaam) && !is_string($plaatsnaam)) {
0 ignored issues
show
introduced by
The condition ! is_null($plaatsnaam) &... is_string($plaatsnaam) can never be true.
Loading history...
590
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($plaatsnaam)), __LINE__);
591
        }
592
        $this->plaatsnaam = $plaatsnaam;
593
        return $this;
594
    }
595
    /**
596
     * Get plaatsnaam_ptt value
597
     * @return string|null
598
     */
599
    public function getPlaatsnaam_ptt()
600
    {
601
        return $this->plaatsnaam_ptt;
602
    }
603
    /**
604
     * Set plaatsnaam_ptt value
605
     * @param string $plaatsnaam_ptt
606
     * @return \Webservices\StructType\Perceel
607
     */
608
    public function setPlaatsnaam_ptt($plaatsnaam_ptt = null)
609
    {
610
        // validation for constraint: string
611
        if (!is_null($plaatsnaam_ptt) && !is_string($plaatsnaam_ptt)) {
0 ignored issues
show
introduced by
The condition ! is_null($plaatsnaam_pt...string($plaatsnaam_ptt) can never be true.
Loading history...
612
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($plaatsnaam_ptt)), __LINE__);
613
        }
614
        $this->plaatsnaam_ptt = $plaatsnaam_ptt;
615
        return $this;
616
    }
617
    /**
618
     * Get plaatsnaam_extract value
619
     * @return string|null
620
     */
621
    public function getPlaatsnaam_extract()
622
    {
623
        return $this->plaatsnaam_extract;
624
    }
625
    /**
626
     * Set plaatsnaam_extract value
627
     * @param string $plaatsnaam_extract
628
     * @return \Webservices\StructType\Perceel
629
     */
630
    public function setPlaatsnaam_extract($plaatsnaam_extract = null)
631
    {
632
        // validation for constraint: string
633
        if (!is_null($plaatsnaam_extract) && !is_string($plaatsnaam_extract)) {
0 ignored issues
show
introduced by
The condition ! is_null($plaatsnaam_ex...ng($plaatsnaam_extract) can never be true.
Loading history...
634
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($plaatsnaam_extract)), __LINE__);
635
        }
636
        $this->plaatsnaam_extract = $plaatsnaam_extract;
637
        return $this;
638
    }
639
    /**
640
     * Get gemeenteid value
641
     * @return int|null
642
     */
643
    public function getGemeenteid()
644
    {
645
        return $this->gemeenteid;
646
    }
647
    /**
648
     * Set gemeenteid value
649
     * @param int $gemeenteid
650
     * @return \Webservices\StructType\Perceel
651
     */
652
    public function setGemeenteid($gemeenteid = null)
653
    {
654
        // validation for constraint: int
655
        if (!is_null($gemeenteid) && !is_numeric($gemeenteid)) {
0 ignored issues
show
introduced by
The condition ! is_null($gemeenteid) &...is_numeric($gemeenteid) can never be true.
Loading history...
656
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($gemeenteid)), __LINE__);
657
        }
658
        $this->gemeenteid = $gemeenteid;
659
        return $this;
660
    }
661
    /**
662
     * Get gemeentenaam value
663
     * @return string|null
664
     */
665
    public function getGemeentenaam()
666
    {
667
        return $this->gemeentenaam;
668
    }
669
    /**
670
     * Set gemeentenaam value
671
     * @param string $gemeentenaam
672
     * @return \Webservices\StructType\Perceel
673
     */
674
    public function setGemeentenaam($gemeentenaam = null)
675
    {
676
        // validation for constraint: string
677
        if (!is_null($gemeentenaam) && !is_string($gemeentenaam)) {
0 ignored issues
show
introduced by
The condition ! is_null($gemeentenaam)...s_string($gemeentenaam) can never be true.
Loading history...
678
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($gemeentenaam)), __LINE__);
679
        }
680
        $this->gemeentenaam = $gemeentenaam;
681
        return $this;
682
    }
683
    /**
684
     * Get gemeentecode value
685
     * @return int|null
686
     */
687
    public function getGemeentecode()
688
    {
689
        return $this->gemeentecode;
690
    }
691
    /**
692
     * Set gemeentecode value
693
     * @param int $gemeentecode
694
     * @return \Webservices\StructType\Perceel
695
     */
696
    public function setGemeentecode($gemeentecode = null)
697
    {
698
        // validation for constraint: int
699
        if (!is_null($gemeentecode) && !is_numeric($gemeentecode)) {
0 ignored issues
show
introduced by
The condition ! is_null($gemeentecode)..._numeric($gemeentecode) can never be true.
Loading history...
700
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($gemeentecode)), __LINE__);
701
        }
702
        $this->gemeentecode = $gemeentecode;
703
        return $this;
704
    }
705
    /**
706
     * Get cebucocode value
707
     * @return int|null
708
     */
709
    public function getCebucocode()
710
    {
711
        return $this->cebucocode;
712
    }
713
    /**
714
     * Set cebucocode value
715
     * @param int $cebucocode
716
     * @return \Webservices\StructType\Perceel
717
     */
718
    public function setCebucocode($cebucocode = null)
719
    {
720
        // validation for constraint: int
721
        if (!is_null($cebucocode) && !is_numeric($cebucocode)) {
0 ignored issues
show
introduced by
The condition ! is_null($cebucocode) &...is_numeric($cebucocode) can never be true.
Loading history...
722
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($cebucocode)), __LINE__);
723
        }
724
        $this->cebucocode = $cebucocode;
725
        return $this;
726
    }
727
    /**
728
     * Get provinciecode value
729
     * @return string|null
730
     */
731
    public function getProvinciecode()
732
    {
733
        return $this->provinciecode;
734
    }
735
    /**
736
     * Set provinciecode value
737
     * @param string $provinciecode
738
     * @return \Webservices\StructType\Perceel
739
     */
740
    public function setProvinciecode($provinciecode = null)
741
    {
742
        // validation for constraint: string
743
        if (!is_null($provinciecode) && !is_string($provinciecode)) {
0 ignored issues
show
introduced by
The condition ! is_null($provinciecode..._string($provinciecode) can never be true.
Loading history...
744
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($provinciecode)), __LINE__);
745
        }
746
        $this->provinciecode = $provinciecode;
747
        return $this;
748
    }
749
    /**
750
     * Get provincienaam value
751
     * @return string|null
752
     */
753
    public function getProvincienaam()
754
    {
755
        return $this->provincienaam;
756
    }
757
    /**
758
     * Set provincienaam value
759
     * @param string $provincienaam
760
     * @return \Webservices\StructType\Perceel
761
     */
762
    public function setProvincienaam($provincienaam = null)
763
    {
764
        // validation for constraint: string
765
        if (!is_null($provincienaam) && !is_string($provincienaam)) {
0 ignored issues
show
introduced by
The condition ! is_null($provincienaam..._string($provincienaam) can never be true.
Loading history...
766
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($provincienaam)), __LINE__);
767
        }
768
        $this->provincienaam = $provincienaam;
769
        return $this;
770
    }
771
    /**
772
     * Method called when an object has been exported with var_export() functions
773
     * It allows to return an object instantiated with the values
774
     * @see AbstractStructBase::__set_state()
775
     * @uses AbstractStructBase::__set_state()
776
     * @param array $array the exported values
777
     * @return \Webservices\StructType\Perceel
778
     */
779
    public static function __set_state(array $array)
780
    {
781
        return parent::__set_state($array);
782
    }
783
    /**
784
     * Method returning the class name
785
     * @return string __CLASS__
786
     */
787
    public function __toString()
788
    {
789
        return __CLASS__;
790
    }
791
}
792