| Total Complexity | 163 |
| Total Lines | 1228 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
Complex classes like BusinessDossier often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes.
Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.
While breaking up the class, it is a good idea to analyze how other classes use BusinessDossier, and based on these observations, apply Extract Interface, too.
| 1 | <?php |
||
| 12 | class BusinessDossier extends AbstractStructBase |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * The RegisterLetter |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | public $RegisterLetter; |
||
| 19 | /** |
||
| 20 | * The DossierNo |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | public $DossierNo; |
||
| 24 | /** |
||
| 25 | * The SubDossierNo |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | public $SubDossierNo; |
||
| 29 | /** |
||
| 30 | * The ChamberNo |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | public $ChamberNo; |
||
| 34 | /** |
||
| 35 | * The Legalformcode |
||
| 36 | * @var string |
||
| 37 | */ |
||
| 38 | public $Legalformcode; |
||
| 39 | /** |
||
| 40 | * The LegalformcodeText |
||
| 41 | * @var string |
||
| 42 | */ |
||
| 43 | public $LegalformcodeText; |
||
| 44 | /** |
||
| 45 | * The PreviousDossierNo |
||
| 46 | * @var string |
||
| 47 | */ |
||
| 48 | public $PreviousDossierNo; |
||
| 49 | /** |
||
| 50 | * The PreviousSubDossierNo |
||
| 51 | * @var string |
||
| 52 | */ |
||
| 53 | public $PreviousSubDossierNo; |
||
| 54 | /** |
||
| 55 | * The Tradename30 |
||
| 56 | * @var string |
||
| 57 | */ |
||
| 58 | public $Tradename30; |
||
| 59 | /** |
||
| 60 | * The Tradename1x30 |
||
| 61 | * @var string |
||
| 62 | */ |
||
| 63 | public $Tradename1x30; |
||
| 64 | /** |
||
| 65 | * The Tradename2x30 |
||
| 66 | * @var string |
||
| 67 | */ |
||
| 68 | public $Tradename2x30; |
||
| 69 | /** |
||
| 70 | * The Tradename45 |
||
| 71 | * @var string |
||
| 72 | */ |
||
| 73 | public $Tradename45; |
||
| 74 | /** |
||
| 75 | * The TradenameFull |
||
| 76 | * @var string |
||
| 77 | */ |
||
| 78 | public $TradenameFull; |
||
| 79 | /** |
||
| 80 | * The EstablishmentAddress |
||
| 81 | * @var string |
||
| 82 | */ |
||
| 83 | public $EstablishmentAddress; |
||
| 84 | /** |
||
| 85 | * The EstablishmentPostcodeCity |
||
| 86 | * @var string |
||
| 87 | */ |
||
| 88 | public $EstablishmentPostcodeCity; |
||
| 89 | /** |
||
| 90 | * The EstablishmentStreetname |
||
| 91 | * @var string |
||
| 92 | */ |
||
| 93 | public $EstablishmentStreetname; |
||
| 94 | /** |
||
| 95 | * The EstablishmentHouseNo |
||
| 96 | * @var int |
||
| 97 | */ |
||
| 98 | public $EstablishmentHouseNo; |
||
| 99 | /** |
||
| 100 | * The EstablishmentHouseNoAddition |
||
| 101 | * @var string |
||
| 102 | */ |
||
| 103 | public $EstablishmentHouseNoAddition; |
||
| 104 | /** |
||
| 105 | * The EstablishmentPostcode |
||
| 106 | * @var string |
||
| 107 | */ |
||
| 108 | public $EstablishmentPostcode; |
||
| 109 | /** |
||
| 110 | * The CorrespondenceAddress |
||
| 111 | * @var string |
||
| 112 | */ |
||
| 113 | public $CorrespondenceAddress; |
||
| 114 | /** |
||
| 115 | * The CorrespondencePostcodeCity |
||
| 116 | * @var string |
||
| 117 | */ |
||
| 118 | public $CorrespondencePostcodeCity; |
||
| 119 | /** |
||
| 120 | * The CorrespondenceStreetname |
||
| 121 | * @var string |
||
| 122 | */ |
||
| 123 | public $CorrespondenceStreetname; |
||
| 124 | /** |
||
| 125 | * The CorrespondenceHouseNo |
||
| 126 | * @var int |
||
| 127 | */ |
||
| 128 | public $CorrespondenceHouseNo; |
||
| 129 | /** |
||
| 130 | * The CorrespondenceHouseNoAddition |
||
| 131 | * @var string |
||
| 132 | */ |
||
| 133 | public $CorrespondenceHouseNoAddition; |
||
| 134 | /** |
||
| 135 | * The CorrespondencePostcode |
||
| 136 | * @var string |
||
| 137 | */ |
||
| 138 | public $CorrespondencePostcode; |
||
| 139 | /** |
||
| 140 | * The TelephoneNo |
||
| 141 | * @var string |
||
| 142 | */ |
||
| 143 | public $TelephoneNo; |
||
| 144 | /** |
||
| 145 | * The Domainname |
||
| 146 | * @var string |
||
| 147 | */ |
||
| 148 | public $Domainname; |
||
| 149 | /** |
||
| 150 | * The PrimaryActivitycode |
||
| 151 | * @var string |
||
| 152 | */ |
||
| 153 | public $PrimaryActivitycode; |
||
| 154 | /** |
||
| 155 | * The SecondaryActivitycode1 |
||
| 156 | * @var string |
||
| 157 | */ |
||
| 158 | public $SecondaryActivitycode1; |
||
| 159 | /** |
||
| 160 | * The SecondaryActivitycode2 |
||
| 161 | * @var string |
||
| 162 | */ |
||
| 163 | public $SecondaryActivitycode2; |
||
| 164 | /** |
||
| 165 | * The PrimaryActivitycodeText |
||
| 166 | * @var string |
||
| 167 | */ |
||
| 168 | public $PrimaryActivitycodeText; |
||
| 169 | /** |
||
| 170 | * The SecondaryActivitycode1Text |
||
| 171 | * @var string |
||
| 172 | */ |
||
| 173 | public $SecondaryActivitycode1Text; |
||
| 174 | /** |
||
| 175 | * The SecondaryActivitycode2Text |
||
| 176 | * @var string |
||
| 177 | */ |
||
| 178 | public $SecondaryActivitycode2Text; |
||
| 179 | /** |
||
| 180 | * The PersonnelFulltime |
||
| 181 | * @var string |
||
| 182 | */ |
||
| 183 | public $PersonnelFulltime; |
||
| 184 | /** |
||
| 185 | * The ClassPersonnelFulltime |
||
| 186 | * @var string |
||
| 187 | */ |
||
| 188 | public $ClassPersonnelFulltime; |
||
| 189 | /** |
||
| 190 | * The IndicationOrganisationcode |
||
| 191 | * @var string |
||
| 192 | */ |
||
| 193 | public $IndicationOrganisationcode; |
||
| 194 | /** |
||
| 195 | * The IndicationEconomicallyActive |
||
| 196 | * @var string |
||
| 197 | */ |
||
| 198 | public $IndicationEconomicallyActive; |
||
| 199 | /** |
||
| 200 | * The IndicationNonMailing |
||
| 201 | * @var string |
||
| 202 | */ |
||
| 203 | public $IndicationNonMailing; |
||
| 204 | /** |
||
| 205 | * The IndicationBankruptcy |
||
| 206 | * @var string |
||
| 207 | */ |
||
| 208 | public $IndicationBankruptcy; |
||
| 209 | /** |
||
| 210 | * The IndicationDIP |
||
| 211 | * @var string |
||
| 212 | */ |
||
| 213 | public $IndicationDIP; |
||
| 214 | /** |
||
| 215 | * Constructor method for BusinessDossier |
||
| 216 | * @uses BusinessDossier::setRegisterLetter() |
||
| 217 | * @uses BusinessDossier::setDossierNo() |
||
| 218 | * @uses BusinessDossier::setSubDossierNo() |
||
| 219 | * @uses BusinessDossier::setChamberNo() |
||
| 220 | * @uses BusinessDossier::setLegalformcode() |
||
| 221 | * @uses BusinessDossier::setLegalformcodeText() |
||
| 222 | * @uses BusinessDossier::setPreviousDossierNo() |
||
| 223 | * @uses BusinessDossier::setPreviousSubDossierNo() |
||
| 224 | * @uses BusinessDossier::setTradename30() |
||
| 225 | * @uses BusinessDossier::setTradename1x30() |
||
| 226 | * @uses BusinessDossier::setTradename2x30() |
||
| 227 | * @uses BusinessDossier::setTradename45() |
||
| 228 | * @uses BusinessDossier::setTradenameFull() |
||
| 229 | * @uses BusinessDossier::setEstablishmentAddress() |
||
| 230 | * @uses BusinessDossier::setEstablishmentPostcodeCity() |
||
| 231 | * @uses BusinessDossier::setEstablishmentStreetname() |
||
| 232 | * @uses BusinessDossier::setEstablishmentHouseNo() |
||
| 233 | * @uses BusinessDossier::setEstablishmentHouseNoAddition() |
||
| 234 | * @uses BusinessDossier::setEstablishmentPostcode() |
||
| 235 | * @uses BusinessDossier::setCorrespondenceAddress() |
||
| 236 | * @uses BusinessDossier::setCorrespondencePostcodeCity() |
||
| 237 | * @uses BusinessDossier::setCorrespondenceStreetname() |
||
| 238 | * @uses BusinessDossier::setCorrespondenceHouseNo() |
||
| 239 | * @uses BusinessDossier::setCorrespondenceHouseNoAddition() |
||
| 240 | * @uses BusinessDossier::setCorrespondencePostcode() |
||
| 241 | * @uses BusinessDossier::setTelephoneNo() |
||
| 242 | * @uses BusinessDossier::setDomainname() |
||
| 243 | * @uses BusinessDossier::setPrimaryActivitycode() |
||
| 244 | * @uses BusinessDossier::setSecondaryActivitycode1() |
||
| 245 | * @uses BusinessDossier::setSecondaryActivitycode2() |
||
| 246 | * @uses BusinessDossier::setPrimaryActivitycodeText() |
||
| 247 | * @uses BusinessDossier::setSecondaryActivitycode1Text() |
||
| 248 | * @uses BusinessDossier::setSecondaryActivitycode2Text() |
||
| 249 | * @uses BusinessDossier::setPersonnelFulltime() |
||
| 250 | * @uses BusinessDossier::setClassPersonnelFulltime() |
||
| 251 | * @uses BusinessDossier::setIndicationOrganisationcode() |
||
| 252 | * @uses BusinessDossier::setIndicationEconomicallyActive() |
||
| 253 | * @uses BusinessDossier::setIndicationNonMailing() |
||
| 254 | * @uses BusinessDossier::setIndicationBankruptcy() |
||
| 255 | * @uses BusinessDossier::setIndicationDIP() |
||
| 256 | * @param string $registerLetter |
||
| 257 | * @param string $dossierNo |
||
| 258 | * @param string $subDossierNo |
||
| 259 | * @param string $chamberNo |
||
| 260 | * @param string $legalformcode |
||
| 261 | * @param string $legalformcodeText |
||
| 262 | * @param string $previousDossierNo |
||
| 263 | * @param string $previousSubDossierNo |
||
| 264 | * @param string $tradename30 |
||
| 265 | * @param string $tradename1x30 |
||
| 266 | * @param string $tradename2x30 |
||
| 267 | * @param string $tradename45 |
||
| 268 | * @param string $tradenameFull |
||
| 269 | * @param string $establishmentAddress |
||
| 270 | * @param string $establishmentPostcodeCity |
||
| 271 | * @param string $establishmentStreetname |
||
| 272 | * @param int $establishmentHouseNo |
||
| 273 | * @param string $establishmentHouseNoAddition |
||
| 274 | * @param string $establishmentPostcode |
||
| 275 | * @param string $correspondenceAddress |
||
| 276 | * @param string $correspondencePostcodeCity |
||
| 277 | * @param string $correspondenceStreetname |
||
| 278 | * @param int $correspondenceHouseNo |
||
| 279 | * @param string $correspondenceHouseNoAddition |
||
| 280 | * @param string $correspondencePostcode |
||
| 281 | * @param string $telephoneNo |
||
| 282 | * @param string $domainname |
||
| 283 | * @param string $primaryActivitycode |
||
| 284 | * @param string $secondaryActivitycode1 |
||
| 285 | * @param string $secondaryActivitycode2 |
||
| 286 | * @param string $primaryActivitycodeText |
||
| 287 | * @param string $secondaryActivitycode1Text |
||
| 288 | * @param string $secondaryActivitycode2Text |
||
| 289 | * @param string $personnelFulltime |
||
| 290 | * @param string $classPersonnelFulltime |
||
| 291 | * @param string $indicationOrganisationcode |
||
| 292 | * @param string $indicationEconomicallyActive |
||
| 293 | * @param string $indicationNonMailing |
||
| 294 | * @param string $indicationBankruptcy |
||
| 295 | * @param string $indicationDIP |
||
| 296 | */ |
||
| 297 | public function __construct($registerLetter = null, $dossierNo = null, $subDossierNo = null, $chamberNo = null, $legalformcode = null, $legalformcodeText = null, $previousDossierNo = null, $previousSubDossierNo = null, $tradename30 = null, $tradename1x30 = null, $tradename2x30 = null, $tradename45 = null, $tradenameFull = null, $establishmentAddress = null, $establishmentPostcodeCity = null, $establishmentStreetname = null, $establishmentHouseNo = null, $establishmentHouseNoAddition = null, $establishmentPostcode = null, $correspondenceAddress = null, $correspondencePostcodeCity = null, $correspondenceStreetname = null, $correspondenceHouseNo = null, $correspondenceHouseNoAddition = null, $correspondencePostcode = null, $telephoneNo = null, $domainname = null, $primaryActivitycode = null, $secondaryActivitycode1 = null, $secondaryActivitycode2 = null, $primaryActivitycodeText = null, $secondaryActivitycode1Text = null, $secondaryActivitycode2Text = null, $personnelFulltime = null, $classPersonnelFulltime = null, $indicationOrganisationcode = null, $indicationEconomicallyActive = null, $indicationNonMailing = null, $indicationBankruptcy = null, $indicationDIP = null) |
||
| 298 | { |
||
| 299 | $this |
||
| 300 | ->setRegisterLetter($registerLetter) |
||
| 301 | ->setDossierNo($dossierNo) |
||
| 302 | ->setSubDossierNo($subDossierNo) |
||
| 303 | ->setChamberNo($chamberNo) |
||
| 304 | ->setLegalformcode($legalformcode) |
||
| 305 | ->setLegalformcodeText($legalformcodeText) |
||
| 306 | ->setPreviousDossierNo($previousDossierNo) |
||
| 307 | ->setPreviousSubDossierNo($previousSubDossierNo) |
||
| 308 | ->setTradename30($tradename30) |
||
| 309 | ->setTradename1x30($tradename1x30) |
||
| 310 | ->setTradename2x30($tradename2x30) |
||
| 311 | ->setTradename45($tradename45) |
||
| 312 | ->setTradenameFull($tradenameFull) |
||
| 313 | ->setEstablishmentAddress($establishmentAddress) |
||
| 314 | ->setEstablishmentPostcodeCity($establishmentPostcodeCity) |
||
| 315 | ->setEstablishmentStreetname($establishmentStreetname) |
||
| 316 | ->setEstablishmentHouseNo($establishmentHouseNo) |
||
| 317 | ->setEstablishmentHouseNoAddition($establishmentHouseNoAddition) |
||
| 318 | ->setEstablishmentPostcode($establishmentPostcode) |
||
| 319 | ->setCorrespondenceAddress($correspondenceAddress) |
||
| 320 | ->setCorrespondencePostcodeCity($correspondencePostcodeCity) |
||
| 321 | ->setCorrespondenceStreetname($correspondenceStreetname) |
||
| 322 | ->setCorrespondenceHouseNo($correspondenceHouseNo) |
||
| 323 | ->setCorrespondenceHouseNoAddition($correspondenceHouseNoAddition) |
||
| 324 | ->setCorrespondencePostcode($correspondencePostcode) |
||
| 325 | ->setTelephoneNo($telephoneNo) |
||
| 326 | ->setDomainname($domainname) |
||
| 327 | ->setPrimaryActivitycode($primaryActivitycode) |
||
| 328 | ->setSecondaryActivitycode1($secondaryActivitycode1) |
||
| 329 | ->setSecondaryActivitycode2($secondaryActivitycode2) |
||
| 330 | ->setPrimaryActivitycodeText($primaryActivitycodeText) |
||
| 331 | ->setSecondaryActivitycode1Text($secondaryActivitycode1Text) |
||
| 332 | ->setSecondaryActivitycode2Text($secondaryActivitycode2Text) |
||
| 333 | ->setPersonnelFulltime($personnelFulltime) |
||
| 334 | ->setClassPersonnelFulltime($classPersonnelFulltime) |
||
| 335 | ->setIndicationOrganisationcode($indicationOrganisationcode) |
||
| 336 | ->setIndicationEconomicallyActive($indicationEconomicallyActive) |
||
| 337 | ->setIndicationNonMailing($indicationNonMailing) |
||
| 338 | ->setIndicationBankruptcy($indicationBankruptcy) |
||
| 339 | ->setIndicationDIP($indicationDIP); |
||
| 340 | } |
||
| 341 | /** |
||
| 342 | * Get RegisterLetter value |
||
| 343 | * @return string|null |
||
| 344 | */ |
||
| 345 | public function getRegisterLetter() |
||
| 346 | { |
||
| 347 | return $this->RegisterLetter; |
||
| 348 | } |
||
| 349 | /** |
||
| 350 | * Set RegisterLetter value |
||
| 351 | * @param string $registerLetter |
||
| 352 | * @return \Webservices\StructType\BusinessDossier |
||
| 353 | */ |
||
| 354 | public function setRegisterLetter($registerLetter = null) |
||
| 355 | { |
||
| 356 | // validation for constraint: string |
||
| 357 | if (!is_null($registerLetter) && !is_string($registerLetter)) { |
||
|
|
|||
| 358 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($registerLetter)), __LINE__); |
||
| 359 | } |
||
| 360 | $this->RegisterLetter = $registerLetter; |
||
| 361 | return $this; |
||
| 362 | } |
||
| 363 | /** |
||
| 364 | * Get DossierNo value |
||
| 365 | * @return string|null |
||
| 366 | */ |
||
| 367 | public function getDossierNo() |
||
| 368 | { |
||
| 369 | return $this->DossierNo; |
||
| 370 | } |
||
| 371 | /** |
||
| 372 | * Set DossierNo value |
||
| 373 | * @param string $dossierNo |
||
| 374 | * @return \Webservices\StructType\BusinessDossier |
||
| 375 | */ |
||
| 376 | public function setDossierNo($dossierNo = null) |
||
| 377 | { |
||
| 378 | // validation for constraint: string |
||
| 379 | if (!is_null($dossierNo) && !is_string($dossierNo)) { |
||
| 380 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($dossierNo)), __LINE__); |
||
| 381 | } |
||
| 382 | $this->DossierNo = $dossierNo; |
||
| 383 | return $this; |
||
| 384 | } |
||
| 385 | /** |
||
| 386 | * Get SubDossierNo value |
||
| 387 | * @return string|null |
||
| 388 | */ |
||
| 389 | public function getSubDossierNo() |
||
| 390 | { |
||
| 391 | return $this->SubDossierNo; |
||
| 392 | } |
||
| 393 | /** |
||
| 394 | * Set SubDossierNo value |
||
| 395 | * @param string $subDossierNo |
||
| 396 | * @return \Webservices\StructType\BusinessDossier |
||
| 397 | */ |
||
| 398 | public function setSubDossierNo($subDossierNo = null) |
||
| 399 | { |
||
| 400 | // validation for constraint: string |
||
| 401 | if (!is_null($subDossierNo) && !is_string($subDossierNo)) { |
||
| 402 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($subDossierNo)), __LINE__); |
||
| 403 | } |
||
| 404 | $this->SubDossierNo = $subDossierNo; |
||
| 405 | return $this; |
||
| 406 | } |
||
| 407 | /** |
||
| 408 | * Get ChamberNo value |
||
| 409 | * @return string|null |
||
| 410 | */ |
||
| 411 | public function getChamberNo() |
||
| 412 | { |
||
| 413 | return $this->ChamberNo; |
||
| 414 | } |
||
| 415 | /** |
||
| 416 | * Set ChamberNo value |
||
| 417 | * @param string $chamberNo |
||
| 418 | * @return \Webservices\StructType\BusinessDossier |
||
| 419 | */ |
||
| 420 | public function setChamberNo($chamberNo = null) |
||
| 428 | } |
||
| 429 | /** |
||
| 430 | * Get Legalformcode value |
||
| 431 | * @return string|null |
||
| 432 | */ |
||
| 433 | public function getLegalformcode() |
||
| 434 | { |
||
| 435 | return $this->Legalformcode; |
||
| 436 | } |
||
| 437 | /** |
||
| 438 | * Set Legalformcode value |
||
| 439 | * @param string $legalformcode |
||
| 440 | * @return \Webservices\StructType\BusinessDossier |
||
| 441 | */ |
||
| 442 | public function setLegalformcode($legalformcode = null) |
||
| 443 | { |
||
| 444 | // validation for constraint: string |
||
| 445 | if (!is_null($legalformcode) && !is_string($legalformcode)) { |
||
| 446 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($legalformcode)), __LINE__); |
||
| 447 | } |
||
| 448 | $this->Legalformcode = $legalformcode; |
||
| 449 | return $this; |
||
| 450 | } |
||
| 451 | /** |
||
| 452 | * Get LegalformcodeText value |
||
| 453 | * @return string|null |
||
| 454 | */ |
||
| 455 | public function getLegalformcodeText() |
||
| 456 | { |
||
| 457 | return $this->LegalformcodeText; |
||
| 458 | } |
||
| 459 | /** |
||
| 460 | * Set LegalformcodeText value |
||
| 461 | * @param string $legalformcodeText |
||
| 462 | * @return \Webservices\StructType\BusinessDossier |
||
| 463 | */ |
||
| 464 | public function setLegalformcodeText($legalformcodeText = null) |
||
| 465 | { |
||
| 466 | // validation for constraint: string |
||
| 467 | if (!is_null($legalformcodeText) && !is_string($legalformcodeText)) { |
||
| 468 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($legalformcodeText)), __LINE__); |
||
| 469 | } |
||
| 470 | $this->LegalformcodeText = $legalformcodeText; |
||
| 471 | return $this; |
||
| 472 | } |
||
| 473 | /** |
||
| 474 | * Get PreviousDossierNo value |
||
| 475 | * @return string|null |
||
| 476 | */ |
||
| 477 | public function getPreviousDossierNo() |
||
| 478 | { |
||
| 479 | return $this->PreviousDossierNo; |
||
| 480 | } |
||
| 481 | /** |
||
| 482 | * Set PreviousDossierNo value |
||
| 483 | * @param string $previousDossierNo |
||
| 484 | * @return \Webservices\StructType\BusinessDossier |
||
| 485 | */ |
||
| 486 | public function setPreviousDossierNo($previousDossierNo = null) |
||
| 487 | { |
||
| 488 | // validation for constraint: string |
||
| 489 | if (!is_null($previousDossierNo) && !is_string($previousDossierNo)) { |
||
| 490 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($previousDossierNo)), __LINE__); |
||
| 491 | } |
||
| 492 | $this->PreviousDossierNo = $previousDossierNo; |
||
| 493 | return $this; |
||
| 494 | } |
||
| 495 | /** |
||
| 496 | * Get PreviousSubDossierNo value |
||
| 497 | * @return string|null |
||
| 498 | */ |
||
| 499 | public function getPreviousSubDossierNo() |
||
| 500 | { |
||
| 501 | return $this->PreviousSubDossierNo; |
||
| 502 | } |
||
| 503 | /** |
||
| 504 | * Set PreviousSubDossierNo value |
||
| 505 | * @param string $previousSubDossierNo |
||
| 506 | * @return \Webservices\StructType\BusinessDossier |
||
| 507 | */ |
||
| 508 | public function setPreviousSubDossierNo($previousSubDossierNo = null) |
||
| 509 | { |
||
| 510 | // validation for constraint: string |
||
| 511 | if (!is_null($previousSubDossierNo) && !is_string($previousSubDossierNo)) { |
||
| 512 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($previousSubDossierNo)), __LINE__); |
||
| 513 | } |
||
| 514 | $this->PreviousSubDossierNo = $previousSubDossierNo; |
||
| 515 | return $this; |
||
| 516 | } |
||
| 517 | /** |
||
| 518 | * Get Tradename30 value |
||
| 519 | * @return string|null |
||
| 520 | */ |
||
| 521 | public function getTradename30() |
||
| 522 | { |
||
| 523 | return $this->Tradename30; |
||
| 524 | } |
||
| 525 | /** |
||
| 526 | * Set Tradename30 value |
||
| 527 | * @param string $tradename30 |
||
| 528 | * @return \Webservices\StructType\BusinessDossier |
||
| 529 | */ |
||
| 530 | public function setTradename30($tradename30 = null) |
||
| 531 | { |
||
| 532 | // validation for constraint: string |
||
| 533 | if (!is_null($tradename30) && !is_string($tradename30)) { |
||
| 534 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($tradename30)), __LINE__); |
||
| 535 | } |
||
| 536 | $this->Tradename30 = $tradename30; |
||
| 537 | return $this; |
||
| 538 | } |
||
| 539 | /** |
||
| 540 | * Get Tradename1x30 value |
||
| 541 | * @return string|null |
||
| 542 | */ |
||
| 543 | public function getTradename1x30() |
||
| 546 | } |
||
| 547 | /** |
||
| 548 | * Set Tradename1x30 value |
||
| 549 | * @param string $tradename1x30 |
||
| 550 | * @return \Webservices\StructType\BusinessDossier |
||
| 551 | */ |
||
| 552 | public function setTradename1x30($tradename1x30 = null) |
||
| 553 | { |
||
| 554 | // validation for constraint: string |
||
| 555 | if (!is_null($tradename1x30) && !is_string($tradename1x30)) { |
||
| 556 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($tradename1x30)), __LINE__); |
||
| 557 | } |
||
| 558 | $this->Tradename1x30 = $tradename1x30; |
||
| 559 | return $this; |
||
| 560 | } |
||
| 561 | /** |
||
| 562 | * Get Tradename2x30 value |
||
| 563 | * @return string|null |
||
| 564 | */ |
||
| 565 | public function getTradename2x30() |
||
| 566 | { |
||
| 567 | return $this->Tradename2x30; |
||
| 568 | } |
||
| 569 | /** |
||
| 570 | * Set Tradename2x30 value |
||
| 571 | * @param string $tradename2x30 |
||
| 572 | * @return \Webservices\StructType\BusinessDossier |
||
| 573 | */ |
||
| 574 | public function setTradename2x30($tradename2x30 = null) |
||
| 575 | { |
||
| 576 | // validation for constraint: string |
||
| 577 | if (!is_null($tradename2x30) && !is_string($tradename2x30)) { |
||
| 578 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($tradename2x30)), __LINE__); |
||
| 579 | } |
||
| 580 | $this->Tradename2x30 = $tradename2x30; |
||
| 581 | return $this; |
||
| 582 | } |
||
| 583 | /** |
||
| 584 | * Get Tradename45 value |
||
| 585 | * @return string|null |
||
| 586 | */ |
||
| 587 | public function getTradename45() |
||
| 588 | { |
||
| 589 | return $this->Tradename45; |
||
| 590 | } |
||
| 591 | /** |
||
| 592 | * Set Tradename45 value |
||
| 593 | * @param string $tradename45 |
||
| 594 | * @return \Webservices\StructType\BusinessDossier |
||
| 595 | */ |
||
| 596 | public function setTradename45($tradename45 = null) |
||
| 597 | { |
||
| 598 | // validation for constraint: string |
||
| 599 | if (!is_null($tradename45) && !is_string($tradename45)) { |
||
| 600 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($tradename45)), __LINE__); |
||
| 601 | } |
||
| 602 | $this->Tradename45 = $tradename45; |
||
| 603 | return $this; |
||
| 604 | } |
||
| 605 | /** |
||
| 606 | * Get TradenameFull value |
||
| 607 | * @return string|null |
||
| 608 | */ |
||
| 609 | public function getTradenameFull() |
||
| 610 | { |
||
| 611 | return $this->TradenameFull; |
||
| 612 | } |
||
| 613 | /** |
||
| 614 | * Set TradenameFull value |
||
| 615 | * @param string $tradenameFull |
||
| 616 | * @return \Webservices\StructType\BusinessDossier |
||
| 617 | */ |
||
| 618 | public function setTradenameFull($tradenameFull = null) |
||
| 619 | { |
||
| 620 | // validation for constraint: string |
||
| 621 | if (!is_null($tradenameFull) && !is_string($tradenameFull)) { |
||
| 622 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($tradenameFull)), __LINE__); |
||
| 623 | } |
||
| 624 | $this->TradenameFull = $tradenameFull; |
||
| 625 | return $this; |
||
| 626 | } |
||
| 627 | /** |
||
| 628 | * Get EstablishmentAddress value |
||
| 629 | * @return string|null |
||
| 630 | */ |
||
| 631 | public function getEstablishmentAddress() |
||
| 634 | } |
||
| 635 | /** |
||
| 636 | * Set EstablishmentAddress value |
||
| 637 | * @param string $establishmentAddress |
||
| 638 | * @return \Webservices\StructType\BusinessDossier |
||
| 639 | */ |
||
| 640 | public function setEstablishmentAddress($establishmentAddress = null) |
||
| 641 | { |
||
| 642 | // validation for constraint: string |
||
| 643 | if (!is_null($establishmentAddress) && !is_string($establishmentAddress)) { |
||
| 644 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($establishmentAddress)), __LINE__); |
||
| 645 | } |
||
| 646 | $this->EstablishmentAddress = $establishmentAddress; |
||
| 647 | return $this; |
||
| 648 | } |
||
| 649 | /** |
||
| 650 | * Get EstablishmentPostcodeCity value |
||
| 651 | * @return string|null |
||
| 652 | */ |
||
| 653 | public function getEstablishmentPostcodeCity() |
||
| 654 | { |
||
| 655 | return $this->EstablishmentPostcodeCity; |
||
| 656 | } |
||
| 657 | /** |
||
| 658 | * Set EstablishmentPostcodeCity value |
||
| 659 | * @param string $establishmentPostcodeCity |
||
| 660 | * @return \Webservices\StructType\BusinessDossier |
||
| 661 | */ |
||
| 662 | public function setEstablishmentPostcodeCity($establishmentPostcodeCity = null) |
||
| 663 | { |
||
| 664 | // validation for constraint: string |
||
| 665 | if (!is_null($establishmentPostcodeCity) && !is_string($establishmentPostcodeCity)) { |
||
| 666 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($establishmentPostcodeCity)), __LINE__); |
||
| 667 | } |
||
| 668 | $this->EstablishmentPostcodeCity = $establishmentPostcodeCity; |
||
| 669 | return $this; |
||
| 670 | } |
||
| 671 | /** |
||
| 672 | * Get EstablishmentStreetname value |
||
| 673 | * @return string|null |
||
| 674 | */ |
||
| 675 | public function getEstablishmentStreetname() |
||
| 676 | { |
||
| 677 | return $this->EstablishmentStreetname; |
||
| 678 | } |
||
| 679 | /** |
||
| 680 | * Set EstablishmentStreetname value |
||
| 681 | * @param string $establishmentStreetname |
||
| 682 | * @return \Webservices\StructType\BusinessDossier |
||
| 683 | */ |
||
| 684 | public function setEstablishmentStreetname($establishmentStreetname = null) |
||
| 685 | { |
||
| 686 | // validation for constraint: string |
||
| 687 | if (!is_null($establishmentStreetname) && !is_string($establishmentStreetname)) { |
||
| 688 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($establishmentStreetname)), __LINE__); |
||
| 689 | } |
||
| 690 | $this->EstablishmentStreetname = $establishmentStreetname; |
||
| 691 | return $this; |
||
| 692 | } |
||
| 693 | /** |
||
| 694 | * Get EstablishmentHouseNo value |
||
| 695 | * @return int|null |
||
| 696 | */ |
||
| 697 | public function getEstablishmentHouseNo() |
||
| 698 | { |
||
| 699 | return $this->EstablishmentHouseNo; |
||
| 700 | } |
||
| 701 | /** |
||
| 702 | * Set EstablishmentHouseNo value |
||
| 703 | * @param int $establishmentHouseNo |
||
| 704 | * @return \Webservices\StructType\BusinessDossier |
||
| 705 | */ |
||
| 706 | public function setEstablishmentHouseNo($establishmentHouseNo = null) |
||
| 707 | { |
||
| 708 | // validation for constraint: int |
||
| 709 | if (!is_null($establishmentHouseNo) && !is_numeric($establishmentHouseNo)) { |
||
| 710 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($establishmentHouseNo)), __LINE__); |
||
| 711 | } |
||
| 712 | $this->EstablishmentHouseNo = $establishmentHouseNo; |
||
| 713 | return $this; |
||
| 714 | } |
||
| 715 | /** |
||
| 716 | * Get EstablishmentHouseNoAddition value |
||
| 717 | * @return string|null |
||
| 718 | */ |
||
| 719 | public function getEstablishmentHouseNoAddition() |
||
| 720 | { |
||
| 721 | return $this->EstablishmentHouseNoAddition; |
||
| 722 | } |
||
| 723 | /** |
||
| 724 | * Set EstablishmentHouseNoAddition value |
||
| 725 | * @param string $establishmentHouseNoAddition |
||
| 726 | * @return \Webservices\StructType\BusinessDossier |
||
| 727 | */ |
||
| 728 | public function setEstablishmentHouseNoAddition($establishmentHouseNoAddition = null) |
||
| 729 | { |
||
| 730 | // validation for constraint: string |
||
| 731 | if (!is_null($establishmentHouseNoAddition) && !is_string($establishmentHouseNoAddition)) { |
||
| 732 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($establishmentHouseNoAddition)), __LINE__); |
||
| 733 | } |
||
| 734 | $this->EstablishmentHouseNoAddition = $establishmentHouseNoAddition; |
||
| 735 | return $this; |
||
| 736 | } |
||
| 737 | /** |
||
| 738 | * Get EstablishmentPostcode value |
||
| 739 | * @return string|null |
||
| 740 | */ |
||
| 741 | public function getEstablishmentPostcode() |
||
| 742 | { |
||
| 743 | return $this->EstablishmentPostcode; |
||
| 744 | } |
||
| 745 | /** |
||
| 746 | * Set EstablishmentPostcode value |
||
| 747 | * @param string $establishmentPostcode |
||
| 748 | * @return \Webservices\StructType\BusinessDossier |
||
| 749 | */ |
||
| 750 | public function setEstablishmentPostcode($establishmentPostcode = null) |
||
| 751 | { |
||
| 752 | // validation for constraint: string |
||
| 753 | if (!is_null($establishmentPostcode) && !is_string($establishmentPostcode)) { |
||
| 754 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($establishmentPostcode)), __LINE__); |
||
| 755 | } |
||
| 756 | $this->EstablishmentPostcode = $establishmentPostcode; |
||
| 757 | return $this; |
||
| 758 | } |
||
| 759 | /** |
||
| 760 | * Get CorrespondenceAddress value |
||
| 761 | * @return string|null |
||
| 762 | */ |
||
| 763 | public function getCorrespondenceAddress() |
||
| 764 | { |
||
| 765 | return $this->CorrespondenceAddress; |
||
| 766 | } |
||
| 767 | /** |
||
| 768 | * Set CorrespondenceAddress value |
||
| 769 | * @param string $correspondenceAddress |
||
| 770 | * @return \Webservices\StructType\BusinessDossier |
||
| 771 | */ |
||
| 772 | public function setCorrespondenceAddress($correspondenceAddress = null) |
||
| 773 | { |
||
| 774 | // validation for constraint: string |
||
| 775 | if (!is_null($correspondenceAddress) && !is_string($correspondenceAddress)) { |
||
| 776 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($correspondenceAddress)), __LINE__); |
||
| 777 | } |
||
| 778 | $this->CorrespondenceAddress = $correspondenceAddress; |
||
| 779 | return $this; |
||
| 780 | } |
||
| 781 | /** |
||
| 782 | * Get CorrespondencePostcodeCity value |
||
| 783 | * @return string|null |
||
| 784 | */ |
||
| 785 | public function getCorrespondencePostcodeCity() |
||
| 786 | { |
||
| 787 | return $this->CorrespondencePostcodeCity; |
||
| 788 | } |
||
| 789 | /** |
||
| 790 | * Set CorrespondencePostcodeCity value |
||
| 791 | * @param string $correspondencePostcodeCity |
||
| 792 | * @return \Webservices\StructType\BusinessDossier |
||
| 793 | */ |
||
| 794 | public function setCorrespondencePostcodeCity($correspondencePostcodeCity = null) |
||
| 795 | { |
||
| 796 | // validation for constraint: string |
||
| 797 | if (!is_null($correspondencePostcodeCity) && !is_string($correspondencePostcodeCity)) { |
||
| 798 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($correspondencePostcodeCity)), __LINE__); |
||
| 799 | } |
||
| 800 | $this->CorrespondencePostcodeCity = $correspondencePostcodeCity; |
||
| 801 | return $this; |
||
| 802 | } |
||
| 803 | /** |
||
| 804 | * Get CorrespondenceStreetname value |
||
| 805 | * @return string|null |
||
| 806 | */ |
||
| 807 | public function getCorrespondenceStreetname() |
||
| 808 | { |
||
| 809 | return $this->CorrespondenceStreetname; |
||
| 810 | } |
||
| 811 | /** |
||
| 812 | * Set CorrespondenceStreetname value |
||
| 813 | * @param string $correspondenceStreetname |
||
| 814 | * @return \Webservices\StructType\BusinessDossier |
||
| 815 | */ |
||
| 816 | public function setCorrespondenceStreetname($correspondenceStreetname = null) |
||
| 817 | { |
||
| 818 | // validation for constraint: string |
||
| 819 | if (!is_null($correspondenceStreetname) && !is_string($correspondenceStreetname)) { |
||
| 820 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($correspondenceStreetname)), __LINE__); |
||
| 821 | } |
||
| 822 | $this->CorrespondenceStreetname = $correspondenceStreetname; |
||
| 823 | return $this; |
||
| 824 | } |
||
| 825 | /** |
||
| 826 | * Get CorrespondenceHouseNo value |
||
| 827 | * @return int|null |
||
| 828 | */ |
||
| 829 | public function getCorrespondenceHouseNo() |
||
| 830 | { |
||
| 831 | return $this->CorrespondenceHouseNo; |
||
| 832 | } |
||
| 833 | /** |
||
| 834 | * Set CorrespondenceHouseNo value |
||
| 835 | * @param int $correspondenceHouseNo |
||
| 836 | * @return \Webservices\StructType\BusinessDossier |
||
| 837 | */ |
||
| 838 | public function setCorrespondenceHouseNo($correspondenceHouseNo = null) |
||
| 839 | { |
||
| 840 | // validation for constraint: int |
||
| 841 | if (!is_null($correspondenceHouseNo) && !is_numeric($correspondenceHouseNo)) { |
||
| 842 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($correspondenceHouseNo)), __LINE__); |
||
| 843 | } |
||
| 844 | $this->CorrespondenceHouseNo = $correspondenceHouseNo; |
||
| 845 | return $this; |
||
| 846 | } |
||
| 847 | /** |
||
| 848 | * Get CorrespondenceHouseNoAddition value |
||
| 849 | * @return string|null |
||
| 850 | */ |
||
| 851 | public function getCorrespondenceHouseNoAddition() |
||
| 852 | { |
||
| 853 | return $this->CorrespondenceHouseNoAddition; |
||
| 854 | } |
||
| 855 | /** |
||
| 856 | * Set CorrespondenceHouseNoAddition value |
||
| 857 | * @param string $correspondenceHouseNoAddition |
||
| 858 | * @return \Webservices\StructType\BusinessDossier |
||
| 859 | */ |
||
| 860 | public function setCorrespondenceHouseNoAddition($correspondenceHouseNoAddition = null) |
||
| 861 | { |
||
| 862 | // validation for constraint: string |
||
| 863 | if (!is_null($correspondenceHouseNoAddition) && !is_string($correspondenceHouseNoAddition)) { |
||
| 864 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($correspondenceHouseNoAddition)), __LINE__); |
||
| 865 | } |
||
| 866 | $this->CorrespondenceHouseNoAddition = $correspondenceHouseNoAddition; |
||
| 867 | return $this; |
||
| 868 | } |
||
| 869 | /** |
||
| 870 | * Get CorrespondencePostcode value |
||
| 871 | * @return string|null |
||
| 872 | */ |
||
| 873 | public function getCorrespondencePostcode() |
||
| 874 | { |
||
| 875 | return $this->CorrespondencePostcode; |
||
| 876 | } |
||
| 877 | /** |
||
| 878 | * Set CorrespondencePostcode value |
||
| 879 | * @param string $correspondencePostcode |
||
| 880 | * @return \Webservices\StructType\BusinessDossier |
||
| 881 | */ |
||
| 882 | public function setCorrespondencePostcode($correspondencePostcode = null) |
||
| 883 | { |
||
| 884 | // validation for constraint: string |
||
| 885 | if (!is_null($correspondencePostcode) && !is_string($correspondencePostcode)) { |
||
| 886 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($correspondencePostcode)), __LINE__); |
||
| 887 | } |
||
| 888 | $this->CorrespondencePostcode = $correspondencePostcode; |
||
| 889 | return $this; |
||
| 890 | } |
||
| 891 | /** |
||
| 892 | * Get TelephoneNo value |
||
| 893 | * @return string|null |
||
| 894 | */ |
||
| 895 | public function getTelephoneNo() |
||
| 896 | { |
||
| 897 | return $this->TelephoneNo; |
||
| 898 | } |
||
| 899 | /** |
||
| 900 | * Set TelephoneNo value |
||
| 901 | * @param string $telephoneNo |
||
| 902 | * @return \Webservices\StructType\BusinessDossier |
||
| 903 | */ |
||
| 904 | public function setTelephoneNo($telephoneNo = null) |
||
| 905 | { |
||
| 906 | // validation for constraint: string |
||
| 907 | if (!is_null($telephoneNo) && !is_string($telephoneNo)) { |
||
| 908 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($telephoneNo)), __LINE__); |
||
| 909 | } |
||
| 910 | $this->TelephoneNo = $telephoneNo; |
||
| 911 | return $this; |
||
| 912 | } |
||
| 913 | /** |
||
| 914 | * Get Domainname value |
||
| 915 | * @return string|null |
||
| 916 | */ |
||
| 917 | public function getDomainname() |
||
| 918 | { |
||
| 919 | return $this->Domainname; |
||
| 920 | } |
||
| 921 | /** |
||
| 922 | * Set Domainname value |
||
| 923 | * @param string $domainname |
||
| 924 | * @return \Webservices\StructType\BusinessDossier |
||
| 925 | */ |
||
| 926 | public function setDomainname($domainname = null) |
||
| 927 | { |
||
| 928 | // validation for constraint: string |
||
| 929 | if (!is_null($domainname) && !is_string($domainname)) { |
||
| 930 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($domainname)), __LINE__); |
||
| 931 | } |
||
| 932 | $this->Domainname = $domainname; |
||
| 933 | return $this; |
||
| 934 | } |
||
| 935 | /** |
||
| 936 | * Get PrimaryActivitycode value |
||
| 937 | * @return string|null |
||
| 938 | */ |
||
| 939 | public function getPrimaryActivitycode() |
||
| 940 | { |
||
| 941 | return $this->PrimaryActivitycode; |
||
| 942 | } |
||
| 943 | /** |
||
| 944 | * Set PrimaryActivitycode value |
||
| 945 | * @param string $primaryActivitycode |
||
| 946 | * @return \Webservices\StructType\BusinessDossier |
||
| 947 | */ |
||
| 948 | public function setPrimaryActivitycode($primaryActivitycode = null) |
||
| 949 | { |
||
| 950 | // validation for constraint: string |
||
| 951 | if (!is_null($primaryActivitycode) && !is_string($primaryActivitycode)) { |
||
| 952 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($primaryActivitycode)), __LINE__); |
||
| 953 | } |
||
| 954 | $this->PrimaryActivitycode = $primaryActivitycode; |
||
| 955 | return $this; |
||
| 956 | } |
||
| 957 | /** |
||
| 958 | * Get SecondaryActivitycode1 value |
||
| 959 | * @return string|null |
||
| 960 | */ |
||
| 961 | public function getSecondaryActivitycode1() |
||
| 962 | { |
||
| 963 | return $this->SecondaryActivitycode1; |
||
| 964 | } |
||
| 965 | /** |
||
| 966 | * Set SecondaryActivitycode1 value |
||
| 967 | * @param string $secondaryActivitycode1 |
||
| 968 | * @return \Webservices\StructType\BusinessDossier |
||
| 969 | */ |
||
| 970 | public function setSecondaryActivitycode1($secondaryActivitycode1 = null) |
||
| 971 | { |
||
| 972 | // validation for constraint: string |
||
| 973 | if (!is_null($secondaryActivitycode1) && !is_string($secondaryActivitycode1)) { |
||
| 974 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($secondaryActivitycode1)), __LINE__); |
||
| 975 | } |
||
| 976 | $this->SecondaryActivitycode1 = $secondaryActivitycode1; |
||
| 977 | return $this; |
||
| 978 | } |
||
| 979 | /** |
||
| 980 | * Get SecondaryActivitycode2 value |
||
| 981 | * @return string|null |
||
| 982 | */ |
||
| 983 | public function getSecondaryActivitycode2() |
||
| 984 | { |
||
| 985 | return $this->SecondaryActivitycode2; |
||
| 986 | } |
||
| 987 | /** |
||
| 988 | * Set SecondaryActivitycode2 value |
||
| 989 | * @param string $secondaryActivitycode2 |
||
| 990 | * @return \Webservices\StructType\BusinessDossier |
||
| 991 | */ |
||
| 992 | public function setSecondaryActivitycode2($secondaryActivitycode2 = null) |
||
| 993 | { |
||
| 994 | // validation for constraint: string |
||
| 995 | if (!is_null($secondaryActivitycode2) && !is_string($secondaryActivitycode2)) { |
||
| 996 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($secondaryActivitycode2)), __LINE__); |
||
| 997 | } |
||
| 998 | $this->SecondaryActivitycode2 = $secondaryActivitycode2; |
||
| 999 | return $this; |
||
| 1000 | } |
||
| 1001 | /** |
||
| 1002 | * Get PrimaryActivitycodeText value |
||
| 1003 | * @return string|null |
||
| 1004 | */ |
||
| 1005 | public function getPrimaryActivitycodeText() |
||
| 1006 | { |
||
| 1007 | return $this->PrimaryActivitycodeText; |
||
| 1008 | } |
||
| 1009 | /** |
||
| 1010 | * Set PrimaryActivitycodeText value |
||
| 1011 | * @param string $primaryActivitycodeText |
||
| 1012 | * @return \Webservices\StructType\BusinessDossier |
||
| 1013 | */ |
||
| 1014 | public function setPrimaryActivitycodeText($primaryActivitycodeText = null) |
||
| 1015 | { |
||
| 1016 | // validation for constraint: string |
||
| 1017 | if (!is_null($primaryActivitycodeText) && !is_string($primaryActivitycodeText)) { |
||
| 1018 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($primaryActivitycodeText)), __LINE__); |
||
| 1019 | } |
||
| 1020 | $this->PrimaryActivitycodeText = $primaryActivitycodeText; |
||
| 1021 | return $this; |
||
| 1022 | } |
||
| 1023 | /** |
||
| 1024 | * Get SecondaryActivitycode1Text value |
||
| 1025 | * @return string|null |
||
| 1026 | */ |
||
| 1027 | public function getSecondaryActivitycode1Text() |
||
| 1028 | { |
||
| 1029 | return $this->SecondaryActivitycode1Text; |
||
| 1030 | } |
||
| 1031 | /** |
||
| 1032 | * Set SecondaryActivitycode1Text value |
||
| 1033 | * @param string $secondaryActivitycode1Text |
||
| 1034 | * @return \Webservices\StructType\BusinessDossier |
||
| 1035 | */ |
||
| 1036 | public function setSecondaryActivitycode1Text($secondaryActivitycode1Text = null) |
||
| 1037 | { |
||
| 1038 | // validation for constraint: string |
||
| 1039 | if (!is_null($secondaryActivitycode1Text) && !is_string($secondaryActivitycode1Text)) { |
||
| 1040 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($secondaryActivitycode1Text)), __LINE__); |
||
| 1041 | } |
||
| 1042 | $this->SecondaryActivitycode1Text = $secondaryActivitycode1Text; |
||
| 1043 | return $this; |
||
| 1044 | } |
||
| 1045 | /** |
||
| 1046 | * Get SecondaryActivitycode2Text value |
||
| 1047 | * @return string|null |
||
| 1048 | */ |
||
| 1049 | public function getSecondaryActivitycode2Text() |
||
| 1050 | { |
||
| 1051 | return $this->SecondaryActivitycode2Text; |
||
| 1052 | } |
||
| 1053 | /** |
||
| 1054 | * Set SecondaryActivitycode2Text value |
||
| 1055 | * @param string $secondaryActivitycode2Text |
||
| 1056 | * @return \Webservices\StructType\BusinessDossier |
||
| 1057 | */ |
||
| 1058 | public function setSecondaryActivitycode2Text($secondaryActivitycode2Text = null) |
||
| 1059 | { |
||
| 1060 | // validation for constraint: string |
||
| 1061 | if (!is_null($secondaryActivitycode2Text) && !is_string($secondaryActivitycode2Text)) { |
||
| 1062 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($secondaryActivitycode2Text)), __LINE__); |
||
| 1063 | } |
||
| 1064 | $this->SecondaryActivitycode2Text = $secondaryActivitycode2Text; |
||
| 1065 | return $this; |
||
| 1066 | } |
||
| 1067 | /** |
||
| 1068 | * Get PersonnelFulltime value |
||
| 1069 | * @return string|null |
||
| 1070 | */ |
||
| 1071 | public function getPersonnelFulltime() |
||
| 1072 | { |
||
| 1073 | return $this->PersonnelFulltime; |
||
| 1074 | } |
||
| 1075 | /** |
||
| 1076 | * Set PersonnelFulltime value |
||
| 1077 | * @param string $personnelFulltime |
||
| 1078 | * @return \Webservices\StructType\BusinessDossier |
||
| 1079 | */ |
||
| 1080 | public function setPersonnelFulltime($personnelFulltime = null) |
||
| 1081 | { |
||
| 1082 | // validation for constraint: string |
||
| 1083 | if (!is_null($personnelFulltime) && !is_string($personnelFulltime)) { |
||
| 1084 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($personnelFulltime)), __LINE__); |
||
| 1085 | } |
||
| 1086 | $this->PersonnelFulltime = $personnelFulltime; |
||
| 1087 | return $this; |
||
| 1088 | } |
||
| 1089 | /** |
||
| 1090 | * Get ClassPersonnelFulltime value |
||
| 1091 | * @return string|null |
||
| 1092 | */ |
||
| 1093 | public function getClassPersonnelFulltime() |
||
| 1094 | { |
||
| 1095 | return $this->ClassPersonnelFulltime; |
||
| 1096 | } |
||
| 1097 | /** |
||
| 1098 | * Set ClassPersonnelFulltime value |
||
| 1099 | * @param string $classPersonnelFulltime |
||
| 1100 | * @return \Webservices\StructType\BusinessDossier |
||
| 1101 | */ |
||
| 1102 | public function setClassPersonnelFulltime($classPersonnelFulltime = null) |
||
| 1103 | { |
||
| 1104 | // validation for constraint: string |
||
| 1105 | if (!is_null($classPersonnelFulltime) && !is_string($classPersonnelFulltime)) { |
||
| 1106 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($classPersonnelFulltime)), __LINE__); |
||
| 1107 | } |
||
| 1108 | $this->ClassPersonnelFulltime = $classPersonnelFulltime; |
||
| 1109 | return $this; |
||
| 1110 | } |
||
| 1111 | /** |
||
| 1112 | * Get IndicationOrganisationcode value |
||
| 1113 | * @return string|null |
||
| 1114 | */ |
||
| 1115 | public function getIndicationOrganisationcode() |
||
| 1116 | { |
||
| 1117 | return $this->IndicationOrganisationcode; |
||
| 1118 | } |
||
| 1119 | /** |
||
| 1120 | * Set IndicationOrganisationcode value |
||
| 1121 | * @param string $indicationOrganisationcode |
||
| 1122 | * @return \Webservices\StructType\BusinessDossier |
||
| 1123 | */ |
||
| 1124 | public function setIndicationOrganisationcode($indicationOrganisationcode = null) |
||
| 1125 | { |
||
| 1126 | // validation for constraint: string |
||
| 1127 | if (!is_null($indicationOrganisationcode) && !is_string($indicationOrganisationcode)) { |
||
| 1128 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($indicationOrganisationcode)), __LINE__); |
||
| 1129 | } |
||
| 1130 | $this->IndicationOrganisationcode = $indicationOrganisationcode; |
||
| 1131 | return $this; |
||
| 1132 | } |
||
| 1133 | /** |
||
| 1134 | * Get IndicationEconomicallyActive value |
||
| 1135 | * @return string|null |
||
| 1136 | */ |
||
| 1137 | public function getIndicationEconomicallyActive() |
||
| 1138 | { |
||
| 1139 | return $this->IndicationEconomicallyActive; |
||
| 1140 | } |
||
| 1141 | /** |
||
| 1142 | * Set IndicationEconomicallyActive value |
||
| 1143 | * @param string $indicationEconomicallyActive |
||
| 1144 | * @return \Webservices\StructType\BusinessDossier |
||
| 1145 | */ |
||
| 1146 | public function setIndicationEconomicallyActive($indicationEconomicallyActive = null) |
||
| 1147 | { |
||
| 1148 | // validation for constraint: string |
||
| 1149 | if (!is_null($indicationEconomicallyActive) && !is_string($indicationEconomicallyActive)) { |
||
| 1150 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($indicationEconomicallyActive)), __LINE__); |
||
| 1151 | } |
||
| 1152 | $this->IndicationEconomicallyActive = $indicationEconomicallyActive; |
||
| 1153 | return $this; |
||
| 1154 | } |
||
| 1155 | /** |
||
| 1156 | * Get IndicationNonMailing value |
||
| 1157 | * @return string|null |
||
| 1158 | */ |
||
| 1159 | public function getIndicationNonMailing() |
||
| 1160 | { |
||
| 1161 | return $this->IndicationNonMailing; |
||
| 1162 | } |
||
| 1163 | /** |
||
| 1164 | * Set IndicationNonMailing value |
||
| 1165 | * @param string $indicationNonMailing |
||
| 1166 | * @return \Webservices\StructType\BusinessDossier |
||
| 1167 | */ |
||
| 1168 | public function setIndicationNonMailing($indicationNonMailing = null) |
||
| 1176 | } |
||
| 1177 | /** |
||
| 1178 | * Get IndicationBankruptcy value |
||
| 1179 | * @return string|null |
||
| 1180 | */ |
||
| 1181 | public function getIndicationBankruptcy() |
||
| 1182 | { |
||
| 1183 | return $this->IndicationBankruptcy; |
||
| 1184 | } |
||
| 1185 | /** |
||
| 1186 | * Set IndicationBankruptcy value |
||
| 1187 | * @param string $indicationBankruptcy |
||
| 1188 | * @return \Webservices\StructType\BusinessDossier |
||
| 1189 | */ |
||
| 1190 | public function setIndicationBankruptcy($indicationBankruptcy = null) |
||
| 1191 | { |
||
| 1192 | // validation for constraint: string |
||
| 1193 | if (!is_null($indicationBankruptcy) && !is_string($indicationBankruptcy)) { |
||
| 1194 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($indicationBankruptcy)), __LINE__); |
||
| 1195 | } |
||
| 1198 | } |
||
| 1199 | /** |
||
| 1200 | * Get IndicationDIP value |
||
| 1201 | * @return string|null |
||
| 1202 | */ |
||
| 1203 | public function getIndicationDIP() |
||
| 1204 | { |
||
| 1205 | return $this->IndicationDIP; |
||
| 1206 | } |
||
| 1207 | /** |
||
| 1208 | * Set IndicationDIP value |
||
| 1209 | * @param string $indicationDIP |
||
| 1210 | * @return \Webservices\StructType\BusinessDossier |
||
| 1211 | */ |
||
| 1212 | public function setIndicationDIP($indicationDIP = null) |
||
| 1213 | { |
||
| 1220 | } |
||
| 1221 | /** |
||
| 1222 | * Method called when an object has been exported with var_export() functions |
||
| 1223 | * It allows to return an object instantiated with the values |
||
| 1224 | * @see AbstractStructBase::__set_state() |
||
| 1225 | * @uses AbstractStructBase::__set_state() |
||
| 1226 | * @param array $array the exported values |
||
| 1227 | * @return \Webservices\StructType\BusinessDossier |
||
| 1228 | */ |
||
| 1229 | public static function __set_state(array $array) |
||
| 1230 | { |
||
| 1232 | } |
||
| 1233 | /** |
||
| 1234 | * Method returning the class name |
||
| 1235 | * @return string __CLASS__ |
||
| 1236 | */ |
||
| 1237 | public function __toString() |
||
| 1238 | { |
||
| 1239 | return __CLASS__; |
||
| 1240 | } |
||
| 1241 | } |
||
| 1242 |