Complex classes like TCastOrIsOfExpressionType often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes. You can also have a look at the cohesion graph to spot any un-connected, or weakly-connected components.
Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.
While breaking up the class, it is a good idea to analyze how other classes use TCastOrIsOfExpressionType, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
11 | class TCastOrIsOfExpressionType |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * @property string $type |
||
16 | */ |
||
17 | private $type = null; |
||
18 | |||
19 | /** |
||
20 | * @property string $maxLength |
||
21 | */ |
||
22 | private $maxLength = null; |
||
23 | |||
24 | /** |
||
25 | * @property integer $precision |
||
26 | */ |
||
27 | private $precision = null; |
||
28 | |||
29 | /** |
||
30 | * @property string $scale |
||
31 | */ |
||
32 | private $scale = null; |
||
33 | |||
34 | /** |
||
35 | * @property string $sRID |
||
36 | */ |
||
37 | private $sRID = null; |
||
38 | |||
39 | /** |
||
40 | * @property \MetadataV4\edm\Annotation[] $annotation |
||
41 | */ |
||
42 | private $annotation = array( |
||
43 | |||
44 | ); |
||
45 | |||
46 | /** |
||
47 | * @property string $binary |
||
48 | */ |
||
49 | private $binary = null; |
||
50 | |||
51 | /** |
||
52 | * @property boolean $bool |
||
53 | */ |
||
54 | private $bool = null; |
||
55 | |||
56 | /** |
||
57 | * @property \DateTime $date |
||
58 | */ |
||
59 | private $date = null; |
||
60 | |||
61 | /** |
||
62 | * @property \DateTime $dateTimeOffset |
||
63 | */ |
||
64 | private $dateTimeOffset = null; |
||
65 | |||
66 | /** |
||
67 | * @property float $decimal |
||
68 | */ |
||
69 | private $decimal = null; |
||
70 | |||
71 | /** |
||
72 | * @property \DateInterval $duration |
||
73 | */ |
||
74 | private $duration = null; |
||
75 | |||
76 | /** |
||
77 | * @property string[] $enumMember |
||
78 | */ |
||
79 | private $enumMember = null; |
||
80 | |||
81 | /** |
||
82 | * @property float $float |
||
83 | */ |
||
84 | private $float = null; |
||
85 | |||
86 | /** |
||
87 | * @property string $guid |
||
88 | */ |
||
89 | private $guid = null; |
||
90 | |||
91 | /** |
||
92 | * @property integer $int |
||
93 | */ |
||
94 | private $int = null; |
||
95 | |||
96 | /** |
||
97 | * @property string $string |
||
98 | */ |
||
99 | private $string = null; |
||
100 | |||
101 | /** |
||
102 | * @property \DateTime $timeOfDay |
||
103 | */ |
||
104 | private $timeOfDay = null; |
||
105 | |||
106 | /** |
||
107 | * @property string $annotationPath |
||
108 | */ |
||
109 | private $annotationPath = null; |
||
110 | |||
111 | /** |
||
112 | * @property \MetadataV4\edm\TApplyExpressionType $apply |
||
113 | */ |
||
114 | private $apply = null; |
||
115 | |||
116 | /** |
||
117 | * @property \MetadataV4\edm\TCastOrIsOfExpressionType $cast |
||
118 | */ |
||
119 | private $cast = null; |
||
120 | |||
121 | /** |
||
122 | * @property \MetadataV4\edm\TCollectionExpressionType $collection |
||
123 | */ |
||
124 | private $collection = null; |
||
125 | |||
126 | /** |
||
127 | * @property \MetadataV4\edm\TIfExpressionType $if |
||
128 | */ |
||
129 | private $if = null; |
||
130 | |||
131 | /** |
||
132 | * @property \MetadataV4\edm\TTwoChildrenExpressionType $eq |
||
133 | */ |
||
134 | private $eq = null; |
||
135 | |||
136 | /** |
||
137 | * @property \MetadataV4\edm\TTwoChildrenExpressionType $ne |
||
138 | */ |
||
139 | private $ne = null; |
||
140 | |||
141 | /** |
||
142 | * @property \MetadataV4\edm\TTwoChildrenExpressionType $ge |
||
143 | */ |
||
144 | private $ge = null; |
||
145 | |||
146 | /** |
||
147 | * @property \MetadataV4\edm\TTwoChildrenExpressionType $gt |
||
148 | */ |
||
149 | private $gt = null; |
||
150 | |||
151 | /** |
||
152 | * @property \MetadataV4\edm\TTwoChildrenExpressionType $le |
||
153 | */ |
||
154 | private $le = null; |
||
155 | |||
156 | /** |
||
157 | * @property \MetadataV4\edm\TTwoChildrenExpressionType $lt |
||
158 | */ |
||
159 | private $lt = null; |
||
160 | |||
161 | /** |
||
162 | * @property \MetadataV4\edm\TTwoChildrenExpressionType $and |
||
163 | */ |
||
164 | private $and = null; |
||
165 | |||
166 | /** |
||
167 | * @property \MetadataV4\edm\TTwoChildrenExpressionType $or |
||
168 | */ |
||
169 | private $or = null; |
||
170 | |||
171 | /** |
||
172 | * @property \MetadataV4\edm\TOneChildExpressionType $not |
||
173 | */ |
||
174 | private $not = null; |
||
175 | |||
176 | /** |
||
177 | * @property \MetadataV4\edm\TCastOrIsOfExpressionType $isOf |
||
178 | */ |
||
179 | private $isOf = null; |
||
180 | |||
181 | /** |
||
182 | * @property \MetadataV4\edm\TLabeledElementExpressionType $labeledElement |
||
183 | */ |
||
184 | private $labeledElement = null; |
||
185 | |||
186 | /** |
||
187 | * @property string $labeledElementReference |
||
188 | */ |
||
189 | private $labeledElementReference = null; |
||
190 | |||
191 | /** |
||
192 | * @property \MetadataV4\edm\Annotation[] $null |
||
193 | */ |
||
194 | private $null = null; |
||
195 | |||
196 | /** |
||
197 | * @property string $navigationPropertyPath |
||
198 | */ |
||
199 | private $navigationPropertyPath = null; |
||
200 | |||
201 | /** |
||
202 | * @property string $path |
||
203 | */ |
||
204 | private $path = null; |
||
205 | |||
206 | /** |
||
207 | * @property string $propertyPath |
||
208 | */ |
||
209 | private $propertyPath = null; |
||
210 | |||
211 | /** |
||
212 | * @property \MetadataV4\edm\TRecordExpressionType $record |
||
213 | */ |
||
214 | private $record = null; |
||
215 | |||
216 | /** |
||
217 | * @property \MetadataV4\edm\TOneChildExpressionType $urlRef |
||
218 | */ |
||
219 | private $urlRef = null; |
||
220 | |||
221 | /** |
||
222 | * Gets as type |
||
223 | * |
||
224 | * @return string |
||
225 | */ |
||
226 | public function getType() |
||
230 | |||
231 | /** |
||
232 | * Sets a new type |
||
233 | * |
||
234 | * @param string $type |
||
235 | * @return self |
||
236 | */ |
||
237 | public function setType($type) |
||
242 | |||
243 | /** |
||
244 | * Gets as maxLength |
||
245 | * |
||
246 | * @return string |
||
247 | */ |
||
248 | public function getMaxLength() |
||
252 | |||
253 | /** |
||
254 | * Sets a new maxLength |
||
255 | * |
||
256 | * @param string $maxLength |
||
257 | * @return self |
||
258 | */ |
||
259 | public function setMaxLength($maxLength) |
||
264 | |||
265 | /** |
||
266 | * Gets as precision |
||
267 | * |
||
268 | * @return integer |
||
269 | */ |
||
270 | public function getPrecision() |
||
274 | |||
275 | /** |
||
276 | * Sets a new precision |
||
277 | * |
||
278 | * @param integer $precision |
||
279 | * @return self |
||
280 | */ |
||
281 | public function setPrecision($precision) |
||
286 | |||
287 | /** |
||
288 | * Gets as scale |
||
289 | * |
||
290 | * @return string |
||
291 | */ |
||
292 | public function getScale() |
||
296 | |||
297 | /** |
||
298 | * Sets a new scale |
||
299 | * |
||
300 | * @param string $scale |
||
301 | * @return self |
||
302 | */ |
||
303 | public function setScale($scale) |
||
308 | |||
309 | /** |
||
310 | * Gets as sRID |
||
311 | * |
||
312 | * @return string |
||
313 | */ |
||
314 | public function getSRID() |
||
318 | |||
319 | /** |
||
320 | * Sets a new sRID |
||
321 | * |
||
322 | * @param string $sRID |
||
323 | * @return self |
||
324 | */ |
||
325 | public function setSRID($sRID) |
||
330 | |||
331 | /** |
||
332 | * Adds as annotation |
||
333 | * |
||
334 | * @return self |
||
335 | * @param \MetadataV4\edm\Annotation $annotation |
||
336 | */ |
||
337 | public function addToAnnotation(\MetadataV4\edm\Annotation $annotation) |
||
342 | |||
343 | /** |
||
344 | * isset annotation |
||
345 | * |
||
346 | * @param scalar $index |
||
347 | * @return boolean |
||
348 | */ |
||
349 | public function issetAnnotation($index) |
||
353 | |||
354 | /** |
||
355 | * unset annotation |
||
356 | * |
||
357 | * @param scalar $index |
||
358 | * @return void |
||
359 | */ |
||
360 | public function unsetAnnotation($index) |
||
364 | |||
365 | /** |
||
366 | * Gets as annotation |
||
367 | * |
||
368 | * @return \MetadataV4\edm\Annotation[] |
||
369 | */ |
||
370 | public function getAnnotation() |
||
374 | |||
375 | /** |
||
376 | * Sets a new annotation |
||
377 | * |
||
378 | * @param \MetadataV4\edm\Annotation[] $annotation |
||
379 | * @return self |
||
380 | */ |
||
381 | public function setAnnotation(array $annotation) |
||
386 | |||
387 | /** |
||
388 | * Gets as binary |
||
389 | * |
||
390 | * @return string |
||
391 | */ |
||
392 | public function getBinary() |
||
396 | |||
397 | /** |
||
398 | * Sets a new binary |
||
399 | * |
||
400 | * @param string $binary |
||
401 | * @return self |
||
402 | */ |
||
403 | public function setBinary($binary) |
||
408 | |||
409 | /** |
||
410 | * Gets as bool |
||
411 | * |
||
412 | * @return boolean |
||
413 | */ |
||
414 | public function getBool() |
||
418 | |||
419 | /** |
||
420 | * Sets a new bool |
||
421 | * |
||
422 | * @param boolean $bool |
||
423 | * @return self |
||
424 | */ |
||
425 | public function setBool($bool) |
||
430 | |||
431 | /** |
||
432 | * Gets as date |
||
433 | * |
||
434 | * @return \DateTime |
||
435 | */ |
||
436 | public function getDate() |
||
440 | |||
441 | /** |
||
442 | * Sets a new date |
||
443 | * |
||
444 | * @param \DateTime $date |
||
445 | * @return self |
||
446 | */ |
||
447 | public function setDate(\DateTime $date) |
||
452 | |||
453 | /** |
||
454 | * Gets as dateTimeOffset |
||
455 | * |
||
456 | * @return \DateTime |
||
457 | */ |
||
458 | public function getDateTimeOffset() |
||
462 | |||
463 | /** |
||
464 | * Sets a new dateTimeOffset |
||
465 | * |
||
466 | * @param \DateTime $dateTimeOffset |
||
467 | * @return self |
||
468 | */ |
||
469 | public function setDateTimeOffset(\DateTime $dateTimeOffset) |
||
474 | |||
475 | /** |
||
476 | * Gets as decimal |
||
477 | * |
||
478 | * @return float |
||
479 | */ |
||
480 | public function getDecimal() |
||
484 | |||
485 | /** |
||
486 | * Sets a new decimal |
||
487 | * |
||
488 | * @param float $decimal |
||
489 | * @return self |
||
490 | */ |
||
491 | public function setDecimal($decimal) |
||
496 | |||
497 | /** |
||
498 | * Gets as duration |
||
499 | * |
||
500 | * @return \DateInterval |
||
501 | */ |
||
502 | public function getDuration() |
||
506 | |||
507 | /** |
||
508 | * Sets a new duration |
||
509 | * |
||
510 | * @param \DateInterval $duration |
||
511 | * @return self |
||
512 | */ |
||
513 | public function setDuration(\DateInterval $duration) |
||
518 | |||
519 | /** |
||
520 | * Adds as enumMember |
||
521 | * |
||
522 | * @return self |
||
523 | * @param string $enumMember |
||
524 | */ |
||
525 | public function addToEnumMember($enumMember) |
||
530 | |||
531 | /** |
||
532 | * isset enumMember |
||
533 | * |
||
534 | * @param scalar $index |
||
535 | * @return boolean |
||
536 | */ |
||
537 | public function issetEnumMember($index) |
||
541 | |||
542 | /** |
||
543 | * unset enumMember |
||
544 | * |
||
545 | * @param scalar $index |
||
546 | * @return void |
||
547 | */ |
||
548 | public function unsetEnumMember($index) |
||
552 | |||
553 | /** |
||
554 | * Gets as enumMember |
||
555 | * |
||
556 | * @return string[] |
||
557 | */ |
||
558 | public function getEnumMember() |
||
562 | |||
563 | /** |
||
564 | * Sets a new enumMember |
||
565 | * |
||
566 | * @param string $enumMember |
||
567 | * @return self |
||
568 | */ |
||
569 | public function setEnumMember(array $enumMember) |
||
574 | |||
575 | /** |
||
576 | * Gets as float |
||
577 | * |
||
578 | * @return float |
||
579 | */ |
||
580 | public function getFloat() |
||
584 | |||
585 | /** |
||
586 | * Sets a new float |
||
587 | * |
||
588 | * @param float $float |
||
589 | * @return self |
||
590 | */ |
||
591 | public function setFloat($float) |
||
596 | |||
597 | /** |
||
598 | * Gets as guid |
||
599 | * |
||
600 | * @return string |
||
601 | */ |
||
602 | public function getGuid() |
||
606 | |||
607 | /** |
||
608 | * Sets a new guid |
||
609 | * |
||
610 | * @param string $guid |
||
611 | * @return self |
||
612 | */ |
||
613 | public function setGuid($guid) |
||
618 | |||
619 | /** |
||
620 | * Gets as int |
||
621 | * |
||
622 | * @return integer |
||
623 | */ |
||
624 | public function getInt() |
||
628 | |||
629 | /** |
||
630 | * Sets a new int |
||
631 | * |
||
632 | * @param integer $int |
||
633 | * @return self |
||
634 | */ |
||
635 | public function setInt($int) |
||
640 | |||
641 | /** |
||
642 | * Gets as string |
||
643 | * |
||
644 | * @return string |
||
645 | */ |
||
646 | public function getString() |
||
650 | |||
651 | /** |
||
652 | * Sets a new string |
||
653 | * |
||
654 | * @param string $string |
||
655 | * @return self |
||
656 | */ |
||
657 | public function setString($string) |
||
662 | |||
663 | /** |
||
664 | * Gets as timeOfDay |
||
665 | * |
||
666 | * @return \DateTime |
||
667 | */ |
||
668 | public function getTimeOfDay() |
||
672 | |||
673 | /** |
||
674 | * Sets a new timeOfDay |
||
675 | * |
||
676 | * @param \DateTime $timeOfDay |
||
677 | * @return self |
||
678 | */ |
||
679 | public function setTimeOfDay(\DateTime $timeOfDay) |
||
684 | |||
685 | /** |
||
686 | * Gets as annotationPath |
||
687 | * |
||
688 | * @return string |
||
689 | */ |
||
690 | public function getAnnotationPath() |
||
694 | |||
695 | /** |
||
696 | * Sets a new annotationPath |
||
697 | * |
||
698 | * @param string $annotationPath |
||
699 | * @return self |
||
700 | */ |
||
701 | public function setAnnotationPath($annotationPath) |
||
706 | |||
707 | /** |
||
708 | * Gets as apply |
||
709 | * |
||
710 | * @return \MetadataV4\edm\TApplyExpressionType |
||
711 | */ |
||
712 | public function getApply() |
||
716 | |||
717 | /** |
||
718 | * Sets a new apply |
||
719 | * |
||
720 | * @param \MetadataV4\edm\TApplyExpressionType $apply |
||
721 | * @return self |
||
722 | */ |
||
723 | public function setApply(\MetadataV4\edm\TApplyExpressionType $apply) |
||
728 | |||
729 | /** |
||
730 | * Gets as cast |
||
731 | * |
||
732 | * @return \MetadataV4\edm\TCastOrIsOfExpressionType |
||
733 | */ |
||
734 | public function getCast() |
||
738 | |||
739 | /** |
||
740 | * Sets a new cast |
||
741 | * |
||
742 | * @param \MetadataV4\edm\TCastOrIsOfExpressionType $cast |
||
743 | * @return self |
||
744 | */ |
||
745 | public function setCast(\MetadataV4\edm\TCastOrIsOfExpressionType $cast) |
||
750 | |||
751 | /** |
||
752 | * Gets as collection |
||
753 | * |
||
754 | * @return \MetadataV4\edm\TCollectionExpressionType |
||
755 | */ |
||
756 | public function getCollection() |
||
760 | |||
761 | /** |
||
762 | * Sets a new collection |
||
763 | * |
||
764 | * @param \MetadataV4\edm\TCollectionExpressionType $collection |
||
765 | * @return self |
||
766 | */ |
||
767 | public function setCollection(\MetadataV4\edm\TCollectionExpressionType $collection) |
||
772 | |||
773 | /** |
||
774 | * Gets as if |
||
775 | * |
||
776 | * @return \MetadataV4\edm\TIfExpressionType |
||
777 | */ |
||
778 | public function getIf() |
||
782 | |||
783 | /** |
||
784 | * Sets a new if |
||
785 | * |
||
786 | * @param \MetadataV4\edm\TIfExpressionType $if |
||
787 | * @return self |
||
788 | */ |
||
789 | public function setIf(\MetadataV4\edm\TIfExpressionType $if) |
||
794 | |||
795 | /** |
||
796 | * Gets as eq |
||
797 | * |
||
798 | * @return \MetadataV4\edm\TTwoChildrenExpressionType |
||
799 | */ |
||
800 | public function getEq() |
||
804 | |||
805 | /** |
||
806 | * Sets a new eq |
||
807 | * |
||
808 | * @param \MetadataV4\edm\TTwoChildrenExpressionType $eq |
||
809 | * @return self |
||
810 | */ |
||
811 | public function setEq(\MetadataV4\edm\TTwoChildrenExpressionType $eq) |
||
816 | |||
817 | /** |
||
818 | * Gets as ne |
||
819 | * |
||
820 | * @return \MetadataV4\edm\TTwoChildrenExpressionType |
||
821 | */ |
||
822 | public function getNe() |
||
826 | |||
827 | /** |
||
828 | * Sets a new ne |
||
829 | * |
||
830 | * @param \MetadataV4\edm\TTwoChildrenExpressionType $ne |
||
831 | * @return self |
||
832 | */ |
||
833 | public function setNe(\MetadataV4\edm\TTwoChildrenExpressionType $ne) |
||
838 | |||
839 | /** |
||
840 | * Gets as ge |
||
841 | * |
||
842 | * @return \MetadataV4\edm\TTwoChildrenExpressionType |
||
843 | */ |
||
844 | public function getGe() |
||
848 | |||
849 | /** |
||
850 | * Sets a new ge |
||
851 | * |
||
852 | * @param \MetadataV4\edm\TTwoChildrenExpressionType $ge |
||
853 | * @return self |
||
854 | */ |
||
855 | public function setGe(\MetadataV4\edm\TTwoChildrenExpressionType $ge) |
||
860 | |||
861 | /** |
||
862 | * Gets as gt |
||
863 | * |
||
864 | * @return \MetadataV4\edm\TTwoChildrenExpressionType |
||
865 | */ |
||
866 | public function getGt() |
||
870 | |||
871 | /** |
||
872 | * Sets a new gt |
||
873 | * |
||
874 | * @param \MetadataV4\edm\TTwoChildrenExpressionType $gt |
||
875 | * @return self |
||
876 | */ |
||
877 | public function setGt(\MetadataV4\edm\TTwoChildrenExpressionType $gt) |
||
882 | |||
883 | /** |
||
884 | * Gets as le |
||
885 | * |
||
886 | * @return \MetadataV4\edm\TTwoChildrenExpressionType |
||
887 | */ |
||
888 | public function getLe() |
||
892 | |||
893 | /** |
||
894 | * Sets a new le |
||
895 | * |
||
896 | * @param \MetadataV4\edm\TTwoChildrenExpressionType $le |
||
897 | * @return self |
||
898 | */ |
||
899 | public function setLe(\MetadataV4\edm\TTwoChildrenExpressionType $le) |
||
904 | |||
905 | /** |
||
906 | * Gets as lt |
||
907 | * |
||
908 | * @return \MetadataV4\edm\TTwoChildrenExpressionType |
||
909 | */ |
||
910 | public function getLt() |
||
914 | |||
915 | /** |
||
916 | * Sets a new lt |
||
917 | * |
||
918 | * @param \MetadataV4\edm\TTwoChildrenExpressionType $lt |
||
919 | * @return self |
||
920 | */ |
||
921 | public function setLt(\MetadataV4\edm\TTwoChildrenExpressionType $lt) |
||
926 | |||
927 | /** |
||
928 | * Gets as and |
||
929 | * |
||
930 | * @return \MetadataV4\edm\TTwoChildrenExpressionType |
||
931 | */ |
||
932 | public function getAnd() |
||
936 | |||
937 | /** |
||
938 | * Sets a new and |
||
939 | * |
||
940 | * @param \MetadataV4\edm\TTwoChildrenExpressionType $and |
||
941 | * @return self |
||
942 | */ |
||
943 | public function setAnd(\MetadataV4\edm\TTwoChildrenExpressionType $and) |
||
948 | |||
949 | /** |
||
950 | * Gets as or |
||
951 | * |
||
952 | * @return \MetadataV4\edm\TTwoChildrenExpressionType |
||
953 | */ |
||
954 | public function getOr() |
||
958 | |||
959 | /** |
||
960 | * Sets a new or |
||
961 | * |
||
962 | * @param \MetadataV4\edm\TTwoChildrenExpressionType $or |
||
963 | * @return self |
||
964 | */ |
||
965 | public function setOr(\MetadataV4\edm\TTwoChildrenExpressionType $or) |
||
970 | |||
971 | /** |
||
972 | * Gets as not |
||
973 | * |
||
974 | * @return \MetadataV4\edm\TOneChildExpressionType |
||
975 | */ |
||
976 | public function getNot() |
||
980 | |||
981 | /** |
||
982 | * Sets a new not |
||
983 | * |
||
984 | * @param \MetadataV4\edm\TOneChildExpressionType $not |
||
985 | * @return self |
||
986 | */ |
||
987 | public function setNot(\MetadataV4\edm\TOneChildExpressionType $not) |
||
992 | |||
993 | /** |
||
994 | * Gets as isOf |
||
995 | * |
||
996 | * @return \MetadataV4\edm\TCastOrIsOfExpressionType |
||
997 | */ |
||
998 | public function getIsOf() |
||
1002 | |||
1003 | /** |
||
1004 | * Sets a new isOf |
||
1005 | * |
||
1006 | * @param \MetadataV4\edm\TCastOrIsOfExpressionType $isOf |
||
1007 | * @return self |
||
1008 | */ |
||
1009 | public function setIsOf(\MetadataV4\edm\TCastOrIsOfExpressionType $isOf) |
||
1014 | |||
1015 | /** |
||
1016 | * Gets as labeledElement |
||
1017 | * |
||
1018 | * @return \MetadataV4\edm\TLabeledElementExpressionType |
||
1019 | */ |
||
1020 | public function getLabeledElement() |
||
1024 | |||
1025 | /** |
||
1026 | * Sets a new labeledElement |
||
1027 | * |
||
1028 | * @param \MetadataV4\edm\TLabeledElementExpressionType $labeledElement |
||
1029 | * @return self |
||
1030 | */ |
||
1031 | public function setLabeledElement(\MetadataV4\edm\TLabeledElementExpressionType $labeledElement) |
||
1036 | |||
1037 | /** |
||
1038 | * Gets as labeledElementReference |
||
1039 | * |
||
1040 | * @return string |
||
1041 | */ |
||
1042 | public function getLabeledElementReference() |
||
1046 | |||
1047 | /** |
||
1048 | * Sets a new labeledElementReference |
||
1049 | * |
||
1050 | * @param string $labeledElementReference |
||
1051 | * @return self |
||
1052 | */ |
||
1053 | public function setLabeledElementReference($labeledElementReference) |
||
1058 | |||
1059 | /** |
||
1060 | * Adds as annotation |
||
1061 | * |
||
1062 | * @return self |
||
1063 | * @param \MetadataV4\edm\Annotation $annotation |
||
1064 | */ |
||
1065 | public function addToNull(\MetadataV4\edm\Annotation $annotation) |
||
1070 | |||
1071 | /** |
||
1072 | * isset null |
||
1073 | * |
||
1074 | * @param scalar $index |
||
1075 | * @return boolean |
||
1076 | */ |
||
1077 | public function issetNull($index) |
||
1081 | |||
1082 | /** |
||
1083 | * unset null |
||
1084 | * |
||
1085 | * @param scalar $index |
||
1086 | * @return void |
||
1087 | */ |
||
1088 | public function unsetNull($index) |
||
1092 | |||
1093 | /** |
||
1094 | * Gets as null |
||
1095 | * |
||
1096 | * @return \MetadataV4\edm\Annotation[] |
||
1097 | */ |
||
1098 | public function getNull() |
||
1102 | |||
1103 | /** |
||
1104 | * Sets a new null |
||
1105 | * |
||
1106 | * @param \MetadataV4\edm\Annotation[] $null |
||
1107 | * @return self |
||
1108 | */ |
||
1109 | public function setNull(array $null) |
||
1114 | |||
1115 | /** |
||
1116 | * Gets as navigationPropertyPath |
||
1117 | * |
||
1118 | * @return string |
||
1119 | */ |
||
1120 | public function getNavigationPropertyPath() |
||
1124 | |||
1125 | /** |
||
1126 | * Sets a new navigationPropertyPath |
||
1127 | * |
||
1128 | * @param string $navigationPropertyPath |
||
1129 | * @return self |
||
1130 | */ |
||
1131 | public function setNavigationPropertyPath($navigationPropertyPath) |
||
1136 | |||
1137 | /** |
||
1138 | * Gets as path |
||
1139 | * |
||
1140 | * @return string |
||
1141 | */ |
||
1142 | public function getPath() |
||
1146 | |||
1147 | /** |
||
1148 | * Sets a new path |
||
1149 | * |
||
1150 | * @param string $path |
||
1151 | * @return self |
||
1152 | */ |
||
1153 | public function setPath($path) |
||
1158 | |||
1159 | /** |
||
1160 | * Gets as propertyPath |
||
1161 | * |
||
1162 | * @return string |
||
1163 | */ |
||
1164 | public function getPropertyPath() |
||
1168 | |||
1169 | /** |
||
1170 | * Sets a new propertyPath |
||
1171 | * |
||
1172 | * @param string $propertyPath |
||
1173 | * @return self |
||
1174 | */ |
||
1175 | public function setPropertyPath($propertyPath) |
||
1180 | |||
1181 | /** |
||
1182 | * Gets as record |
||
1183 | * |
||
1184 | * @return \MetadataV4\edm\TRecordExpressionType |
||
1185 | */ |
||
1186 | public function getRecord() |
||
1190 | |||
1191 | /** |
||
1192 | * Sets a new record |
||
1193 | * |
||
1194 | * @param \MetadataV4\edm\TRecordExpressionType $record |
||
1195 | * @return self |
||
1196 | */ |
||
1197 | public function setRecord(\MetadataV4\edm\TRecordExpressionType $record) |
||
1202 | |||
1203 | /** |
||
1204 | * Gets as urlRef |
||
1205 | * |
||
1206 | * @return \MetadataV4\edm\TOneChildExpressionType |
||
1207 | */ |
||
1208 | public function getUrlRef() |
||
1212 | |||
1213 | /** |
||
1214 | * Sets a new urlRef |
||
1215 | * |
||
1216 | * @param \MetadataV4\edm\TOneChildExpressionType $urlRef |
||
1217 | * @return self |
||
1218 | */ |
||
1219 | public function setUrlRef(\MetadataV4\edm\TOneChildExpressionType $urlRef) |
||
1224 | } |
||
1225 |