NbwoWaarde::__construct()   B
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 26
Code Lines 24

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 24
nc 1
nop 23
dl 0
loc 26
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 NbwoWaarde StructType
9
 * @subpackage Structs
10
 * @author JCID <[email protected]>
11
 */
12
class NbwoWaarde extends AbstractStructBase
13
{
14
    /**
15
     * The waarde
16
     * @var int
17
     */
18
    public $waarde;
19
    /**
20
     * The betrouwbaarheid
21
     * @var string
22
     */
23
    public $betrouwbaarheid;
24
    /**
25
     * The datum_waardebepaling
26
     * Meta informations extracted from the WSDL
27
     * - minOccurs: 0
28
     * @var string
29
     */
30
    public $datum_waardebepaling;
31
    /**
32
     * The cultuurcode
33
     * Meta informations extracted from the WSDL
34
     * - minOccurs: 0
35
     * @var string
36
     */
37
    public $cultuurcode;
38
    /**
39
     * The woningtype
40
     * Meta informations extracted from the WSDL
41
     * - minOccurs: 0
42
     * @var string
43
     */
44
    public $woningtype;
45
    /**
46
     * The prijspeil_datum
47
     * Meta informations extracted from the WSDL
48
     * - minOccurs: 0
49
     * @var string
50
     */
51
    public $prijspeil_datum;
52
    /**
53
     * The straat
54
     * Meta informations extracted from the WSDL
55
     * - minOccurs: 0
56
     * @var string
57
     */
58
    public $straat;
59
    /**
60
     * The huisnummer
61
     * Meta informations extracted from the WSDL
62
     * - minOccurs: 0
63
     * @var int
64
     */
65
    public $huisnummer;
66
    /**
67
     * The huisnummer_toevoeging
68
     * Meta informations extracted from the WSDL
69
     * - minOccurs: 0
70
     * @var string
71
     */
72
    public $huisnummer_toevoeging;
73
    /**
74
     * The postcode
75
     * Meta informations extracted from the WSDL
76
     * - minOccurs: 0
77
     * @var string
78
     */
79
    public $postcode;
80
    /**
81
     * The plaats
82
     * Meta informations extracted from the WSDL
83
     * - minOccurs: 0
84
     * @var string
85
     */
86
    public $plaats;
87
    /**
88
     * The oppervlak
89
     * Meta informations extracted from the WSDL
90
     * - minOccurs: 0
91
     * @var int
92
     */
93
    public $oppervlak;
94
    /**
95
     * The inhoud
96
     * Meta informations extracted from the WSDL
97
     * - minOccurs: 0
98
     * @var int
99
     */
100
    public $inhoud;
101
    /**
102
     * The bouwjaar
103
     * Meta informations extracted from the WSDL
104
     * - minOccurs: 0
105
     * @var int
106
     */
107
    public $bouwjaar;
108
    /**
109
     * The grootte
110
     * Meta informations extracted from the WSDL
111
     * - minOccurs: 0
112
     * @var int
113
     */
114
    public $grootte;
115
    /**
116
     * The garage
117
     * Meta informations extracted from the WSDL
118
     * - minOccurs: 0
119
     * @var bool
120
     */
121
    public $garage;
122
    /**
123
     * The tuin
124
     * Meta informations extracted from the WSDL
125
     * - minOccurs: 0
126
     * @var bool
127
     */
128
    public $tuin;
129
    /**
130
     * The monument
131
     * Meta informations extracted from the WSDL
132
     * - minOccurs: 0
133
     * @var bool
134
     */
135
    public $monument;
136
    /**
137
     * The schuur
138
     * Meta informations extracted from the WSDL
139
     * - minOccurs: 0
140
     * @var bool
141
     */
142
    public $schuur;
143
    /**
144
     * The postcode_model_resultaat
145
     * Meta informations extracted from the WSDL
146
     * - minOccurs: 0
147
     * @var \Webservices\StructType\NbwoPostcodeStraatModelResultaat
148
     */
149
    public $postcode_model_resultaat;
150
    /**
151
     * The straat_model_resultaat
152
     * Meta informations extracted from the WSDL
153
     * - minOccurs: 0
154
     * @var \Webservices\StructType\NbwoPostcodeStraatModelResultaat
155
     */
156
    public $straat_model_resultaat;
157
    /**
158
     * The vorige_verkoop_model_resultaat
159
     * Meta informations extracted from the WSDL
160
     * - minOccurs: 0
161
     * @var \Webservices\StructType\NbwoVorigeVerkoopModelResultaat
162
     */
163
    public $vorige_verkoop_model_resultaat;
164
    /**
165
     * The kenmerken_model_resultaat
166
     * Meta informations extracted from the WSDL
167
     * - minOccurs: 0
168
     * @var \Webservices\StructType\NbwoKenmerkenModelResultaat
169
     */
170
    public $kenmerken_model_resultaat;
171
    /**
172
     * Constructor method for NbwoWaarde
173
     * @uses NbwoWaarde::setWaarde()
174
     * @uses NbwoWaarde::setBetrouwbaarheid()
175
     * @uses NbwoWaarde::setDatum_waardebepaling()
176
     * @uses NbwoWaarde::setCultuurcode()
177
     * @uses NbwoWaarde::setWoningtype()
178
     * @uses NbwoWaarde::setPrijspeil_datum()
179
     * @uses NbwoWaarde::setStraat()
180
     * @uses NbwoWaarde::setHuisnummer()
181
     * @uses NbwoWaarde::setHuisnummer_toevoeging()
182
     * @uses NbwoWaarde::setPostcode()
183
     * @uses NbwoWaarde::setPlaats()
184
     * @uses NbwoWaarde::setOppervlak()
185
     * @uses NbwoWaarde::setInhoud()
186
     * @uses NbwoWaarde::setBouwjaar()
187
     * @uses NbwoWaarde::setGrootte()
188
     * @uses NbwoWaarde::setGarage()
189
     * @uses NbwoWaarde::setTuin()
190
     * @uses NbwoWaarde::setMonument()
191
     * @uses NbwoWaarde::setSchuur()
192
     * @uses NbwoWaarde::setPostcode_model_resultaat()
193
     * @uses NbwoWaarde::setStraat_model_resultaat()
194
     * @uses NbwoWaarde::setVorige_verkoop_model_resultaat()
195
     * @uses NbwoWaarde::setKenmerken_model_resultaat()
196
     * @param int $waarde
197
     * @param string $betrouwbaarheid
198
     * @param string $datum_waardebepaling
199
     * @param string $cultuurcode
200
     * @param string $woningtype
201
     * @param string $prijspeil_datum
202
     * @param string $straat
203
     * @param int $huisnummer
204
     * @param string $huisnummer_toevoeging
205
     * @param string $postcode
206
     * @param string $plaats
207
     * @param int $oppervlak
208
     * @param int $inhoud
209
     * @param int $bouwjaar
210
     * @param int $grootte
211
     * @param bool $garage
212
     * @param bool $tuin
213
     * @param bool $monument
214
     * @param bool $schuur
215
     * @param \Webservices\StructType\NbwoPostcodeStraatModelResultaat $postcode_model_resultaat
216
     * @param \Webservices\StructType\NbwoPostcodeStraatModelResultaat $straat_model_resultaat
217
     * @param \Webservices\StructType\NbwoVorigeVerkoopModelResultaat $vorige_verkoop_model_resultaat
218
     * @param \Webservices\StructType\NbwoKenmerkenModelResultaat $kenmerken_model_resultaat
219
     */
220
    public function __construct($waarde = null, $betrouwbaarheid = null, $datum_waardebepaling = null, $cultuurcode = null, $woningtype = null, $prijspeil_datum = null, $straat = null, $huisnummer = null, $huisnummer_toevoeging = null, $postcode = null, $plaats = null, $oppervlak = null, $inhoud = null, $bouwjaar = null, $grootte = null, $garage = null, $tuin = null, $monument = null, $schuur = null, \Webservices\StructType\NbwoPostcodeStraatModelResultaat $postcode_model_resultaat = null, \Webservices\StructType\NbwoPostcodeStraatModelResultaat $straat_model_resultaat = null, \Webservices\StructType\NbwoVorigeVerkoopModelResultaat $vorige_verkoop_model_resultaat = null, \Webservices\StructType\NbwoKenmerkenModelResultaat $kenmerken_model_resultaat = null)
221
    {
222
        $this
223
            ->setWaarde($waarde)
224
            ->setBetrouwbaarheid($betrouwbaarheid)
225
            ->setDatum_waardebepaling($datum_waardebepaling)
226
            ->setCultuurcode($cultuurcode)
227
            ->setWoningtype($woningtype)
228
            ->setPrijspeil_datum($prijspeil_datum)
229
            ->setStraat($straat)
230
            ->setHuisnummer($huisnummer)
231
            ->setHuisnummer_toevoeging($huisnummer_toevoeging)
232
            ->setPostcode($postcode)
233
            ->setPlaats($plaats)
234
            ->setOppervlak($oppervlak)
235
            ->setInhoud($inhoud)
236
            ->setBouwjaar($bouwjaar)
237
            ->setGrootte($grootte)
238
            ->setGarage($garage)
239
            ->setTuin($tuin)
240
            ->setMonument($monument)
241
            ->setSchuur($schuur)
242
            ->setPostcode_model_resultaat($postcode_model_resultaat)
243
            ->setStraat_model_resultaat($straat_model_resultaat)
244
            ->setVorige_verkoop_model_resultaat($vorige_verkoop_model_resultaat)
245
            ->setKenmerken_model_resultaat($kenmerken_model_resultaat);
246
    }
247
    /**
248
     * Get waarde value
249
     * @return int|null
250
     */
251
    public function getWaarde()
252
    {
253
        return $this->waarde;
254
    }
255
    /**
256
     * Set waarde value
257
     * @param int $waarde
258
     * @return \Webservices\StructType\NbwoWaarde
259
     */
260
    public function setWaarde($waarde = null)
261
    {
262
        // validation for constraint: int
263
        if (!is_null($waarde) && !is_numeric($waarde)) {
0 ignored issues
show
introduced by
The condition ! is_null($waarde) && ! is_numeric($waarde) can never be true.
Loading history...
264
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($waarde)), __LINE__);
265
        }
