| @@ 190-198 (lines=9) @@ | ||
| 187 | * @return self |
|
| 188 | * @param \AlgoWeb\ODataMetadata\MetadataV3\mapping\cs\TAssociationSetMappingType $associationSetMapping |
|
| 189 | */ |
|
| 190 | public function addToAssociationSetMapping(TAssociationSetMappingType $associationSetMapping) |
|
| 191 | { |
|
| 192 | $msg = null; |
|
| 193 | if (!$associationSetMapping->isOK($msg)) { |
|
| 194 | throw new \InvalidArgumentException($msg); |
|
| 195 | } |
|
| 196 | $this->associationSetMapping[] = $associationSetMapping; |
|
| 197 | return $this; |
|
| 198 | } |
|
| 199 | ||
| 200 | /** |
|
| 201 | * isset associationSetMapping |
|
| @@ 239-251 (lines=13) @@ | ||
| 236 | * $associationSetMapping |
|
| 237 | * @return self |
|
| 238 | */ |
|
| 239 | public function setAssociationSetMapping(array $associationSetMapping) |
|
| 240 | { |
|
| 241 | $msg = null; |
|
| 242 | if (!$this->isValidArrayOK( |
|
| 243 | $associationSetMapping, |
|
| 244 | '\AlgoWeb\ODataMetadata\MetadataV3\mapping\cs\TAssociationSetMappingType', |
|
| 245 | $msg |
|
| 246 | )) { |
|
| 247 | throw new \InvalidArgumentException($msg); |
|
| 248 | } |
|
| 249 | $this->associationSetMapping = $associationSetMapping; |
|
| 250 | return $this; |
|
| 251 | } |
|
| 252 | ||
| 253 | /** |
|
| 254 | * Adds as functionImportMapping |
|