DutchBusinessPosition::setInauguration_date()   A
last analyzed

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 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Webservices\StructType;
4
5
use \WsdlToPhp\PackageBase\AbstractStructBase;
6
7
/**
8
 * This class stands for DutchBusinessPosition StructType
9
 * @subpackage Structs
10
 * @author JCID <[email protected]>
11
 */
12
class DutchBusinessPosition extends AbstractStructBase
13
{
14
    /**
15
     * The trade_names
16
     * Meta informations extracted from the WSDL
17
     * - minOccurs: 0
18
     * @var \Webservices\ArrayType\StringArray
19
     */
20
    public $trade_names;
21
    /**
22
     * The dossier_number
23
     * Meta informations extracted from the WSDL
24
     * - minOccurs: 0
25
     * @var string
26
     */
27
    public $dossier_number;
28
    /**
29
     * The establishment_number
30
     * Meta informations extracted from the WSDL
31
     * - minOccurs: 0
32
     * @var string
33
     */
34
    public $establishment_number;
35
    /**
36
     * The name
37
     * Meta informations extracted from the WSDL
38
     * - minOccurs: 0
39
     * @var string
40
     */
41
    public $name;
42
    /**
43
     * The first_name
44
     * Meta informations extracted from the WSDL
45
     * - minOccurs: 0
46
     * @var string
47
     */
48
    public $first_name;
49
    /**
50
     * The title
51
     * Meta informations extracted from the WSDL
52
     * - minOccurs: 0
53
     * @var string
54
     */
55
    public $title;
56
    /**
57
     * The initials
58
     * Meta informations extracted from the WSDL
59
     * - minOccurs: 0
60
     * @var string
61
     */
62
    public $initials;
63
    /**
64
     * The last_name
65
     * Meta informations extracted from the WSDL
66
     * - minOccurs: 0
67
     * @var string
68
     */
69
    public $last_name;
70
    /**
71
     * The function_type
72
     * Meta informations extracted from the WSDL
73
     * - minOccurs: 0
74
     * @var string
75
     */
76
    public $function_type;
77
    /**
78
     * The function_description
79
     * Meta informations extracted from the WSDL
80
     * - minOccurs: 0
81
     * @var string
82
     */
83
    public $function_description;
84
    /**
85
     * The function_title
86
     * Meta informations extracted from the WSDL
87
     * - minOccurs: 0
88
     * @var string
89
     */
90
    public $function_title;
91
    /**
92
     * The function_start_date
93
     * Meta informations extracted from the WSDL
94
     * - minOccurs: 0
95
     * @var \Webservices\StructType\DutchBusinessDate
96
     */
97
    public $function_start_date;
98
    /**
99
     * The function_registration_date
100
     * Meta informations extracted from the WSDL
101
     * - minOccurs: 0
102
     * @var \Webservices\StructType\DutchBusinessDate
103
     */
104
    public $function_registration_date;
105
    /**
106
     * The function_end_date
107
     * Meta informations extracted from the WSDL
108
     * - minOccurs: 0
109
     * @var \Webservices\StructType\DutchBusinessDate
110
     */
111
    public $function_end_date;
112
    /**
113
     * The function_authorization
114
     * Meta informations extracted from the WSDL
115
     * - minOccurs: 0
116
     * @var string
117
     */
118
    public $function_authorization;
119
    /**
120
     * The function_authorization_description
121
     * Meta informations extracted from the WSDL
122
     * - minOccurs: 0
123
     * @var string
124
     */
125
    public $function_authorization_description;
126
    /**
127
     * The function_authorization_start_date
128
     * Meta informations extracted from the WSDL
129
     * - minOccurs: 0
130
     * @var \Webservices\StructType\DutchBusinessDate
131
     */
132
    public $function_authorization_start_date;
133
    /**
134
     * The function_authorization_signing_power
135
     * Meta informations extracted from the WSDL
136
     * - minOccurs: 0
137
     * @var string
138
     */
139
    public $function_authorization_signing_power;
140
    /**
141
     * The function_authorization_end_date
142
     * Meta informations extracted from the WSDL
143
     * - minOccurs: 0
144
     * @var \Webservices\StructType\DutchBusinessDate
145
     */
146
    public $function_authorization_end_date;
147
    /**
148
     * The authorization_description
149
     * Meta informations extracted from the WSDL
150
     * - minOccurs: 0
151
     * @var string
152
     */
153
    public $authorization_description;
154
    /**
155
     * The authorization_start_date
156
     * Meta informations extracted from the WSDL
157
     * - minOccurs: 0
158
     * @var \Webservices\StructType\DutchBusinessDate
159
     */
160
    public $authorization_start_date;
161
    /**
162
     * The authorization_end_date
163
     * Meta informations extracted from the WSDL
164
     * - minOccurs: 0
165
     * @var \Webservices\StructType\DutchBusinessDate
166
     */
167
    public $authorization_end_date;
168
    /**
169
     * The inauguration
170
     * Meta informations extracted from the WSDL
171
     * - minOccurs: 0
172
     * @var string
173
     */
174
    public $inauguration;
175
    /**
176
     * The inauguration_function
177
     * Meta informations extracted from the WSDL
178
     * - minOccurs: 0
179
     * @var string
180
     */
181
    public $inauguration_function;
182
    /**
183
     * The inauguration_duration
184
     * Meta informations extracted from the WSDL
185
     * - minOccurs: 0
186
     * @var string
187
     */
188
    public $inauguration_duration;
189
    /**
190
     * The inauguration_date
191
     * Meta informations extracted from the WSDL
192
     * - minOccurs: 0
193
     * @var \Webservices\StructType\DutchBusinessDate
194
     */
195
    public $inauguration_date;
196
    /**
197
     * The inauguration_body
198
     * Meta informations extracted from the WSDL
199
     * - minOccurs: 0
200
     * @var string
201
     */
202
    public $inauguration_body;
203
    /**
204
     * The under_receivership
205
     * Meta informations extracted from the WSDL
206
     * - minOccurs: 0
207
     * @var string
208
     */
209
    public $under_receivership;
210
    /**
211
     * The rights_against_third_parties
212
     * Meta informations extracted from the WSDL
213
     * - minOccurs: 0
214
     * @var string
215
     */
216
    public $rights_against_third_parties;
217
    /**
218
     * The release_of_covenant
219
     * Meta informations extracted from the WSDL
220
     * - minOccurs: 0
221
     * @var string
222
     */
223
    public $release_of_covenant;
224
    /**
225
     * The date_deceased
226
     * Meta informations extracted from the WSDL
227
     * - minOccurs: 0
228
     * @var \Webservices\StructType\DutchBusinessDate
229
     */
230
    public $date_deceased;
231
    /**
232
     * The date_of_birth
233
     * Meta informations extracted from the WSDL
234
     * - minOccurs: 0
235
     * @var \Webservices\StructType\DutchBusinessDate
236
     */
237
    public $date_of_birth;
238
    /**
239
     * The place_of_birth
240
     * Meta informations extracted from the WSDL
241
     * - minOccurs: 0
242
     * @var string
243
     */
244
    public $place_of_birth;
245
    /**
246
     * The country_of_birth
247
     * Meta informations extracted from the WSDL
248
     * - minOccurs: 0
249
     * @var string
250
     */
251
    public $country_of_birth;
252
    /**
253
     * The postcode
254
     * Meta informations extracted from the WSDL
255
     * - minOccurs: 0
256
     * @var string
257
     */
258
    public $postcode;
259
    /**
260
     * The city
261
     * Meta informations extracted from the WSDL
262
     * - minOccurs: 0
263
     * @var string
264
     */
265
    public $city;
266
    /**
267
     * The street
268
     * Meta informations extracted from the WSDL
269
     * - minOccurs: 0
270
     * @var string
271
     */
272
    public $street;
273
    /**
274
     * The house_number
275
     * Meta informations extracted from the WSDL
276
     * - minOccurs: 0
277
     * @var int
278
     */
279
    public $house_number;
280
    /**
281
     * The house_number_addition
282
     * Meta informations extracted from the WSDL
283
     * - minOccurs: 0
284
     * @var string
285
     */
286
    public $house_number_addition;
287
    /**
288
     * The country
289
     * Meta informations extracted from the WSDL
290
     * - minOccurs: 0
291
     * @var string
292
     */
293
    public $country;
294
    /**
295
     * The telephone_numbers
296
     * Meta informations extracted from the WSDL
297
     * - minOccurs: 0
298
     * @var \Webservices\ArrayType\StringArray
299
     */
300
    public $telephone_numbers;
301
    /**
302
     * The date_since
303
     * Meta informations extracted from the WSDL
304
     * - minOccurs: 0
305
     * @var \Webservices\StructType\DutchBusinessDate
306
     */
307
    public $date_since;
308
    /**
309
     * The date_joined
310
     * Meta informations extracted from the WSDL
311
     * - minOccurs: 0
312
     * @var \Webservices\StructType\DutchBusinessDate
313
     */
314
    public $date_joined;
315
    /**
316
     * The status
317
     * Meta informations extracted from the WSDL
318
     * - minOccurs: 0
319
     * @var string
320
     */
321
    public $status;
322
    /**
323
     * Constructor method for DutchBusinessPosition
324
     * @uses DutchBusinessPosition::setTrade_names()
325
     * @uses DutchBusinessPosition::setDossier_number()
326
     * @uses DutchBusinessPosition::setEstablishment_number()
327
     * @uses DutchBusinessPosition::setName()
328
     * @uses DutchBusinessPosition::setFirst_name()
329
     * @uses DutchBusinessPosition::setTitle()
330
     * @uses DutchBusinessPosition::setInitials()
331
     * @uses DutchBusinessPosition::setLast_name()
332
     * @uses DutchBusinessPosition::setFunction_type()
333
     * @uses DutchBusinessPosition::setFunction_description()
334
     * @uses DutchBusinessPosition::setFunction_title()
335
     * @uses DutchBusinessPosition::setFunction_start_date()
336
     * @uses DutchBusinessPosition::setFunction_registration_date()
337
     * @uses DutchBusinessPosition::setFunction_end_date()
338
     * @uses DutchBusinessPosition::setFunction_authorization()
339
     * @uses DutchBusinessPosition::setFunction_authorization_description()
340
     * @uses DutchBusinessPosition::setFunction_authorization_start_date()
341
     * @uses DutchBusinessPosition::setFunction_authorization_signing_power()
342
     * @uses DutchBusinessPosition::setFunction_authorization_end_date()
343
     * @uses DutchBusinessPosition::setAuthorization_description()
344
     * @uses DutchBusinessPosition::setAuthorization_start_date()
345
     * @uses DutchBusinessPosition::setAuthorization_end_date()
346
     * @uses DutchBusinessPosition::setInauguration()
347
     * @uses DutchBusinessPosition::setInauguration_function()
348
     * @uses DutchBusinessPosition::setInauguration_duration()
349
     * @uses DutchBusinessPosition::setInauguration_date()
350
     * @uses DutchBusinessPosition::setInauguration_body()
351
     * @uses DutchBusinessPosition::setUnder_receivership()
352
     * @uses DutchBusinessPosition::setRights_against_third_parties()
353
     * @uses DutchBusinessPosition::setRelease_of_covenant()
354
     * @uses DutchBusinessPosition::setDate_deceased()
355
     * @uses DutchBusinessPosition::setDate_of_birth()
356
     * @uses DutchBusinessPosition::setPlace_of_birth()
357
     * @uses DutchBusinessPosition::setCountry_of_birth()
358
     * @uses DutchBusinessPosition::setPostcode()
359
     * @uses DutchBusinessPosition::setCity()
360
     * @uses DutchBusinessPosition::setStreet()
361
     * @uses DutchBusinessPosition::setHouse_number()
362
     * @uses DutchBusinessPosition::setHouse_number_addition()
363
     * @uses DutchBusinessPosition::setCountry()
364
     * @uses DutchBusinessPosition::setTelephone_numbers()
365
     * @uses DutchBusinessPosition::setDate_since()
366
     * @uses DutchBusinessPosition::setDate_joined()
367
     * @uses DutchBusinessPosition::setStatus()
368
     * @param \Webservices\ArrayType\StringArray $trade_names
369
     * @param string $dossier_number
370
     * @param string $establishment_number
371
     * @param string $name
372
     * @param string $first_name
373
     * @param string $title
374
     * @param string $initials
375
     * @param string $last_name
376
     * @param string $function_type
377
     * @param string $function_description
378
     * @param string $function_title
379
     * @param \Webservices\StructType\DutchBusinessDate $function_start_date
380
     * @param \Webservices\StructType\DutchBusinessDate $function_registration_date
381
     * @param \Webservices\StructType\DutchBusinessDate $function_end_date
382
     * @param string $function_authorization
383
     * @param string $function_authorization_description
384
     * @param \Webservices\StructType\DutchBusinessDate $function_authorization_start_date
385
     * @param string $function_authorization_signing_power
386
     * @param \Webservices\StructType\DutchBusinessDate $function_authorization_end_date
387
     * @param string $authorization_description
388
     * @param \Webservices\StructType\DutchBusinessDate $authorization_start_date
389
     * @param \Webservices\StructType\DutchBusinessDate $authorization_end_date
390
     * @param string $inauguration
391
     * @param string $inauguration_function
392
     * @param string $inauguration_duration
393
     * @param \Webservices\StructType\DutchBusinessDate $inauguration_date
394
     * @param string $inauguration_body
395
     * @param string $under_receivership
396
     * @param string $rights_against_third_parties
397
     * @param string $release_of_covenant
398
     * @param \Webservices\StructType\DutchBusinessDate $date_deceased
399
     * @param \Webservices\StructType\DutchBusinessDate $date_of_birth
400
     * @param string $place_of_birth
401
     * @param string $country_of_birth
402
     * @param string $postcode
403
     * @param string $city
404
     * @param string $street
405
     * @param int $house_number
406
     * @param string $house_number_addition
407
     * @param string $country
408
     * @param \Webservices\ArrayType\StringArray $telephone_numbers
409
     * @param \Webservices\StructType\DutchBusinessDate $date_since
410
     * @param \Webservices\StructType\DutchBusinessDate $date_joined
411
     * @param string $status
412
     */
413
    public function __construct(\Webservices\ArrayType\StringArray $trade_names = null, $dossier_number = null, $establishment_number = null, $name = null, $first_name = null, $title = null, $initials = null, $last_name = null, $function_type = null, $function_description = null, $function_title = null, \Webservices\StructType\DutchBusinessDate $function_start_date = null, \Webservices\StructType\DutchBusinessDate $function_registration_date = null, \Webservices\StructType\DutchBusinessDate $function_end_date = null, $function_authorization = null, $function_authorization_description = null, \Webservices\StructType\DutchBusinessDate $function_authorization_start_date = null, $function_authorization_signing_power = null, \Webservices\StructType\DutchBusinessDate $function_authorization_end_date = null, $authorization_description = null, \Webservices\StructType\DutchBusinessDate $authorization_start_date = null, \Webservices\StructType\DutchBusinessDate $authorization_end_date = null, $inauguration = null, $inauguration_function = null, $inauguration_duration = null, \Webservices\StructType\DutchBusinessDate $inauguration_date = null, $inauguration_body = null, $under_receivership = null, $rights_against_third_parties = null, $release_of_covenant = null, \Webservices\StructType\DutchBusinessDate $date_deceased = null, \Webservices\StructType\DutchBusinessDate $date_of_birth = null, $place_of_birth = null, $country_of_birth = null, $postcode = null, $city = null, $street = null, $house_number = null, $house_number_addition = null, $country = null, \Webservices\ArrayType\StringArray $telephone_numbers = null, \Webservices\StructType\DutchBusinessDate $date_since = null, \Webservices\StructType\DutchBusinessDate $date_joined = null, $status = null)
414
    {
415
        $this
416
            ->setTrade_names($trade_names)
417
            ->setDossier_number($dossier_number)
418
            ->setEstablishment_number($establishment_number)
419
            ->setName($name)
420
            ->setFirst_name($first_name)
421
            ->setTitle($title)
422
            ->setInitials($initials)
423
            ->setLast_name($last_name)
424
            ->setFunction_type($function_type)
425
            ->setFunction_description($function_description)
426
            ->setFunction_title($function_title)
427
            ->setFunction_start_date($function_start_date)
428
            ->setFunction_registration_date($function_registration_date)
429
            ->setFunction_end_date($function_end_date)
430
            ->setFunction_authorization($function_authorization)
431
            ->setFunction_authorization_description($function_authorization_description)
432
            ->setFunction_authorization_start_date($function_authorization_start_date)
433
            ->setFunction_authorization_signing_power($function_authorization_signing_power)
434
            ->setFunction_authorization_end_date($function_authorization_end_date)
435
            ->setAuthorization_description($authorization_description)
436
            ->setAuthorization_start_date($authorization_start_date)
437
            ->setAuthorization_end_date($authorization_end_date)
438
            ->setInauguration($inauguration)
439
            ->setInauguration_function($inauguration_function)
440
            ->setInauguration_duration($inauguration_duration)
441
            ->setInauguration_date($inauguration_date)
442
            ->setInauguration_body($inauguration_body)
443
            ->setUnder_receivership($under_receivership)
444
            ->setRights_against_third_parties($rights_against_third_parties)
445
            ->setRelease_of_covenant($release_of_covenant)
446
            ->setDate_deceased($date_deceased)
447
            ->setDate_of_birth($date_of_birth)
448
            ->setPlace_of_birth($place_of_birth)
449
            ->setCountry_of_birth($country_of_birth)
450
            ->setPostcode($postcode)
451
            ->setCity($city)
452
            ->setStreet($street)
453
            ->setHouse_number($house_number)
454
            ->setHouse_number_addition($house_number_addition)
455
            ->setCountry($country)
456
            ->setTelephone_numbers($telephone_numbers)
457
            ->setDate_since($date_since)
458
            ->setDate_joined($date_joined)
459
            ->setStatus($status);
460
    }
461
    /**
462
     * Get trade_names value
463
     * @return \Webservices\ArrayType\StringArray|null
464
     */
465
    public function getTrade_names()
466
    {
467
        return $this->trade_names;
468
    }
469
    /**
470
     * Set trade_names value
471
     * @param \Webservices\ArrayType\StringArray $trade_names
472
     * @return \Webservices\StructType\DutchBusinessPosition
473
     */
474
    public function setTrade_names(\Webservices\ArrayType\StringArray $trade_names = null)
475
    {
476
        $this->trade_names = $trade_names;
477
        return $this;
478
    }
479
    /**
480
     * Get dossier_number value
481
     * @return string|null
482
     */
483
    public function getDossier_number()
484
    {
485
        return $this->dossier_number;
486
    }
487
    /**
488
     * Set dossier_number value
489
     * @param string $dossier_number
490
     * @return \Webservices\StructType\DutchBusinessPosition
491
     */
492
    public function setDossier_number($dossier_number = null)
493
    {
494
        // validation for constraint: string
495
        if (!is_null($dossier_number) && !is_string($dossier_number)) {
0 ignored issues
show
introduced by
The condition ! is_null($dossier_numbe...string($dossier_number) can never be true.
Loading history...
496
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($dossier_number)), __LINE__);
497
        }
498
        $this->dossier_number = $dossier_number;
499
        return $this;
500
    }