266
        $this->waarde = $waarde;
267
        return $this;
268
    }
269
    /**
270
     * Get betrouwbaarheid value
271
     * @return string|null
272
     */
273
    public function getBetrouwbaarheid()
274
    {
275
        return $this->betrouwbaarheid;
276
    }
277
    /**
278
     * Set betrouwbaarheid value
279
     * @param string $betrouwbaarheid
280
     * @return \Webservices\StructType\NbwoWaarde
281
     */
282
    public function setBetrouwbaarheid($betrouwbaarheid = null)
283
    {
284
        // validation for constraint: string
285
        if (!is_null($betrouwbaarheid) && !is_string($betrouwbaarheid)) {
0 ignored issues
show
introduced by
The condition ! is_null($betrouwbaarhe...tring($betrouwbaarheid) can never be true.
Loading history...
286
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($betrouwbaarheid)), __LINE__);
287
        }
288
        $this->betrouwbaarheid = $betrouwbaarheid;
289
        return $this;
290
    }
291
    /**
292
     * Get datum_waardebepaling value
293
     * @return string|null
294
     */
295
    public function getDatum_waardebepaling()
296
    {
297
        return $this->datum_waardebepaling;
298
    }
299
    /**
300
     * Set datum_waardebepaling value
301
     * @param string $datum_waardebepaling
302
     * @return \Webservices\StructType\NbwoWaarde
303
     */
