| @@ 384-395 (lines=12) @@ | ||
| 381 | * $associationSet |
|
| 382 | * @return self |
|
| 383 | */ |
|
| 384 | public function setAssociationSet(array $associationSet) |
|
| 385 | { |
|
| 386 | if (!$this->isValidArrayOK( |
|
| 387 | $associationSet, |
|
| 388 | '\AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\AssociationSetAnonymousType', |
|
| 389 | $msg |
|
| 390 | )) { |
|
| 391 | throw new \InvalidArgumentException($msg); |
|
| 392 | } |
|
| 393 | $this->associationSet = $associationSet; |
|
| 394 | return $this; |
|
| 395 | } |
|
| 396 | ||
| 397 | public function isOK(&$msg = null) |
|
| 398 | { |
|
| @@ 218-230 (lines=13) @@ | ||
| 215 | * $associationSet |
|
| 216 | * @return self |
|
| 217 | */ |
|
| 218 | public function setAssociationSet(array $associationSet) |
|
| 219 | { |
|
| 220 | $msg = null; |
|
| 221 | if (!$this->isValidArrayOK( |
|
| 222 | $associationSet, |
|
| 223 | '\AlgoWeb\ODataMetadata\MetadataV3\edm\ssdl\EntityContainer\AssociationSetAnonymousType', |
|
| 224 | $msg |
|
| 225 | )) { |
|
| 226 | throw new \InvalidArgumentException($msg); |
|
| 227 | } |
|
| 228 | $this->associationSet = $associationSet; |
|
| 229 | return $this; |
|
| 230 | } |
|
| 231 | ||
| 232 | public function isOK(&$msg = null) |
|
| 233 | { |
|