501
    /**
502
     * Get establishment_number value
503
     * @return string|null
504
     */
505
    public function getEstablishment_number()
506
    {
507
        return $this->establishment_number;
508
    }
509
    /**
510
     * Set establishment_number value
511
     * @param string $establishment_number
512
     * @return \Webservices\StructType\DutchBusinessPosition
513
     */
514
    public function setEstablishment_number($establishment_number = null)
515
    {
516
        // validation for constraint: string
517
        if (!is_null($establishment_number) && !is_string($establishment_number)) {
0 ignored issues
show
introduced by
The condition ! is_null($establishment...($establishment_number) can never be true.
Loading history...
518
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($establishment_number)), __LINE__);
519
        }
520
        $this->establishment_number = $establishment_number;
521
        return $this;
522
    }
523
    /**
524
     * Get name value
525
     * @return string|null
526
     */
527
    public function getName()
528
    {
529
        return $this->name;
530
    }
531
    /**
532
     * Set name value
533
     * @param string $name
534
     * @return \Webservices\StructType\DutchBusinessPosition
535
     */
536
    public function setName($name = null)
537
    {
538
        // validation for constraint: string
539
        if (!is_null($name) && !is_string($name)) {
0 ignored issues
show
introduced by
The condition ! is_null($name) && ! is_string($name) can never be true.
Loading history...
540
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($name)), __LINE__);
541
        }