304
    public function setDatum_waardebepaling($datum_waardebepaling = null)
305
    {
306
        // validation for constraint: string
307
        if (!is_null($datum_waardebepaling) && !is_string($datum_waardebepaling)) {
0 ignored issues
show
introduced by
The condition ! is_null($datum_waardeb...($datum_waardebepaling) can never be true.
Loading history...
308
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($datum_waardebepaling)), __LINE__);
309
        }
310
        $this->datum_waardebepaling = $datum_waardebepaling;
311
        return $this;
312
    }
313
    /**
314
     * Get cultuurcode value
315
     * @return string|null
316
     */
317
    public function getCultuurcode()
318
    {
319
        return $this->cultuurcode;
320
    }
321
    /**
322
     * Set cultuurcode value
323
     * @param string $cultuurcode
324
     * @return \Webservices\StructType\NbwoWaarde
325
     */
326
    public function setCultuurcode($cultuurcode = null)
327
    {
328
        // validation for constraint: string
329
        if (!is_null($cultuurcode) && !is_string($cultuurcode)) {
0 ignored issues
show
introduced by
The condition ! is_null($cultuurcode) ...is_string($cultuurcode) can never be true.
Loading history...
330
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($cultuurcode)), __LINE__);
331
        }
332
        $this->cultuurcode = $cultuurcode;
