| @@ 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 | { |
|
| @@ 411-422 (lines=12) @@ | ||
| 408 | * $associationSet |
|
| 409 | * @return self |
|
| 410 | */ |
|
| 411 | public function setAssociationSet(array $associationSet) |
|
| 412 | { |
|
| 413 | if (!$this->isValidArrayOK( |
|
| 414 | $associationSet, |
|
| 415 | '\AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\AssociationSetAnonymousType', |
|
| 416 | $msg |
|
| 417 | )) { |
|
| 418 | throw new \InvalidArgumentException($msg); |
|
| 419 | } |
|
| 420 | $this->associationSet = $associationSet; |
|
| 421 | return $this; |
|
| 422 | } |
|
| 423 | ||
| 424 | public function isOK(&$msg = null) |
|
| 425 | { |
|