@@ 203-211 (lines=9) @@ | ||
200 | * @return self |
|
201 | * @param \AlgoWeb\ODataMetadata\MetadataV3\mapping\cs\TAssociationSetMappingType $associationSetMapping |
|
202 | */ |
|
203 | public function addToAssociationSetMapping(TAssociationSetMappingType $associationSetMapping) |
|
204 | { |
|
205 | $msg = null; |
|
206 | if (!$associationSetMapping->isOK($msg)) { |
|
207 | throw new \InvalidArgumentException($msg); |
|
208 | } |
|
209 | $this->associationSetMapping[] = $associationSetMapping; |
|
210 | return $this; |
|
211 | } |
|
212 | ||
213 | /** |
|
214 | * isset associationSetMapping |
|
@@ 252-264 (lines=13) @@ | ||
249 | * $associationSetMapping |
|
250 | * @return self |
|
251 | */ |
|
252 | public function setAssociationSetMapping(array $associationSetMapping) |
|
253 | { |
|
254 | $msg = null; |
|
255 | if (!$this->isValidArrayOK( |
|
256 | $associationSetMapping, |
|
257 | '\AlgoWeb\ODataMetadata\MetadataV3\mapping\cs\TAssociationSetMappingType', |
|
258 | $msg |
|
259 | ) |
|
260 | ) { |
|
261 | throw new \InvalidArgumentException($msg); |
|
262 | } |
|
263 | $this->associationSetMapping = $associationSetMapping; |
|
264 | return $this; |
|
265 | } |
|
266 | ||
267 | /** |