333
        return $this;
334
    }
335
    /**
336
     * Get woningtype value
337
     * @return string|null
338
     */
339
    public function getWoningtype()
340
    {
341
        return $this->woningtype;
342
    }
343
    /**
344
     * Set woningtype value
345
     * @param string $woningtype
346
     * @return \Webservices\StructType\NbwoWaarde
347
     */
348
    public function setWoningtype($woningtype = null)
349
    {
350
        // validation for constraint: string
351
        if (!is_null($woningtype) && !is_string($woningtype)) {
0 ignored issues
show
introduced by
The condition ! is_null($woningtype) &... is_string($woningtype) can never be true.
Loading history...
352
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($woningtype)), __LINE__);
353
        }
354
        $this->woningtype = $woningtype;
355
        return $this;
356
    }
357
    /**
358
     * Get prijspeil_datum value
359
     * @return string|null
360
     */
361
    public function getPrijspeil_datum()
362
    {
363
        return $this->prijspeil_datum;
364
    }
365
    /**
366
     * Set prijspeil_datum value
367
     * @param string $prijspeil_datum
368
     * @return \Webservices\StructType\NbwoWaarde
369
     */
370
    public function setPrijspeil_datum($prijspeil_datum = null)
371
    {
372
        // validation for constraint: string
373
        if (!is_null($prijspeil_datum) && !is_string($prijspeil_datum)) {
0 ignored issues
show
introduced by
The condition ! is_null($prijspeil_dat...tring($prijspeil_datum) can never be true.
Loading history...
374
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($prijspeil_datum)), __LINE__);
375
        }
376
        $this->prijspeil_datum = $prijspeil_datum;
377
        return $this;
378
    }
379
    /**
380
     * Get straat value
381
     * @return string|null
382
     */
383
    public function getStraat()
384
    {
385
        return $this->straat;
386
    }
387
    /**
388
     * Set straat value
389
     * @param string $straat
390
     * @return \Webservices\StructType\NbwoWaarde
391
     */
392
    public function setStraat($straat = null)
393
    {
394
        // validation for constraint: string
395
        if (!is_null($straat) && !is_string($straat)) {
0 ignored issues
show
introduced by
The condition ! is_null($straat) && ! is_string($straat) can never be true.
Loading history...
396
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($straat)), __LINE__);
397
        }
398
        $this->straat = $straat;
399
        return $this;
400
    }
401
    /**
402
     * Get huisnummer value
403
     * @return int|null
404
     */
405
    public function getHuisnummer()
406
    {
407
        return $this->huisnummer;
408
    }
409
    /**
410
     * Set huisnummer value
411
     * @param int $huisnummer
412
     * @return \Webservices\StructType\NbwoWaarde
413
     */
414
    public function setHuisnummer($huisnummer = null)
415
    {
416
        // validation for constraint: int
417
        if (!is_null($huisnummer) && !is_numeric($huisnummer)) {
0 ignored issues
show
introduced by
The condition ! is_null($huisnummer) &...is_numeric($huisnummer) can never be true.
Loading history...
418
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($huisnummer)), __LINE__);
419
        }
420
        $this->huisnummer = $huisnummer;
421
        return $this;
422
    }
423
    /**
424
     * Get huisnummer_toevoeging value
425
     * @return string|null
426
     */
427
    public function getHuisnummer_toevoeging()