542
        $this->name = $name;
543
        return $this;
544
    }
545
    /**
546
     * Get first_name value
547
     * @return string|null
548
     */
549
    public function getFirst_name()
550
    {
551
        return $this->first_name;
552
    }
553
    /**
554
     * Set first_name value
555
     * @param string $first_name
556
     * @return \Webservices\StructType\DutchBusinessPosition
557
     */
558
    public function setFirst_name($first_name = null)
559
    {
560
        // validation for constraint: string
561
        if (!is_null($first_name) && !is_string($first_name)) {
0 ignored issues
show
introduced by
The condition ! is_null($first_name) &... is_string($first_name) can never be true.
Loading history...
562
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($first_name)), __LINE__);
563
        }
564
        $this->first_name = $first_name;
565
        return $this;
566
    }
567
    /**
568
     * Get title value
569
     * @return string|null
570
     */
571
    public function getTitle()
572
    {
573
        return $this->title;
574
    }
575
    /**
576
     * Set title value
577
     * @param string $title
578
     * @return \Webservices\StructType\DutchBusinessPosition
579
     */
580
    public function setTitle($title = null)
581
    {
582
        // validation for constraint: string
583
        if (!is_null($title) && !is_string($title)) {
0 ignored issues
show
introduced by
The condition ! is_null($title) && ! is_string($title) can never be true.
Loading history...
584
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($title)), __LINE__);
585
        }
