@@ 178-186 (lines=9) @@ | ||
175 | * @return self |
|
176 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAnnotationType $typeAnnotation |
|
177 | */ |
|
178 | public function addToTypeAnnotation(TTypeAnnotationType $typeAnnotation) |
|
179 | { |
|
180 | $msg = null; |
|
181 | if (!$typeAnnotation->isOK($msg)) { |
|
182 | throw new \InvalidArgumentException($msg); |
|
183 | } |
|
184 | $this->typeAnnotation[] = $typeAnnotation; |
|
185 | return $this; |
|
186 | } |
|
187 | ||
188 | /** |
|
189 | * isset typeAnnotation |
|
@@ 226-238 (lines=13) @@ | ||
223 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAnnotationType[] $typeAnnotation |
|
224 | * @return self |
|
225 | */ |
|
226 | public function setTypeAnnotation(array $typeAnnotation) |
|
227 | { |
|
228 | $msg = null; |
|
229 | if (!$this->isValidArrayOK( |
|
230 | $typeAnnotation, |
|
231 | '\AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAnnotationType', |
|
232 | $msg |
|
233 | )) { |
|
234 | throw new \InvalidArgumentException($msg); |
|
235 | } |
|
236 | $this->typeAnnotation = $typeAnnotation; |
|
237 | return $this; |
|
238 | } |
|
239 | ||
240 | public function isOK(&$msg = null) |
|
241 | { |
@@ 174-182 (lines=9) @@ | ||
171 | * @return self |
|
172 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAnnotationType $typeAnnotation |
|
173 | */ |
|
174 | public function addToTypeAnnotation(TTypeAnnotationType $typeAnnotation) |
|
175 | { |
|
176 | $msg = null; |
|
177 | if (!$typeAnnotation->isOK($msg)) { |
|
178 | throw new \InvalidArgumentException($msg); |
|
179 | } |
|
180 | $this->typeAnnotation[] = $typeAnnotation; |
|
181 | return $this; |
|
182 | } |
|
183 | ||
184 | /** |
|
185 | * isset typeAnnotation |
|
@@ 222-233 (lines=12) @@ | ||
219 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAnnotationType[] $typeAnnotation |
|
220 | * @return self |
|
221 | */ |
|
222 | public function setTypeAnnotation(array $typeAnnotation) |
|
223 | { |
|
224 | if (!$this->isValidArrayOK( |
|
225 | $typeAnnotation, |
|
226 | '\AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAnnotationType', |
|
227 | $msg |
|
228 | )) { |
|
229 | throw new \InvalidArgumentException($msg); |
|
230 | } |
|
231 | $this->typeAnnotation = $typeAnnotation; |
|
232 | return $this; |
|
233 | } |
|
234 | ||
235 | public function isOK(&$msg = null) |
|
236 | { |
@@ 236-244 (lines=9) @@ | ||
233 | * @return self |
|
234 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAnnotationType $typeAnnotation |
|
235 | */ |
|
236 | public function addToTypeAnnotation(TTypeAnnotationType $typeAnnotation) |
|
237 | { |
|
238 | $msg = null; |
|
239 | if (!$typeAnnotation->isOK($msg)) { |
|
240 | throw new \InvalidArgumentException($msg); |
|
241 | } |
|
242 | $this->typeAnnotation[] = $typeAnnotation; |
|
243 | return $this; |
|
244 | } |
|
245 | ||
246 | /** |
|
247 | * isset typeAnnotation |
|
@@ 284-295 (lines=12) @@ | ||
281 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAnnotationType[] $typeAnnotation |
|
282 | * @return self |
|
283 | */ |
|
284 | public function setTypeAnnotation(array $typeAnnotation) |
|
285 | { |
|
286 | if (!$this->isValidArrayOK( |
|
287 | $typeAnnotation, |
|
288 | '\AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAnnotationType', |
|
289 | $msg |
|
290 | )) { |
|
291 | throw new \InvalidArgumentException($msg); |
|
292 | } |
|
293 | $this->typeAnnotation = $typeAnnotation; |
|
294 | return $this; |
|
295 | } |
|
296 | ||
297 | public function isOK(&$msg = null) |
|
298 | { |
@@ 220-228 (lines=9) @@ | ||
217 | * @return self |
|
218 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAnnotationType $typeAnnotation |
|
219 | */ |
|
220 | public function addToTypeAnnotation(TTypeAnnotationType $typeAnnotation) |
|
221 | { |
|
222 | $msg = null; |
|
223 | if (!$typeAnnotation->isOK($msg)) { |
|
224 | throw new \InvalidArgumentException($msg); |
|
225 | } |
|
226 | $this->typeAnnotation[] = $typeAnnotation; |
|
227 | return $this; |
|
228 | } |
|
229 | ||
230 | /** |
|
231 | * isset typeAnnotation |
|
@@ 268-279 (lines=12) @@ | ||
265 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAnnotationType[] $typeAnnotation |
|
266 | * @return self |
|
267 | */ |
|
268 | public function setTypeAnnotation(array $typeAnnotation) |
|
269 | { |
|
270 | if (!$this->isValidArrayOK( |
|
271 | $typeAnnotation, |
|
272 | '\AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAnnotationType', |
|
273 | $msg |
|
274 | )) { |
|
275 | throw new \InvalidArgumentException($msg); |
|
276 | } |
|
277 | $this->typeAnnotation = $typeAnnotation; |
|
278 | return $this; |
|
279 | } |
|
280 | ||
281 | public function isOK(&$msg = null) |
|
282 | { |
@@ 168-176 (lines=9) @@ | ||
165 | * @return self |
|
166 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAnnotationType $typeAnnotation |
|
167 | */ |
|
168 | public function addToTypeAnnotation(TTypeAnnotationType $typeAnnotation) |
|
169 | { |
|
170 | $msg = null; |
|
171 | if (!$typeAnnotation->isOK($msg)) { |
|
172 | throw new \InvalidArgumentException($msg); |
|
173 | } |
|
174 | $this->typeAnnotation[] = $typeAnnotation; |
|
175 | return $this; |
|
176 | } |
|
177 | ||
178 | /** |
|
179 | * isset typeAnnotation |
|
@@ 216-227 (lines=12) @@ | ||
213 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAnnotationType[] $typeAnnotation |
|
214 | * @return self |
|
215 | */ |
|
216 | public function setTypeAnnotation(array $typeAnnotation) |
|
217 | { |
|
218 | if (!$this->isValidArrayOK( |
|
219 | $typeAnnotation, |
|
220 | '\AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAnnotationType', |
|
221 | $msg |
|
222 | )) { |
|
223 | throw new \InvalidArgumentException($msg); |
|
224 | } |
|
225 | $this->typeAnnotation = $typeAnnotation; |
|
226 | return $this; |
|
227 | } |
|
228 | ||
229 | public function isOK(&$msg = null) |
|
230 | { |
@@ 348-356 (lines=9) @@ | ||
345 | * @return self |
|
346 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAnnotationType $typeAnnotation |
|
347 | */ |
|
348 | public function addToTypeAnnotation(TTypeAnnotationType $typeAnnotation) |
|
349 | { |
|
350 | $msg = null; |
|
351 | if (!$typeAnnotation->isOK($msg)) { |
|
352 | throw new \InvalidArgumentException($msg); |
|
353 | } |
|
354 | $this->typeAnnotation[] = $typeAnnotation; |
|
355 | return $this; |
|
356 | } |
|
357 | ||
358 | /** |
|
359 | * isset typeAnnotation |
|
@@ 396-407 (lines=12) @@ | ||
393 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAnnotationType[] $typeAnnotation |
|
394 | * @return self |
|
395 | */ |
|
396 | public function setTypeAnnotation(array $typeAnnotation) |
|
397 | { |
|
398 | if (!$this->isValidArrayOK( |
|
399 | $typeAnnotation, |
|
400 | '\AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAnnotationType', |
|
401 | $msg |
|
402 | )) { |
|
403 | throw new \InvalidArgumentException($msg); |
|
404 | } |
|
405 | $this->typeAnnotation = $typeAnnotation; |
|
406 | return $this; |
|
407 | } |
|
408 | ||
409 | public function isOK(&$msg = null) |
|
410 | { |