428
    {
429
        return $this->huisnummer_toevoeging;
430
    }
431
    /**
432
     * Set huisnummer_toevoeging value
433
     * @param string $huisnummer_toevoeging
434
     * @return \Webservices\StructType\NbwoWaarde
435
     */
436
    public function setHuisnummer_toevoeging($huisnummer_toevoeging = null)
437
    {
438
        // validation for constraint: string
439
        if (!is_null($huisnummer_toevoeging) && !is_string($huisnummer_toevoeging)) {
0 ignored issues
show
introduced by
The condition ! is_null($huisnummer_to...$huisnummer_toevoeging) can never be true.
Loading history...
440
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($huisnummer_toevoeging)), __LINE__);
441
        }
442
        $this->huisnummer_toevoeging = $huisnummer_toevoeging;
443
        return $this;
444
    }
445
    /**
446
     * Get postcode value
447
     * @return string|null
448
     */
449
    public function getPostcode()
450
    {
451
        return $this->postcode;
452
    }
453
    /**
454
     * Set postcode value
455
     * @param string $postcode
456
     * @return \Webservices\StructType\NbwoWaarde
457
     */
458
    public function setPostcode($postcode = null)
459
    {
460
        // validation for constraint: string
461
        if (!is_null($postcode) && !is_string($postcode)) {
0 ignored issues
show
introduced by
The condition ! is_null($postcode) && ! is_string($postcode) can never be true.
Loading history...
462
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($postcode)), __LINE__);
463
        }
464
        $this->postcode = $postcode;
465
        return $this;
466
    }
467
    /**
468
     * Get plaats value
469
     * @return string|null
470
     */
471
    public function getPlaats()
472
    {
473
        return $this->plaats;
474
    }
475
    /**
476
     * Set plaats value
477
     * @param string $plaats
478
     * @return \Webservices\StructType\NbwoWaarde
479
     */
480
    public function setPlaats($plaats = null)
481
    {
482
        // validation for constraint: string
483
        if (!is_null($plaats) && !is_string($plaats)) {
0 ignored issues
show
introduced by
The condition ! is_null($plaats) && ! is_string($plaats) can never be true.
Loading history...
484
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($plaats)), __LINE__);
485
        }
486
        $this->plaats = $plaats;
487
        return $this;
488
    }
489
    /**
490
     * Get oppervlak value
491
     * @return int|null
492
     */
493
    public function getOppervlak()
494
    {
495
        return $this->oppervlak;
496
    }
497
    /**
498
     * Set oppervlak value
499
     * @param int $oppervlak
500
     * @return \Webservices\StructType\NbwoWaarde
501
     */
502
    public function setOppervlak($oppervlak = null)
503
    {
504
        // validation for constraint: int
505
        if (!is_null($oppervlak) && !is_numeric($oppervlak)) {
0 ignored issues
show
introduced by
The condition ! is_null($oppervlak) && ! is_numeric($oppervlak) can never be true.
Loading history...
506
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($oppervlak)), __LINE__);
507
        }
508
        $this->oppervlak = $oppervlak;
509
        return $this;
510
    }
511
    /**
512
     * Get inhoud value
513
     * @return int|null
514
     */
515
    public function getInhoud()
516
    {
517
        return $this->inhoud;
518
    }
519
    /**
520
     * Set inhoud value
521
     * @param int $inhoud
522
     * @return \Webservices\StructType\NbwoWaarde
523
     */
524
    public function setInhoud($inhoud = null)
525
    {
526
        // validation for constraint: int
527
        if (!is_null($inhoud) && !is_numeric($inhoud)) {
0 ignored issues
show
introduced by
The condition ! is_null($inhoud) && ! is_numeric($inhoud) can never be true.
Loading history...
528
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($inhoud)), __LINE__);
529
        }
530
        $this->inhoud = $inhoud;
531
        return $this;
532
    }
533
    /**
534
     * Get bouwjaar value
535
     * @return int|null
536
     */
537
    public function getBouwjaar()
538
    {
539
        return $this->bouwjaar;
540
    }