586
        $this->title = $title;
587
        return $this;
588
    }
589
    /**
590
     * Get initials value
591
     * @return string|null
592
     */
593
    public function getInitials()
594
    {
595
        return $this->initials;
596
    }
597
    /**
598
     * Set initials value
599
     * @param string $initials
600
     * @return \Webservices\StructType\DutchBusinessPosition
601
     */
602
    public function setInitials($initials = null)
603
    {
604
        // validation for constraint: string
605
        if (!is_null($initials) && !is_string($initials)) {
0 ignored issues
show
introduced by
The condition ! is_null($initials) && ! is_string($initials) can never be true.
Loading history...
606
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($initials)), __LINE__);
607
        }
608
        $this->initials = $initials;
609
        return $this;
610
    }
611
    /**
612
     * Get last_name value
613
     * @return string|null
614
     */
615
    public function getLast_name()
616
    {
617
        return $this->last_name;
618
    }
619
    /**
620
     * Set last_name value
621
     * @param string $last_name
622
     * @return \Webservices\StructType\DutchBusinessPosition
623
     */
624
    public function setLast_name($last_name = null)
625
    {
626
        // validation for constraint: string
627
        if (!is_null($last_name) && !is_string($last_name)) {
0 ignored issues
show
introduced by
The condition ! is_null($last_name) && ! is_string($last_name) can never be true.
Loading history...
628
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($last_name)), __LINE__);
629
        }
630
        $this->last_name = $last_name;
631
        return $this;
632
    }
633
    /**
634
     * Get function_type value
635
     * @return string|null
636
     */
637
    public function getFunction_type()
638
    {
639
        return $this->function_type;
640
    }
641
    /**
642
     * Set function_type value
643
     * @param string $function_type
644
     * @return \Webservices\StructType\DutchBusinessPosition
645
     */
646
    public function setFunction_type($function_type = null)
647
    {
648
        // validation for constraint: string
649
        if (!is_null($function_type) && !is_string($function_type)) {
0 ignored issues
show
introduced by
The condition ! is_null($function_type..._string($function_type) can never be true.
Loading history...
650
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($function_type)), __LINE__);
651
        }
652
        $this->function_type = $function_type;
653
        return $this;
654
    }
655
    /**
656
     * Get function_description value
657
     * @return string|null
658
     */
659
    public function getFunction_description()
660
    {
661
        return $this->function_description;
662
    }
663
    /**
664
     * Set function_description value
665
     * @param string $function_description
666
     * @return \Webservices\StructType\DutchBusinessPosition
667
     */
668
    public function setFunction_description($function_description = null)
669
    {
670
        // validation for constraint: string
671
        if (!is_null($function_description) && !is_string($function_description)) {
0 ignored issues
show
introduced by
The condition ! is_null($function_desc...($function_description) can never be true.
Loading history...
672
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($function_description)), __LINE__);
673
        }
674
        $this->function_description = $function_description;
675
        return $this;
676
    }
677
    /**
678
     * Get function_title value
679
     * @return string|null
680
     */
681
    public function getFunction_title()
682
    {
683
        return $this->function_title;
684
    }
685
    /**
686
     * Set function_title value
687
     * @param string $function_title
688
     * @return \Webservices\StructType\DutchBusinessPosition
689
     */
690
    public function setFunction_title($function_title = null)
