Passed
Push — master ( 583371...613693 )
by Alex
03:44
created

TCollectionExpressionType   D

Complexity

Total Complexity 76

Size/Duplication

Total Lines 1016
Duplicated Lines 0 %

Coupling/Cohesion

Components 2
Dependencies 0

Importance

Changes 0
Metric Value
wmc 76
lcom 2
cbo 0
dl 0
loc 1016
rs 4.9829
c 0
b 0
f 0

76 Methods

Rating   Name   Duplication   Size   Complexity  
A getBinary() 0 4 1
A setBinary() 0 5 1
A getBool() 0 4 1
A setBool() 0 5 1
A getDate() 0 4 1
A setDate() 0 5 1
A getDateTimeOffset() 0 4 1
A setDateTimeOffset() 0 5 1
A getDecimal() 0 4 1
A setDecimal() 0 5 1
A getDuration() 0 4 1
A setDuration() 0 5 1
A addToEnumMember() 0 5 1
A issetEnumMember() 0 4 1
A unsetEnumMember() 0 4 1
A getEnumMember() 0 4 1
A setEnumMember() 0 5 1
A getFloat() 0 4 1
A setFloat() 0 5 1
A getGuid() 0 4 1
A setGuid() 0 5 1
A getInt() 0 4 1
A setInt() 0 5 1
A getString() 0 4 1
A setString() 0 5 1
A getTimeOfDay() 0 4 1
A setTimeOfDay() 0 5 1
A getAnnotationPath() 0 4 1
A setAnnotationPath() 0 5 1
A getApply() 0 4 1
A setApply() 0 5 1
A getCast() 0 4 1
A setCast() 0 5 1
A getCollection() 0 4 1
A setCollection() 0 5 1
A getIf() 0 4 1
A setIf() 0 5 1
A getEq() 0 4 1
A setEq() 0 5 1
A getNe() 0 4 1
A setNe() 0 5 1
A getGe() 0 4 1
A setGe() 0 5 1
A getGt() 0 4 1
A setGt() 0 5 1
A getLe() 0 4 1
A setLe() 0 5 1
A getLt() 0 4 1
A setLt() 0 5 1
A getAnd() 0 4 1
A setAnd() 0 5 1
A getOr() 0 4 1
A setOr() 0 5 1
A getNot() 0 4 1
A setNot() 0 5 1
A getIsOf() 0 4 1
A setIsOf() 0 5 1
A getLabeledElement() 0 4 1
A setLabeledElement() 0 5 1
A getLabeledElementReference() 0 4 1
A setLabeledElementReference() 0 5 1
A addToNull() 0 5 1
A issetNull() 0 4 1
A unsetNull() 0 4 1
A getNull() 0 4 1
A setNull() 0 5 1
A getNavigationPropertyPath() 0 4 1
A setNavigationPropertyPath() 0 5 1
A getPath() 0 4 1
A setPath() 0 5 1
A getPropertyPath() 0 4 1
A setPropertyPath() 0 5 1
A getRecord() 0 4 1
A setRecord() 0 5 1
A getUrlRef() 0 4 1
A setUrlRef() 0 5 1

How to fix   Complexity   

Complex Class

Complex classes like TCollectionExpressionType 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 TCollectionExpressionType, and based on these observations, apply Extract Interface, too.

1
<?php
2
3
namespace AlgoWeb\ODataMetadata\MetadataV4\edm;
4
5
/**
6
 * Class representing TCollectionExpressionType
7
 *
8
 *
9
 * XSD Type: TCollectionExpression
10
 */