541
    /**
542
     * Set bouwjaar value
543
     * @param int $bouwjaar
544
     * @return \Webservices\StructType\NbwoWaarde
545
     */
546
    public function setBouwjaar($bouwjaar = null)
547
    {
548
        // validation for constraint: int
549
        if (!is_null($bouwjaar) && !is_numeric($bouwjaar)) {
0 ignored issues
show
introduced by
The condition ! is_null($bouwjaar) && ! is_numeric($bouwjaar) can never be true.
Loading history...
550
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($bouwjaar)), __LINE__);
551
        }
552
        $this->bouwjaar = $bouwjaar;
553
        return $this;
554
    }
555
    /**
556
     * Get grootte value
557
     * @return int|null
558
     */
559
    public function getGrootte()
560
    {
561
        return $this->grootte;
562
    }
563
    /**
564
     * Set grootte value
565
     * @param int $grootte
566
     * @return \Webservices\StructType\NbwoWaarde
567
     */
568
    public function setGrootte($grootte = null)
569
    {
570
        // validation for constraint: int
571
        if (!is_null($grootte) && !is_numeric($grootte)) {
0 ignored issues
show
introduced by
The condition ! is_null($grootte) && ! is_numeric($grootte) can never be true.
Loading history...
572
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($grootte)), __LINE__);
573
        }
574
        $this->grootte = $grootte;
575
        return $this;
576
    }
577
    /**
578
     * Get garage value
579
     * @return bool|null
580
     */
581
    public function getGarage()
582
    {
583
        return $this->garage;
584
    }
585
    /**
586
     * Set garage value
587
     * @param bool $garage
588
     * @return \Webservices\StructType\NbwoWaarde
589
     */
590
    public function setGarage($garage = null)
591
    {
592
        // validation for constraint: boolean
593
        if (!is_null($garage) && !is_bool($garage)) {
0 ignored issues
show
introduced by
The condition ! is_null($garage) && ! is_bool($garage) can never be true.
Loading history...
594
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($garage)), __LINE__);
595
        }
596
        $this->garage = $garage;
597
        return $this;
598
    }
599
    /**
600
     * Get tuin value
601
     * @return bool|null
602
     */
603
    public function getTuin()
604
    {
605
        return $this->tuin;
606
    }
607
    /**
608
     * Set tuin value
609
     * @param bool $tuin
610
     * @return \Webservices\StructType\NbwoWaarde
611
     */
612
    public function setTuin($tuin = null)
613
    {
614
        // validation for constraint: boolean
615
        if (!is_null($tuin) && !is_bool($tuin)) {
0 ignored issues
show
introduced by
The condition ! is_null($tuin) && ! is_bool($tuin) can never be true.
Loading history...
616
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($tuin)), __LINE__);
617
        }
618
        $this->tuin = $tuin;
619
        return $this;
620
    }
621
    /**
622
     * Get monument value
623
     * @return bool|null
624
     */
625
    public function getMonument()
626
    {
627
        return $this->monument;
628
    }
629
    /**
630
     * Set monument value
631
     * @param bool $monument
632
     * @return \Webservices\StructType\NbwoWaarde
633
     */
634
    public function setMonument($monument = null)
635
    {
636
        // validation for constraint: boolean
637
        if (!is_null($monument) && !is_bool($monument)) {
0 ignored issues
show
introduced by
The condition ! is_null($monument) && ! is_bool($monument) can never be true.
Loading history...
638
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($monument)), __LINE__);
639
        }
640
        $this->monument = $monument;
641
        return $this;
642
    }
643
    /**
644
     * Get schuur value
645
     * @return bool|null
646
     */
647
    public function getSchuur()
648
    {
649
        return $this->schuur;
650
    }
651
    /**
652
     * Set schuur value
653
     * @param bool $schuur
654
     * @return \Webservices\StructType\NbwoWaarde
655
     */
656
    public function setSchuur($schuur = null)
657
    {
658
        // validation for constraint: boolean
659
        if (!is_null($schuur) && !is_bool($schuur)) {
0 ignored issues
show
introduced by
The condition ! is_null($schuur) && ! is_bool($schuur) can never be true.
Loading history...
660
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($schuur)), __LINE__);
661
        }