691
    {
692
        // validation for constraint: string
693
        if (!is_null($function_title) && !is_string($function_title)) {
0 ignored issues
show
introduced by
The condition ! is_null($function_titl...string($function_title) can never be true.
Loading history...
694
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($function_title)), __LINE__);
695
        }
696
        $this->function_title = $function_title;
697
        return $this;
698
    }
699
    /**
700
     * Get function_start_date value
701
     * @return \Webservices\StructType\DutchBusinessDate|null
702
     */
703
    public function getFunction_start_date()
704
    {
705
        return $this->function_start_date;
706
    }
707
    /**
708
     * Set function_start_date value
709
     * @param \Webservices\StructType\DutchBusinessDate $function_start_date
710
     * @return \Webservices\StructType\DutchBusinessPosition
711
     */
712
    public function setFunction_start_date(\Webservices\StructType\DutchBusinessDate $function_start_date = null)
713
    {
714
        $this->function_start_date = $function_start_date;
715
        return $this;
716
    }
717
    /**
718
     * Get function_registration_date value
719
     * @return \Webservices\StructType\DutchBusinessDate|null
720
     */
721
    public function getFunction_registration_date()
722
    {
723
        return $this->function_registration_date;
724
    }
725
    /**
726
     * Set function_registration_date value
727
     * @param \Webservices\StructType\DutchBusinessDate $function_registration_date
728
     * @return \Webservices\StructType\DutchBusinessPosition
729
     */
730
    public function setFunction_registration_date(\Webservices\StructType\DutchBusinessDate $function_registration_date = null)
731
    {
732
        $this->function_registration_date = $function_registration_date;
733
        return $this;
734
    }
735
    /**
736
     * Get function_end_date value
737
     * @return \Webservices\StructType\DutchBusinessDate|null
738
     */
739
    public function getFunction_end_date()
740
    {
741
        return $this->function_end_date;
742
    }
743
    /**
744
     * Set function_end_date value
745
     * @param \Webservices\StructType\DutchBusinessDate $function_end_date
746
     * @return \Webservices\StructType\DutchBusinessPosition
747
     */
748
    public function setFunction_end_date(\Webservices\StructType\DutchBusinessDate $function_end_date = null)
749
    {
750
        $this->function_end_date = $function_end_date;
751
        return $this;
752
    }
753
    /**
754
     * Get function_authorization value
755
     * @return string|null
756
     */
757
    public function getFunction_authorization()
758
    {
759
        return $this->function_authorization;
760
    }
761
    /**
762
     * Set function_authorization value
763
     * @param string $function_authorization
764
     * @return \Webservices\StructType\DutchBusinessPosition
765
     */
766
    public function setFunction_authorization($function_authorization = null)
767
    {
768
        // validation for constraint: string
769
        if (!is_null($function_authorization) && !is_string($function_authorization)) {
0 ignored issues
show
introduced by
The condition ! is_null($function_auth...function_authorization) can never be true.
Loading history...
770
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($function_authorization)), __LINE__);
771
        }
772
        $this->function_authorization = $function_authorization;
773
        return $this;
774
    }
775
    /**
776
     * Get function_authorization_description value
777
     * @return string|null
778
     */
779
    public function getFunction_authorization_description()
780
    {
781
        return $this->function_authorization_description;
782
    }
783
    /**
784
     * Set function_authorization_description value
785
     * @param string $function_authorization_description
786
     * @return \Webservices\StructType\DutchBusinessPosition
787
     */
788
    public function setFunction_authorization_description($function_authorization_description = null)
789
    {
790
        // validation for constraint: string
791
        if (!is_null($function_authorization_description) && !is_string($function_authorization_description)) {
0 ignored issues
show
introduced by
The condition ! is_null($function_auth...horization_description) can never be true.
Loading history...
792
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($function_authorization_description)), __LINE__);
793
        }
794
        $this->function_authorization_description = $function_authorization_description;
795
        return $this;
796
    }
797
    /**
798
     * Get function_authorization_start_date value
799
     * @return \Webservices\StructType\DutchBusinessDate|null
800
     */
801
    public function getFunction_authorization_start_date()
802
    {
803
        return $this->function_authorization_start_date;
804
    }
805
    /**
806
     * Set function_authorization_start_date value
807
     * @param \Webservices\StructType\DutchBusinessDate $function_authorization_start_date
808
     * @return \Webservices\StructType\DutchBusinessPosition
809
     */
810
    public function setFunction_authorization_start_date(\Webservices\StructType\DutchBusinessDate $function_authorization_start_date = null)
811
    {
812
        $this->function_authorization_start_date = $function_authorization_start_date;
813
        return $this;
814
    }
815
    /**
816
     * Get function_authorization_signing_power value
817
     * @return string|null
818
     */
819
    public function getFunction_authorization_signing_power()
820
    {
821
        return $this->function_authorization_signing_power;
822
    }
823
    /**
824
     * Set function_authorization_signing_power value
825
     * @param string $function_authorization_signing_power
826
     * @return \Webservices\StructType\DutchBusinessPosition
827
     */
828
    public function setFunction_authorization_signing_power($function_authorization_signing_power = null)
829
    {
830
        // validation for constraint: string
831
        if (!is_null($function_authorization_signing_power) && !is_string($function_authorization_signing_power)) {
0 ignored issues
show
introduced by
The condition ! is_null($function_auth...rization_signing_power) can never be true.
Loading history...
832
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($function_authorization_signing_power)), __LINE__);
833
        }
834
        $this->function_authorization_signing_power = $function_authorization_signing_power;
835
        return $this;
836
    }
837
    /**
838
     * Get function_authorization_end_date value
839
     * @return \Webservices\StructType\DutchBusinessDate|null
840
     */
841
    public function getFunction_authorization_end_date()
842
    {
843
        return $this->function_authorization_end_date;
844
    }
845
    /**
846
     * Set function_authorization_end_date value
847
     * @param \Webservices\StructType\DutchBusinessDate $function_authorization_end_date
848
     * @return \Webservices\StructType\DutchBusinessPosition
849
     */
850
    public function setFunction_authorization_end_date(\Webservices\StructType\DutchBusinessDate $function_authorization_end_date = null)
851
    {
852
        $this->function_authorization_end_date = $function_authorization_end_date;
853
        return $this;
854
    }
855
    /**
856
     * Get authorization_description value
857
     * @return string|null
858
     */
859
    public function getAuthorization_description()
860
    {
861
        return $this->authorization_description;
862
    }
863
    /**
864
     * Set authorization_description value
865
     * @param string $authorization_description
866
     * @return \Webservices\StructType\DutchBusinessPosition
867
     */