11
class TCollectionExpressionType
12
{
13
14
    /**
15
     * @property string $binary
16
     */
17
    private $binary = null;
18
19
    /**
20
     * @property boolean $bool
21
     */
22
    private $bool = null;
23
24
    /**
25
     * @property \DateTime $date
26
     */
27
    private $date = null;
28
29
    /**
30
     * @property \DateTime $dateTimeOffset
31
     */
32
    private $dateTimeOffset = null;
33
34
    /**
35
     * @property float $decimal
36
     */
37
    private $decimal = null;
38
39
    /**
40
     * @property \DateInterval $duration
41
     */
42
    private $duration = null;
43
44
    /**
45
     * @property string[] $enumMember
46
     */
47
    private $enumMember = null;
48
49
    /**
50
     * @property float $float
51
     */
52
    private $float = null;
53
54
    /**
55
     * @property string $guid
56
     */
57
    private $guid = null;
58
59
    /**
60
     * @property integer $int
61
     */
62
    private $int = null;
63
64
    /**
65
     * @property string $string
66
     */
67
    private $string = null;
68
69
    /**
70
     * @property \DateTime $timeOfDay
71
     */
72
    private $timeOfDay = null;
73
74
    /**
75
     * @property string $annotationPath
76
     */
77
    private $annotationPath = null;
78
79
    /**
80
     * @property \MetadataV4\edm\TApplyExpressionType $apply
81
     */
82
    private $apply = null;
83
84
    /**
85
     * @property \MetadataV4\edm\TCastOrIsOfExpressionType $cast
86
     */
87
    private $cast = null;
88
89
    /**
90
     * @property \MetadataV4\edm\TCollectionExpressionType $collection
91
     */
92
    private $collection = null;
93
94
    /**
95
     * @property \MetadataV4\edm\TIfExpressionType $if
96
     */
97
    private $if = null;
98
99
    /**
100
     * @property \MetadataV4\edm\TTwoChildrenExpressionType $eq
101
     */
102
    private $eq = null;
103
104
    /**
105
     * @property \MetadataV4\edm\TTwoChildrenExpressionType $ne
106
     */
107
    private $ne = null;
108
109
    /**
110
     * @property \MetadataV4\edm\TTwoChildrenExpressionType $ge
111
     */
112
    private $ge = null;
113
114
    /**
115
     * @property \MetadataV4\edm\TTwoChildrenExpressionType $gt
116
     */
117
    private $gt = null;
118
119
    /**
120
     * @property \MetadataV4\edm\TTwoChildrenExpressionType $le
121
     */
122
    private $le = null;
123
124
    /**
125
     * @property \MetadataV4\edm\TTwoChildrenExpressionType $lt
126
     */
127
    private $lt = null;
128
129
    /**
130
     * @property \MetadataV4\edm\TTwoChildrenExpressionType $and
131
     */
132
    private $and = null;
133
134
    /**
135
     * @property \MetadataV4\edm\TTwoChildrenExpressionType $or
136
     */
137
    private $or = null;
138
139
    /**
140
     * @property \MetadataV4\edm\TOneChildExpressionType $not
141
     */
142
    private $not = null;
143
144
    /**
145
     * @property \MetadataV4\edm\TCastOrIsOfExpressionType $isOf
146
     */
147
    private $isOf = null;
148
149
    /**
150
     * @property \MetadataV4\edm\TLabeledElementExpressionType $labeledElement
151
     */
152
    private $labeledElement = null;
153
154
    /**
155
     * @property string $labeledElementReference
156
     */
157
    private $labeledElementReference = null;
158
159
    /**
160
     * @property \MetadataV4\edm\Annotation[] $null
161
     */
162
    private $null = null;
163
164
    /**
165
     * @property string $navigationPropertyPath
166
     */
167
    private $navigationPropertyPath = null;
168
169
    /**
170
     * @property string $path
171
     */
172
    private $path = null;
173
174
    /**
175
     * @property string $propertyPath
176
     */
177
    private $propertyPath = null;
178
179
    /**
180
     * @property \MetadataV4\edm\TRecordExpressionType $record
181
     */
182
    private $record = null;
183
184
    /**
185
     * @property \MetadataV4\edm\TOneChildExpressionType $urlRef
186
     */
187
    private $urlRef = null;
188
189
    /**
190
     * Gets as binary
191
     *
192
     * @return string
193
     */
194
    public function getBinary()
195
    {
196
        return $this->binary;
197
    }
198
199
    /**
200
     * Sets a new binary
201
     *
202
     * @param string $binary
203
     * @return self
204
     */
205
    public function setBinary($binary)
206
    {
207
        $this->binary = $binary;
208
        return $this;
209
    }
210
211
    /**
212
     * Gets as bool
213
     *
214
     * @return boolean
215
     */
216
    public function getBool()
217
    {
218
        return $this->bool;
219
    }
220
221
    /**
222
     * Sets a new bool
223
     *
224
     * @param boolean $bool
225
     * @return self
226
     */
227
    public function setBool($bool)
228
    {
229
        $this->bool = $bool;
230
        return $this;
231
    }
232
233
    /**
234
     * Gets as date
235
     *
236
     * @return \DateTime
237
     */
238
    public function getDate()
239
    {
240
        return $this->date;
241
    }
242
243
    /**
244
     * Sets a new date
245
     *
246
     * @param \DateTime $date
247
     * @return self
248
     */
249
    public function setDate(\DateTime $date)
250
    {
251
        $this->date = $date;
252
        return $this;
253
    }
254
255
    /**
256
     * Gets as dateTimeOffset
257
     *
258
     * @return \DateTime
259
     */
260
    public function getDateTimeOffset()
261
    {
262
        return $this->dateTimeOffset;
263
    }
264
265
    /**
266
     * Sets a new dateTimeOffset
267
     *
268
     * @param \DateTime $dateTimeOffset
269
     * @return self
270
     */
271
    public function setDateTimeOffset(\DateTime $dateTimeOffset)
272
    {
273
        $this->dateTimeOffset = $dateTimeOffset;
274
        return $this;
275
    }
276
277
    /**
278
     * Gets as decimal
279
     *
280
     * @return float
281
     */
282
    public function getDecimal()
283
    {
284
        return $this->decimal;
285
    }
286
287
    /**
288
     * Sets a new decimal
289
     *
290
     * @param float $decimal
291
     * @return self
292
     */
293
    public function setDecimal($decimal)
294
    {
295
        $this->decimal = $decimal;
296
        return $this;
297
    }
298
299
    /**
300
     * Gets as duration
301
     *
302
     * @return \DateInterval
303
     */
304
    public function getDuration()
305
    {
306
        return $this->duration;
307
    }
308
309
    /**
310
     * Sets a new duration
311
     *
312
     * @param \DateInterval $duration
313
     * @return self
314
     */
315
    public function setDuration(\DateInterval $duration)
316
    {
317
        $this->duration = $duration;
318
        return $this;
319
    }
320
321
    /**
322
     * Adds as enumMember
323
     *
324
     * @return self
325
     * @param string $enumMember
326
     */
327
    public function addToEnumMember($enumMember)
328
    {
329
        $this->enumMember[] = $enumMember;
330
        return $this;
331
    }
332
333
    /**
334
     * isset enumMember
335
     *
336
     * @param scalar $index
337
     * @return boolean
338
     */
339
    public function issetEnumMember($index)
340
    {
341
        return isset($this->enumMember[$index]);
342
    }
343
344
    /**
345
     * unset enumMember
346
     *
347
     * @param scalar $index
348
     * @return void
349
     */
350
    public function unsetEnumMember($index)
351
    {
352
        unset($this->enumMember[$index]);
353
    }
354
355
    /**
356
     * Gets as enumMember
357
     *
358
     * @return string[]
359
     */
360
    public function getEnumMember()
361
    {
362
        return $this->enumMember;
363
    }
364
365
    /**
366
     * Sets a new enumMember
367
     *
368
     * @param string $enumMember
369
     * @return self
370
     */
371
    public function setEnumMember(array $enumMember)
372
    {
373
        $this->enumMember = $enumMember;
374
        return $this;
375
    }
376
377
    /**
378
     * Gets as float
379
     *
380
     * @return float
381
     */
382
    public function getFloat()
383
    {
384
        return $this->float;
385
    }
386
387
    /**
388
     * Sets a new float
389
     *
390
     * @param float $float
391
     * @return self
392
     */
393
    public function setFloat($float)
394
    {
395
        $this->float = $float;
396
        return $this;
397
    }
398
399
    /**
400
     * Gets as guid
401
     *
402
     * @return string
403
     */
404
    public function getGuid()
405
    {
406
        return $this->guid;
407
    }
408
409
    /**
410
     * Sets a new guid
411
     *
412
     * @param string $guid
413
     * @return self
414
     */
415
    public function setGuid($guid)
416
    {
417
        $this->guid = $guid;
418
        return $this;
419
    }
420
421
    /**
422
     * Gets as int
423
     *
424
     * @return integer
425
     */
426
    public function getInt()
427
    {
428
        return $this->int;
429
    }
430
431
    /**
432
     * Sets a new int
433
     *
434
     * @param integer $int
435
     * @return self
436
     */
437
    public function setInt($int)
438
    {
439
        $this->int = $int;
440
        return $this;
441
    }
442
443
    /**
444
     * Gets as string
445
     *
446
     * @return string
447
     */
448
    public function getString()
449
    {
450
        return $this->string;
451
    }
452
453
    /**
454
     * Sets a new string
455
     *
456
     * @param string $string
457
     * @return self
458
     */
459
    public function setString($string)
460
    {
461
        $this->string = $string;
462
        return $this;
463
    }
464
465
    /**
466
     * Gets as timeOfDay
467
     *
468
     * @return \DateTime
469
     */
470
    public function getTimeOfDay()
471
    {
472
        return $this->timeOfDay;
473
    }
474
475
    /**
476
     * Sets a new timeOfDay
477
     *
478
     * @param \DateTime $timeOfDay
479
     * @return self
480
     */
481
    public function setTimeOfDay(\DateTime $timeOfDay)
482
    {
483
        $this->timeOfDay = $timeOfDay;
484
        return $this;
485
    }
486
487
    /**
488
     * Gets as annotationPath
489
     *
490
     * @return string
491
     */
492
    public function getAnnotationPath()
493
    {
494
        return $this->annotationPath;
495
    }
496
497
    /**
498
     * Sets a new annotationPath
499
     *
500
     * @param string $annotationPath
501
     * @return self
502
     */
503
    public function setAnnotationPath($annotationPath)
504
    {
505
        $this->annotationPath = $annotationPath;
506
        return $this;
507
    }
508
509
    /**
510
     * Gets as apply
511
     *
512
     * @return \MetadataV4\edm\TApplyExpressionType
513
     */
514
    public function getApply()
515
    {
516
        return $this->apply;
517
    }
518
519
    /**
520
     * Sets a new apply
521
     *
522
     * @param \MetadataV4\edm\TApplyExpressionType $apply
523
     * @return self
524
     */
525
    public function setApply(\MetadataV4\edm\TApplyExpressionType $apply)
526
    {
527
        $this->apply = $apply;
528
        return $this;
529
    }
530
531
    /**
532
     * Gets as cast
533
     *
534
     * @return \MetadataV4\edm\TCastOrIsOfExpressionType
535
     */
536
    public function getCast()
537
    {
538
        return $this->cast;
539
    }
540
541
    /**
542
     * Sets a new cast
543
     *
544
     * @param \MetadataV4\edm\TCastOrIsOfExpressionType $cast
545
     * @return self
546
     */
547
    public function setCast(\MetadataV4\edm\TCastOrIsOfExpressionType $cast)
548
    {
549
        $this->cast = $cast;
550
        return $this;
551
    }
552
553
    /**
554
     * Gets as collection
555
     *
556
     * @return \MetadataV4\edm\TCollectionExpressionType
557
     */
558
    public function getCollection()
559
    {
560
        return $this->collection;
561
    }
562
563
    /**
564
     * Sets a new collection
565
     *
566
     * @param \MetadataV4\edm\TCollectionExpressionType $collection
567
     * @return self
568
     */
569
    public function setCollection(\MetadataV4\edm\TCollectionExpressionType $collection)
570
    {
571
        $this->collection = $collection;
572
        return $this;
573
    }
574
575
    /**
576
     * Gets as if
577
     *
578
     * @return \MetadataV4\edm\TIfExpressionType
579
     */
580
    public function getIf()
581
    {
582
        return $this->if;
583
    }
584
585
    /**
586
     * Sets a new if
587
     *
588
     * @param \MetadataV4\edm\TIfExpressionType $if
589
     * @return self
590
     */
591
    public function setIf(\MetadataV4\edm\TIfExpressionType $if)
592
    {
593
        $this->if = $if;
594
        return $this;
595
    }
596
597
    /**
598
     * Gets as eq
599
     *
600
     * @return \MetadataV4\edm\TTwoChildrenExpressionType
601
     */
602
    public function getEq()
603
    {
604
        return $this->eq;
605
    }
606
607
    /**
608
     * Sets a new eq
609
     *
610
     * @param \MetadataV4\edm\TTwoChildrenExpressionType $eq
611
     * @return self
612
     */
613
    public function setEq(\MetadataV4\edm\TTwoChildrenExpressionType $eq)
614
    {
615
        $this->eq = $eq;
616
        return $this;
617
    }
618
619
    /**
620
     * Gets as ne
621
     *
622
     * @return \MetadataV4\edm\TTwoChildrenExpressionType
623
     */
624
    public function getNe()
625
    {
626
        return $this->ne;
627
    }
628
629
    /**
630
     * Sets a new ne
631
     *
632
     * @param \MetadataV4\edm\TTwoChildrenExpressionType $ne
633
     * @return self
634
     */
635
    public function setNe(\MetadataV4\edm\TTwoChildrenExpressionType $ne)
636
    {
637
        $this->ne = $ne;
638
        return $this;
639
    }
640
641
    /**
642
     * Gets as ge
643
     *
644
     * @return \MetadataV4\edm\TTwoChildrenExpressionType
645
     */
646
    public function getGe()
647
    {
648
        return $this->ge;
649
    }
650
651
    /**
652
     * Sets a new ge
653
     *
654
     * @param \MetadataV4\edm\TTwoChildrenExpressionType $ge
655
     * @return self
656
     */
657
    public function setGe(\MetadataV4\edm\TTwoChildrenExpressionType $ge)
658
    {
659
        $this->ge = $ge;
660
        return $this;
661
    }
662
663
    /**
664
     * Gets as gt
665
     *
666
     * @return \MetadataV4\edm\TTwoChildrenExpressionType
667
     */
668
    public function getGt()
669
    {
670
        return $this->gt;
671
    }
672
673
    /**
674
     * Sets a new gt
675
     *
676
     * @param \MetadataV4\edm\TTwoChildrenExpressionType $gt
677
     * @return self
678
     */
679
    public function setGt(\MetadataV4\edm\TTwoChildrenExpressionType $gt)
680
    {
681
        $this->gt = $gt;
682
        return $this;
683
    }
684
685
    /**
686
     * Gets as le
687
     *
688
     * @return \MetadataV4\edm\TTwoChildrenExpressionType
689
     */
690
    public function getLe()
691
    {
692
        return $this->le;
693
    }
694
695
    /**
696
     * Sets a new le
697
     *
698
     * @param \MetadataV4\edm\TTwoChildrenExpressionType $le
699
     * @return self
700
     */
701
    public function setLe(\MetadataV4\edm\TTwoChildrenExpressionType $le)
702
    {
703
        $this->le = $le;
704
        return $this;
705
    }
706
707
    /**
708
     * Gets as lt
709
     *
710
     * @return \MetadataV4\edm\TTwoChildrenExpressionType
711
     */
712
    public function getLt()
713
    {
714
        return $this->lt;
715
    }
716
717
    /**
718
     * Sets a new lt
719
     *
720
     * @param \MetadataV4\edm\TTwoChildrenExpressionType $lt
721
     * @return self
722
     */
723
    public function setLt(\MetadataV4\edm\TTwoChildrenExpressionType $lt)
724
    {
725
        $this->lt = $lt;
726
        return $this;
727
    }
728
729
    /**
730
     * Gets as and
731
     *
732
     * @return \MetadataV4\edm\TTwoChildrenExpressionType
733
     */
734
    public function getAnd()
735
    {
736
        return $this->and;
737
    }
738
739
    /**
740
     * Sets a new and
741
     *
742
     * @param \MetadataV4\edm\TTwoChildrenExpressionType $and
743
     * @return self
744
     */
745
    public function setAnd(\MetadataV4\edm\TTwoChildrenExpressionType $and)
746
    {
747
        $this->and = $and;
748
        return $this;
749
    }
750
751
    /**
752
     * Gets as or
753
     *
754
     * @return \MetadataV4\edm\TTwoChildrenExpressionType
755
     */
756
    public function getOr()
757
    {
758
        return $this->or;
759
    }
760
761
    /**
762
     * Sets a new or
763
     *
764
     * @param \MetadataV4\edm\TTwoChildrenExpressionType $or
765
     * @return self
766
     */
767
    public function setOr(\MetadataV4\edm\TTwoChildrenExpressionType $or)
768
    {
769
        $this->or = $or;
770
        return $this;
771
    }
772
773
    /**
774
     * Gets as not
775
     *
776
     * @return \MetadataV4\edm\TOneChildExpressionType
777
     */
778
    public function getNot()
779
    {
780
        return $this->not;
781
    }
782
783
    /**
784
     * Sets a new not
785
     *
786
     * @param \MetadataV4\edm\TOneChildExpressionType $not
787
     * @return self
788
     */
789
    public function setNot(\MetadataV4\edm\TOneChildExpressionType $not)
790
    {
791
        $this->not = $not;
792
        return $this;
793
    }
794
795
    /**
796
     * Gets as isOf
797
     *
798
     * @return \MetadataV4\edm\TCastOrIsOfExpressionType
799
     */
800
    public function getIsOf()
801
    {
802
        return $this->isOf;
803
    }
804
805
    /**
806
     * Sets a new isOf
807
     *
808
     * @param \MetadataV4\edm\TCastOrIsOfExpressionType $isOf
809
     * @return self
810
     */
811
    public function setIsOf(\MetadataV4\edm\TCastOrIsOfExpressionType $isOf)
812
    {
813
        $this->isOf = $isOf;
814
        return $this;
815
    }
816
817
    /**
818
     * Gets as labeledElement
819
     *
820
     * @return \MetadataV4\edm\TLabeledElementExpressionType
821
     */
822
    public function getLabeledElement()
823
    {
824
        return $this->labeledElement;
825
    }
826
827
    /**
828
     * Sets a new labeledElement
829
     *
830
     * @param \MetadataV4\edm\TLabeledElementExpressionType $labeledElement
831
     * @return self
832
     */
833
    public function setLabeledElement(\MetadataV4\edm\TLabeledElementExpressionType $labeledElement)
834
    {
835
        $this->labeledElement = $labeledElement;
836
        return $this;
837
    }
838
839
    /**
840
     * Gets as labeledElementReference
841
     *
842
     * @return string
843
     */
844
    public function getLabeledElementReference()
845
    {
846
        return $this->labeledElementReference;
847
    }
848
849
    /**
850
     * Sets a new labeledElementReference
851
     *
852
     * @param string $labeledElementReference
853
     * @return self
854
     */
855
    public function setLabeledElementReference($labeledElementReference)
856
    {
857
        $this->labeledElementReference = $labeledElementReference;
858
        return $this;
859
    }
860
861
    /**
862
     * Adds as annotation
863
     *
864
     * @return self
865
     * @param \MetadataV4\edm\Annotation $annotation
866
     */
867
    public function addToNull(\MetadataV4\edm\Annotation $annotation)
868
    {
869
        $this->null[] = $annotation;
870
        return $this;
871
    }
872
873
    /**
874
     * isset null
875
     *
876
     * @param scalar $index
877
     * @return boolean
878
     */
879
    public function issetNull($index)
880
    {
881
        return isset($this->null[$index]);
882
    }
883
884
    /**
885
     * unset null
886
     *
887
     * @param scalar $index
888
     * @return void
889
     */
890
    public function unsetNull($index)
891
    {
892
        unset($this->null[$index]);
893
    }
894
895
    /**
896
     * Gets as null
897
     *
898
     * @return \MetadataV4\edm\Annotation[]
899
     */
900
    public function getNull()
901
    {
902
        return $this->null;
903
    }
904
905
    /**
906
     * Sets a new null
907
     *
908
     * @param \MetadataV4\edm\Annotation[] $null
909
     * @return self
910
     */
911
    public function setNull(array $null)
912
    {
913
        $this->null = $null;
914
        return $this;
915
    }
916
917
    /**
918
     * Gets as navigationPropertyPath
919
     *
920
     * @return string
921
     */
922
    public function getNavigationPropertyPath()
923
    {
924
        return $this->navigationPropertyPath;
925
    }
926
927
    /**
928
     * Sets a new navigationPropertyPath
929
     *
930
     * @param string $navigationPropertyPath
931
     * @return self
932
     */
933
    public function setNavigationPropertyPath($navigationPropertyPath)
934
    {
935
        $this->navigationPropertyPath = $navigationPropertyPath;
936
        return $this;
937
    }
938
939
    /**
940
     * Gets as path
941
     *
942
     * @return string
943
     */
944
    public function getPath()
945
    {
946
        return $this->path;
947
    }
948
949
    /**
950
     * Sets a new path
951
     *
952
     * @param string $path
953
     * @return self
954
     */
955
    public function setPath($path)
956
    {
957
        $this->path = $path;
958
        return $this;
959
    }
960
961
    /**
962
     * Gets as propertyPath
963
     *
964
     * @return string
965
     */
966
    public function getPropertyPath()
967
    {
968
        return $this->propertyPath;
969
    }
970
971
    /**
972
     * Sets a new propertyPath
973
     *
974
     * @param string $propertyPath
975
     * @return self
976
     */
977
    public function setPropertyPath($propertyPath)
978
    {
979
        $this->propertyPath = $propertyPath;
980
        return $this;
981
    }
982
983
    /**
984
     * Gets as record
985
     *
986
     * @return \MetadataV4\edm\TRecordExpressionType
987
     */
988
    public function getRecord()
989
    {
990
        return $this->record;
991
    }
992
993
    /**
994
     * Sets a new record
995
     *
996
     * @param \MetadataV4\edm\TRecordExpressionType $record
997
     * @return self
998
     */
999
    public function setRecord(\MetadataV4\edm\TRecordExpressionType $record)
1000
    {
1001
        $this->record = $record;
1002
        return $this;
1003
    }
1004
1005
    /**
1006
     * Gets as urlRef
1007
     *
1008
     * @return \MetadataV4\edm\TOneChildExpressionType
1009
     */
1010
    public function getUrlRef()
1011
    {
1012
        return $this->urlRef;
1013
    }
1014
1015
    /**
1016
     * Sets a new urlRef
1017
     *
1018
     * @param \MetadataV4\edm\TOneChildExpressionType $urlRef
1019
     * @return self
1020
     */
1021
    public function setUrlRef(\MetadataV4\edm\TOneChildExpressionType $urlRef)
1022
    {
1023
        $this->urlRef = $urlRef;
1024
        return $this;
1025
    }
1026
}
1027