662
        $this->schuur = $schuur;
663
        return $this;
664
    }
665
    /**
666
     * Get postcode_model_resultaat value
667
     * @return \Webservices\StructType\NbwoPostcodeStraatModelResultaat|null
668
     */
669
    public function getPostcode_model_resultaat()
670
    {
671
        return $this->postcode_model_resultaat;
672
    }
673
    /**
674
     * Set postcode_model_resultaat value
675
     * @param \Webservices\StructType\NbwoPostcodeStraatModelResultaat $postcode_model_resultaat
676
     * @return \Webservices\StructType\NbwoWaarde
677
     */
678
    public function setPostcode_model_resultaat(\Webservices\StructType\NbwoPostcodeStraatModelResultaat $postcode_model_resultaat = null)
679
    {
680
        $this->postcode_model_resultaat = $postcode_model_resultaat;
681
        return $this;
682
    }
683
    /**
684
     * Get straat_model_resultaat value
685
     * @return \Webservices\StructType\NbwoPostcodeStraatModelResultaat|null
686
     */
687
    public function getStraat_model_resultaat()
688
    {
689
        return $this->straat_model_resultaat;
690
    }
691
    /**
692
     * Set straat_model_resultaat value
693
     * @param \Webservices\StructType\NbwoPostcodeStraatModelResultaat $straat_model_resultaat
694
     * @return \Webservices\StructType\NbwoWaarde
695
     */
696
    public function setStraat_model_resultaat(\Webservices\StructType\NbwoPostcodeStraatModelResultaat $straat_model_resultaat = null)
697
    {
698
        $this->straat_model_resultaat = $straat_model_resultaat;
699
        return $this;
700
    }
701
    /**
702
     * Get vorige_verkoop_model_resultaat value
703
     * @return \Webservices\StructType\NbwoVorigeVerkoopModelResultaat|null
704
     */
705
    public function getVorige_verkoop_model_resultaat()
706
    {
707
        return $this->vorige_verkoop_model_resultaat;
708
    }
709
    /**
710
     * Set vorige_verkoop_model_resultaat value
711
     * @param \Webservices\StructType\NbwoVorigeVerkoopModelResultaat $vorige_verkoop_model_resultaat
712
     * @return \Webservices\StructType\NbwoWaarde
713
     */
714
    public function setVorige_verkoop_model_resultaat(\Webservices\StructType\NbwoVorigeVerkoopModelResultaat $vorige_verkoop_model_resultaat = null)
715
    {
716
        $this->vorige_verkoop_model_resultaat = $vorige_verkoop_model_resultaat;
717
        return $this;
718
    }
719
    /**
720
     * Get kenmerken_model_resultaat value
721
     * @return \Webservices\StructType\NbwoKenmerkenModelResultaat|null
722
     */
723
    public function getKenmerken_model_resultaat()
724
    {
725
        return $this->kenmerken_model_resultaat;
726
    }
727
    /**
728
     * Set kenmerken_model_resultaat value
729
     * @param \Webservices\StructType\NbwoKenmerkenModelResultaat $kenmerken_model_resultaat
730
     * @return \Webservices\StructType\NbwoWaarde
731
     */
732
    public function setKenmerken_model_resultaat(\Webservices\StructType\NbwoKenmerkenModelResultaat $kenmerken_model_resultaat = null)
733
    {
734
        $this->kenmerken_model_resultaat = $kenmerken_model_resultaat;
735
        return $this;
736
    }
737
    /**
738
     * Method called when an object has been exported with var_export() functions
739
     * It allows to return an object instantiated with the values
740
     * @see AbstractStructBase::__set_state()
741
     * @uses AbstractStructBase::__set_state()
742
     * @param array $array the exported values
743
     * @return \Webservices\StructType\NbwoWaarde
744
     */
745
    public static function __set_state(array $array)
746
    {
747
        return parent::__set_state($array);
748
    }
749
    /**
750
     * Method returning the class name
751
     * @return string __CLASS__
752
     */
753
    public function __toString()
754
    {
755
        return __CLASS__;
756
    }
757
}
758