868
    public function setAuthorization_description($authorization_description = null)
869
    {
870
        // validation for constraint: string
871
        if (!is_null($authorization_description) && !is_string($authorization_description)) {
0 ignored issues
show
introduced by
The condition ! is_null($authorization...horization_description) can never be true.
Loading history...
872
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($authorization_description)), __LINE__);
873
        }
874
        $this->authorization_description = $authorization_description;
875
        return $this;
876
    }
877
    /**
878
     * Get authorization_start_date value
879
     * @return \Webservices\StructType\DutchBusinessDate|null
880
     */
881
    public function getAuthorization_start_date()
882
    {
883
        return $this->authorization_start_date;
884
    }
885
    /**
886
     * Set authorization_start_date value
887
     * @param \Webservices\StructType\DutchBusinessDate $authorization_start_date
888
     * @return \Webservices\StructType\DutchBusinessPosition
889
     */
890
    public function setAuthorization_start_date(\Webservices\StructType\DutchBusinessDate $authorization_start_date = null)
891
    {
892
        $this->authorization_start_date = $authorization_start_date;
893
        return $this;
894
    }
895
    /**
896
     * Get authorization_end_date value
897
     * @return \Webservices\StructType\DutchBusinessDate|null
898
     */
899
    public function getAuthorization_end_date()
900
    {
901
        return $this->authorization_end_date;
902
    }
903
    /**
904
     * Set authorization_end_date value
905
     * @param \Webservices\StructType\DutchBusinessDate $authorization_end_date
906
     * @return \Webservices\StructType\DutchBusinessPosition
907
     */
908
    public function setAuthorization_end_date(\Webservices\StructType\DutchBusinessDate $authorization_end_date = null)
909
    {
910
        $this->authorization_end_date = $authorization_end_date;
911
        return $this;
912
    }
913
    /**
914
     * Get inauguration value
915
     * @return string|null
916
     */
917
    public function getInauguration()
918
    {
919
        return $this->inauguration;
920
    }
921
    /**
922
     * Set inauguration value
923
     * @param string $inauguration
924
     * @return \Webservices\StructType\DutchBusinessPosition
925
     */
926
    public function setInauguration($inauguration = null)
927
    {
928
        // validation for constraint: string
929
        if (!is_null($inauguration) && !is_string($inauguration)) {
0 ignored issues
show
introduced by
The condition ! is_null($inauguration)...s_string($inauguration) can never be true.
Loading history...
930
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($inauguration)), __LINE__);
931
        }
932
        $this->inauguration = $inauguration;
933
        return $this;
934
    }
935
    /**
936
     * Get inauguration_function value
937
     * @return string|null
938
     */
939
    public function getInauguration_function()
940
    {
941
        return $this->inauguration_function;
942
    }
943
    /**
944
     * Set inauguration_function value
945
     * @param string $inauguration_function
946
     * @return \Webservices\StructType\DutchBusinessPosition
947
     */
948
    public function setInauguration_function($inauguration_function = null)
949
    {
950
        // validation for constraint: string
951
        if (!is_null($inauguration_function) && !is_string($inauguration_function)) {
0 ignored issues
show
introduced by
The condition ! is_null($inauguration_...$inauguration_function) can never be true.
Loading history...
952
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($inauguration_function)), __LINE__);
953
        }
954
        $this->inauguration_function = $inauguration_function;
955
        return $this;
956
    }
957
    /**
958
     * Get inauguration_duration value
959
     * @return string|null
960
     */
961
    public function getInauguration_duration()
962
    {
963
        return $this->inauguration_duration;
964
    }
965
    /**
966
     * Set inauguration_duration value
967
     * @param string $inauguration_duration
968
     * @return \Webservices\StructType\DutchBusinessPosition
969
     */
970
    public function setInauguration_duration($inauguration_duration = null)
971
    {
972
        // validation for constraint: string
973
        if (!is_null($inauguration_duration) && !is_string($inauguration_duration)) {
0 ignored issues
show
introduced by
The condition ! is_null($inauguration_...$inauguration_duration) can never be true.
Loading history...
974
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($inauguration_duration)), __LINE__);
975
        }
976
        $this->inauguration_duration = $inauguration_duration;
977
        return $this;
978
    }
979
    /**
980
     * Get inauguration_date value
981
     * @return \Webservices\StructType\DutchBusinessDate|null
982
     */
983
    public function getInauguration_date()
984
    {
985
        return $this->inauguration_date;
986
    }
987
    /**
988
     * Set inauguration_date value
989
     * @param \Webservices\StructType\DutchBusinessDate $inauguration_date
990
     * @return \Webservices\StructType\DutchBusinessPosition
991
     */
992
    public function setInauguration_date(\Webservices\StructType\DutchBusinessDate $inauguration_date = null)
993
    {
994
        $this->inauguration_date = $inauguration_date;
995
        return $this;
996
    }
997
    /**
998
     * Get inauguration_body value
999
     * @return string|null
1000
     */
1001
    public function getInauguration_body()
1002
    {
1003
        return $this->inauguration_body;
1004
    }
1005
    /**
1006
     * Set inauguration_body value
1007
     * @param string $inauguration_body
1008
     * @return \Webservices\StructType\DutchBusinessPosition
1009
     */
1010
    public function setInauguration_body($inauguration_body = null)
1011
    {
1012
        // validation for constraint: string
1013
        if (!is_null($inauguration_body) && !is_string($inauguration_body)) {
0 ignored issues
show
introduced by
The condition ! is_null($inauguration_...ing($inauguration_body) can never be true.
Loading history...
1014
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($inauguration_body)), __LINE__);
1015
        }
1016
        $this->inauguration_body = $inauguration_body;
1017
        return $this;
1018
    }
1019
    /**
1020
     * Get under_receivership value
1021
     * @return string|null
1022
     */
1023
    public function getUnder_receivership()
1024
    {
1025
        return $this->under_receivership;
1026
    }
1027
    /**
1028
     * Set under_receivership value
1029
     * @param string $under_receivership
1030
     * @return \Webservices\StructType\DutchBusinessPosition
1031
     */
1032
    public function setUnder_receivership($under_receivership = null)
1033
    {
1034
        // validation for constraint: string
1035
        if (!is_null($under_receivership) && !is_string($under_receivership)) {
0 ignored issues
show
introduced by
The condition ! is_null($under_receive...ng($under_receivership) can never be true.
Loading history...
1036
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($under_receivership)), __LINE__);
1037
        }
1038
        $this->under_receivership = $under_receivership;
1039
        return $this;
1040
    }
1041
    /**
1042
     * Get rights_against_third_parties value
1043
     * @return string|null
1044
     */
1045
    public function getRights_against_third_parties()
1046
    {
1047
        return $this->rights_against_third_parties;
1048
    }
1049
    /**
1050
     * Set rights_against_third_parties value
1051
     * @param string $rights_against_third_parties
1052
     * @return \Webservices\StructType\DutchBusinessPosition
1053
     */
1054
    public function setRights_against_third_parties($rights_against_third_parties = null)
1055
    {
1056
        // validation for constraint: string
1057
        if (!is_null($rights_against_third_parties) && !is_string($rights_against_third_parties)) {
0 ignored issues
show
introduced by
The condition ! is_null($rights_agains..._against_third_parties) can never be true.
Loading history...
1058
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($rights_against_third_parties)), __LINE__);
1059
        }
1060
        $this->rights_against_third_parties = $rights_against_third_parties;
1061
        return $this;
1062
    }
1063
    /**
1064
     * Get release_of_covenant value
1065
     * @return string|null
1066
     */
1067
    public function getRelease_of_covenant()
1068
    {
1069
        return $this->release_of_covenant;
1070
    }
1071
    /**
1072
     * Set release_of_covenant value
1073
     * @param string $release_of_covenant
1074
     * @return \Webservices\StructType\DutchBusinessPosition
1075
     */
1076
    public function setRelease_of_covenant($release_of_covenant = null)
1077
    {
1078
        // validation for constraint: string
1079
        if (!is_null($release_of_covenant) && !is_string($release_of_covenant)) {
0 ignored issues
show
introduced by
The condition ! is_null($release_of_co...g($release_of_covenant) can never be true.
Loading history...
1080
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($release_of_covenant)), __LINE__);
1081
        }
1082
        $this->release_of_covenant = $release_of_covenant;
1083
        return $this;
1084
    }
1085
    /**
1086
     * Get date_deceased value
1087
     * @return \Webservices\StructType\DutchBusinessDate|null
1088
     */
1089
    public function getDate_deceased()
1090
    {
1091
        return $this->date_deceased;
1092
    }
1093
    /**
1094
     * Set date_deceased value
1095
     * @param \Webservices\StructType\DutchBusinessDate $date_deceased
1096
     * @return \Webservices\StructType\DutchBusinessPosition
1097
     */
1098
    public function setDate_deceased(\Webservices\StructType\DutchBusinessDate $date_deceased = null)
1099
    {
1100
        $this->date_deceased = $date_deceased;
1101
        return $this;
1102
    }
1103
    /**
1104
     * Get date_of_birth value
1105
     * @return \Webservices\StructType\DutchBusinessDate|null
1106
     */
1107
    public function getDate_of_birth()
1108
    {
1109
        return $this->date_of_birth;
1110
    }
1111
    /**
1112
     * Set date_of_birth value
1113
     * @param \Webservices\StructType\DutchBusinessDate $date_of_birth
1114
     * @return \Webservices\StructType\DutchBusinessPosition
1115
     */
1116
    public function setDate_of_birth(\Webservices\StructType\DutchBusinessDate $date_of_birth = null)
1117
    {
1118
        $this->date_of_birth = $date_of_birth;
1119
        return $this;
1120
    }
1121
    /**
1122
     * Get place_of_birth value
1123
     * @return string|null
1124
     */
1125
    public function getPlace_of_birth()
1126
    {
1127
        return $this->place_of_birth;
1128
    }
1129
    /**
1130
     * Set place_of_birth value
1131
     * @param string $place_of_birth
1132
     * @return \Webservices\StructType\DutchBusinessPosition
1133
     */
1134
    public function setPlace_of_birth($place_of_birth = null)
1135
    {
1136
        // validation for constraint: string
1137
        if (!is_null($place_of_birth) && !is_string($place_of_birth)) {
0 ignored issues
show
introduced by
The condition ! is_null($place_of_birt...string($place_of_birth) can never be true.
Loading history...
1138
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($place_of_birth)), __LINE__);
1139
        }
1140
        $this->place_of_birth = $place_of_birth;
1141
        return $this;
1142
    }
1143
    /**
1144
     * Get country_of_birth value
1145
     * @return string|null
1146
     */
1147
    public function getCountry_of_birth()
1148
    {
1149
        return $this->country_of_birth;
1150
    }
1151
    /**
1152
     * Set country_of_birth value
1153
     * @param string $country_of_birth
1154
     * @return \Webservices\StructType\DutchBusinessPosition
1155
     */
1156
    public function setCountry_of_birth($country_of_birth = null)
1157
    {
1158
        // validation for constraint: string
1159
        if (!is_null($country_of_birth) && !is_string($country_of_birth)) {
0 ignored issues
show
introduced by
The condition ! is_null($country_of_bi...ring($country_of_birth) can never be true.
Loading history...
1160
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($country_of_birth)), __LINE__);
1161
        }
1162
        $this->country_of_birth = $country_of_birth;
1163
        return $this;
1164
    }
1165
    /**
1166
     * Get postcode value
1167
     * @return string|null
1168
     */
1169
    public function getPostcode()
1170
    {
1171
        return $this->postcode;
1172
    }
1173
    /**
1174
     * Set postcode value
1175
     * @param string $postcode
1176
     * @return \Webservices\StructType\DutchBusinessPosition
1177
     */
1178
    public function setPostcode($postcode = null)
1179
    {
1180
        // validation for constraint: string
1181
        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...
1182
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($postcode)), __LINE__);
1183
        }
1184
        $this->postcode = $postcode;
1185
        return $this;
1186
    }
1187
    /**
1188
     * Get city value
1189
     * @return string|null
1190
     */
1191
    public function getCity()
1192
    {
1193
        return $this->city;
1194
    }
1195
    /**
1196
     * Set city value
1197
     * @param string $city
1198
     * @return \Webservices\StructType\DutchBusinessPosition
1199
     */
1200
    public function setCity($city = null)
1201
    {
1202
        // validation for constraint: string
1203
        if (!is_null($city) && !is_string($city)) {
0 ignored issues
show
introduced by
The condition ! is_null($city) && ! is_string($city) can never be true.
Loading history...
1204
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($city)), __LINE__);
1205
        }
1206
        $this->city = $city;
1207
        return $this;
1208
    }
1209
    /**
1210
     * Get street value
1211
     * @return string|null
1212
     */
1213
    public function getStreet()
1214
    {
1215
        return $this->street;
1216
    }
1217
    /**
1218
     * Set street value
1219
     * @param string $street
1220
     * @return \Webservices\StructType\DutchBusinessPosition
1221
     */
1222
    public function setStreet($street = null)
1223
    {
1224
        // validation for constraint: string
1225
        if (!is_null($street) && !is_string($street)) {
0 ignored issues
show
introduced by
The condition ! is_null($street) && ! is_string($street) can never be true.
Loading history...
1226
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($street)), __LINE__);
1227
        }
1228
        $this->street = $street;
1229
        return $this;
1230
    }
1231
    /**
1232
     * Get house_number value
1233
     * @return int|null
1234
     */
1235
    public function getHouse_number()
1236
    {
1237
        return $this->house_number;
1238
    }
1239
    /**
1240
     * Set house_number value
1241
     * @param int $house_number
1242
     * @return \Webservices\StructType\DutchBusinessPosition
1243
     */
1244
    public function setHouse_number($house_number = null)
1245
    {
1246
        // validation for constraint: int
1247
        if (!is_null($house_number) && !is_numeric($house_number)) {
0 ignored issues
show
introduced by
The condition ! is_null($house_number)..._numeric($house_number) can never be true.
Loading history...
1248
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($house_number)), __LINE__);
1249
        }
1250
        $this->house_number = $house_number;
1251
        return $this;
1252
    }
1253
    /**
1254
     * Get house_number_addition value
1255
     * @return string|null
1256
     */
1257
    public function getHouse_number_addition()
1258
    {
1259
        return $this->house_number_addition;
1260
    }
1261
    /**
1262
     * Set house_number_addition value
1263
     * @param string $house_number_addition
1264
     * @return \Webservices\StructType\DutchBusinessPosition
1265
     */
1266
    public function setHouse_number_addition($house_number_addition = null)
1267
    {
1268
        // validation for constraint: string
1269
        if (!is_null($house_number_addition) && !is_string($house_number_addition)) {
0 ignored issues
show
introduced by
The condition ! is_null($house_number_...$house_number_addition) can never be true.
Loading history...
1270
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($house_number_addition)), __LINE__);
1271
        }
1272
        $this->house_number_addition = $house_number_addition;
1273
        return $this;
1274
    }
1275
    /**
1276
     * Get country value
1277
     * @return string|null
1278
     */
1279
    public function getCountry()
1280
    {
1281
        return $this->country;
1282
    }
1283
    /**
1284
     * Set country value
1285
     * @param string $country
1286
     * @return \Webservices\StructType\DutchBusinessPosition
1287
     */
1288
    public function setCountry($country = null)
1289
    {
1290
        // validation for constraint: string
1291
        if (!is_null($country) && !is_string($country)) {
0 ignored issues
show
introduced by
The condition ! is_null($country) && ! is_string($country) can never be true.
Loading history...
1292
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($country)), __LINE__);
1293
        }
1294
        $this->country = $country;
1295
        return $this;
1296
    }
1297
    /**
1298
     * Get telephone_numbers value
1299
     * @return \Webservices\ArrayType\StringArray|null
1300
     */
1301
    public function getTelephone_numbers()
1302
    {
1303
        return $this->telephone_numbers;
1304
    }
1305
    /**
1306
     * Set telephone_numbers value
1307
     * @param \Webservices\ArrayType\StringArray $telephone_numbers
1308
     * @return \Webservices\StructType\DutchBusinessPosition
1309
     */
1310
    public function setTelephone_numbers(\Webservices\ArrayType\StringArray $telephone_numbers = null)
1311
    {
1312
        $this->telephone_numbers = $telephone_numbers;
1313
        return $this;
1314
    }
1315
    /**
1316
     * Get date_since value
1317
     * @return \Webservices\StructType\DutchBusinessDate|null
1318
     */
1319
    public function getDate_since()
1320
    {
1321
        return $this->date_since;
1322
    }
1323
    /**
1324
     * Set date_since value
1325
     * @param \Webservices\StructType\DutchBusinessDate $date_since
1326
     * @return \Webservices\StructType\DutchBusinessPosition
1327
     */
1328
    public function setDate_since(\Webservices\StructType\DutchBusinessDate $date_since = null)
1329
    {
1330
        $this->date_since = $date_since;
1331
        return $this;
1332
    }
1333
    /**
1334
     * Get date_joined value
1335
     * @return \Webservices\StructType\DutchBusinessDate|null
1336
     */
1337
    public function getDate_joined()
1338
    {
1339
        return $this->date_joined;
1340
    }
1341
    /**
1342
     * Set date_joined value
1343
     * @param \Webservices\StructType\DutchBusinessDate $date_joined
1344
     * @return \Webservices\StructType\DutchBusinessPosition
1345
     */
1346
    public function setDate_joined(\Webservices\StructType\DutchBusinessDate $date_joined = null)
1347
    {
1348
        $this->date_joined = $date_joined;
1349
        return $this;
1350
    }
1351
    /**
1352
     * Get status value
1353
     * @return string|null
1354
     */
1355
    public function getStatus()
1356
    {
1357
        return $this->status;
1358
    }
1359
    /**
1360
     * Set status value
1361
     * @param string $status
1362
     * @return \Webservices\StructType\DutchBusinessPosition
1363
     */
1364
    public function setStatus($status = null)
1365
    {
1366
        // validation for constraint: string
1367
        if (!is_null($status) && !is_string($status)) {
0 ignored issues
show
introduced by
The condition ! is_null($status) && ! is_string($status) can never be true.
Loading history...
1368
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($status)), __LINE__);
1369
        }
1370
        $this->status = $status;
1371
        return $this;
1372
    }
1373
    /**
1374
     * Method called when an object has been exported with var_export() functions
1375
     * It allows to return an object instantiated with the values
1376
     * @see AbstractStructBase::__set_state()
1377
     * @uses AbstractStructBase::__set_state()
1378
     * @param array $array the exported values
1379
     * @return \Webservices\StructType\DutchBusinessPosition
1380
     */
1381
    public static function __set_state(array $array)
1382
    {
1383
        return parent::__set_state($array);
1384
    }
1385
    /**
1386
     * Method returning the class name
1387
     * @return string __CLASS__
1388
     */
1389
    public function __toString()
1390
    {
1391
        return __CLASS__;
1392
    }
1393
}
1394