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

TOperandType::getApply()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 4
Ratio 100 %

Importance

Changes 0
Metric Value
dl 4
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace AlgoWeb\ODataMetadata\MetadataV3\edm;
4
5
/**
6
 * Class representing TOperandType
7
 *
8
 *
9
 * XSD Type: TOperand
10
 */
11 View Code Duplication
class TOperandType
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
12
{
13
14
    /**
15
     * @property string $string
16
     */
17
    private $string = null;
18
19
    /**
20
     * @property mixed $binary
21
     */
22
    private $binary = null;
23
24
    /**
25
     * @property integer $int
26
     */
27
    private $int = null;
28
29
    /**
30
     * @property float $float
31
     */
32
    private $float = null;
33
34
    /**
35
     * @property string $guid
36
     */
37
    private $guid = null;
38
39
    /**
40
     * @property float $decimal
41
     */
42
    private $decimal = null;
43
44
    /**
45
     * @property boolean $bool
46
     */
47
    private $bool = null;
48
49
    /**
50
     * @property \DateTime $dateTime
51
     */
52
    private $dateTime = null;
53
54
    /**
55
     * @property \DateTime $dateTimeOffset
56
     */
57
    private $dateTimeOffset = null;
58
59
    /**
60
     * @property string $enum
61
     */
62
    private $enum = null;
63
64
    /**
65
     * @property string $path
66
     */
67
    private $path = null;
68
69
    /**
70
     * @property \MetadataV3\edm\TIfExpressionType $if
71
     */
72
    private $if = null;
73
74
    /**
75
     * @property \MetadataV3\edm\TRecordExpressionType $record
76
     */
77
    private $record = null;
78
79
    /**
80
     * @property \MetadataV3\edm\TCollectionExpressionType $collection
81
     */
82
    private $collection = null;
83
84
    /**
85
     * @property \MetadataV3\edm\TTypeAssertExpressionType $typeAssert
86
     */
87
    private $typeAssert = null;
88
89
    /**
90
     * @property \MetadataV3\edm\TTypeTestExpressionType $typeTest
91
     */
92
    private $typeTest = null;
93
94
    /**
95
     * @property \MetadataV3\edm\TFunctionReferenceExpressionType $functionReference
96
     */
97
    private $functionReference = null;
98
99
    /**
100
     * @property \MetadataV3\edm\TEntitySetReferenceExpressionType $entitySetReference
101
     */
102
    private $entitySetReference = null;
103
104
    /**
105
     * @property \MetadataV3\edm\TAnonymousFunctionExpressionType $anonymousFunction
106
     */
107
    private $anonymousFunction = null;
108
109
    /**
110
     * @property \MetadataV3\edm\TParameterReferenceExpressionType $parameterReference
111
     */
112
    private $parameterReference = null;
113
114
    /**
115
     * @property \MetadataV3\edm\TApplyExpressionType $apply
116
     */
117
    private $apply = null;
118
119
    /**
120
     * @property \MetadataV3\edm\TPropertyReferenceExpressionType $propertyReference
121
     */
122
    private $propertyReference = null;
123
124
    /**
125
     * @property \MetadataV3\edm\TValueTermReferenceExpressionType $valueTermReference
126
     */
127
    private $valueTermReference = null;
128
129
    /**
130
     * Gets as string
131
     *
132
     * @return string
133
     */
134
    public function getString()
135
    {
136
        return $this->string;
137
    }
138
139
    /**
140
     * Sets a new string
141
     *
142
     * @param string $string
143
     * @return self
144
     */
145
    public function setString($string)
146
    {
147
        $this->string = $string;
148
        return $this;
149
    }
150
151
    /**
152
     * Gets as binary
153
     *
154
     * @return mixed
155
     */
156
    public function getBinary()
157
    {
158
        return $this->binary;
159
    }
160
161
    /**
162
     * Sets a new binary
163
     *
164
     * @param mixed $binary
165
     * @return self
166
     */
167
    public function setBinary($binary)
168
    {
169
        $this->binary = $binary;
170
        return $this;
171
    }
172
173
    /**
174
     * Gets as int
175
     *
176
     * @return integer
177
     */
178
    public function getInt()
179
    {
180
        return $this->int;
181
    }
182
183
    /**
184
     * Sets a new int
185
     *
186
     * @param integer $int
187
     * @return self
188
     */
189
    public function setInt($int)
190
    {
191
        $this->int = $int;
192
        return $this;
193
    }
194
195
    /**
196
     * Gets as float
197
     *
198
     * @return float
199
     */
200
    public function getFloat()
201
    {
202
        return $this->float;
203
    }
204
205
    /**
206
     * Sets a new float
207
     *
208
     * @param float $float
209
     * @return self
210
     */
211
    public function setFloat($float)
212
    {
213
        $this->float = $float;
214
        return $this;
215
    }
216
217
    /**
218
     * Gets as guid
219
     *
220
     * @return string
221
     */
222
    public function getGuid()
223
    {
224
        return $this->guid;
225
    }
226
227
    /**
228
     * Sets a new guid
229
     *
230
     * @param string $guid
231
     * @return self
232
     */
233
    public function setGuid($guid)
234
    {
235
        $this->guid = $guid;
236
        return $this;
237
    }
238
239
    /**
240
     * Gets as decimal
241
     *
242
     * @return float
243
     */
244
    public function getDecimal()
245
    {
246
        return $this->decimal;
247
    }
248
249
    /**
250
     * Sets a new decimal
251
     *
252
     * @param float $decimal
253
     * @return self
254
     */
255
    public function setDecimal($decimal)
256
    {
257
        $this->decimal = $decimal;
258
        return $this;
259
    }
260
261
    /**
262
     * Gets as bool
263
     *
264
     * @return boolean
265
     */
266
    public function getBool()
267
    {
268
        return $this->bool;
269
    }
270
271
    /**
272
     * Sets a new bool
273
     *
274
     * @param boolean $bool
275
     * @return self
276
     */
277
    public function setBool($bool)
278
    {
279
        $this->bool = $bool;
280
        return $this;
281
    }
282
283
    /**
284
     * Gets as dateTime
285
     *
286
     * @return \DateTime
287
     */
288
    public function getDateTime()
289
    {
290
        return $this->dateTime;
291
    }
292
293
    /**
294
     * Sets a new dateTime
295
     *
296
     * @param \DateTime $dateTime
297
     * @return self
298
     */
299
    public function setDateTime(\DateTime $dateTime)
300
    {
301
        $this->dateTime = $dateTime;
302
        return $this;
303
    }
304
305
    /**
306
     * Gets as dateTimeOffset
307
     *
308
     * @return \DateTime
309
     */
310
    public function getDateTimeOffset()
311
    {
312
        return $this->dateTimeOffset;
313
    }
314
315
    /**
316
     * Sets a new dateTimeOffset
317
     *
318
     * @param \DateTime $dateTimeOffset
319
     * @return self
320
     */
321
    public function setDateTimeOffset(\DateTime $dateTimeOffset)
322
    {
323
        $this->dateTimeOffset = $dateTimeOffset;
324
        return $this;
325
    }
326
327
    /**
328
     * Gets as enum
329
     *
330
     * @return string
331
     */
332
    public function getEnum()
333
    {
334
        return $this->enum;
335
    }
336
337
    /**
338
     * Sets a new enum
339
     *
340
     * @param string $enum
341
     * @return self
342
     */
343
    public function setEnum($enum)
344
    {
345
        $this->enum = $enum;
346
        return $this;
347
    }
348
349
    /**
350
     * Gets as path
351
     *
352
     * @return string
353
     */
354
    public function getPath()
355
    {
356
        return $this->path;
357
    }
358
359
    /**
360
     * Sets a new path
361
     *
362
     * @param string $path
363
     * @return self
364
     */
365
    public function setPath($path)
366
    {
367
        $this->path = $path;
368
        return $this;
369
    }
370
371
    /**
372
     * Gets as if
373
     *
374
     * @return \MetadataV3\edm\TIfExpressionType
375
     */
376
    public function getIf()
377
    {
378
        return $this->if;
379
    }
380
381
    /**
382
     * Sets a new if
383
     *
384
     * @param \MetadataV3\edm\TIfExpressionType $if
385
     * @return self
386
     */
387
    public function setIf(\MetadataV3\edm\TIfExpressionType $if)
388
    {
389
        $this->if = $if;
390
        return $this;
391
    }
392
393
    /**
394
     * Gets as record
395
     *
396
     * @return \MetadataV3\edm\TRecordExpressionType
397
     */
398
    public function getRecord()
399
    {
400
        return $this->record;
401
    }
402
403
    /**
404
     * Sets a new record
405
     *
406
     * @param \MetadataV3\edm\TRecordExpressionType $record
407
     * @return self
408
     */
409
    public function setRecord(\MetadataV3\edm\TRecordExpressionType $record)
410
    {
411
        $this->record = $record;
412
        return $this;
413
    }
414
415
    /**
416
     * Gets as collection
417
     *
418
     * @return \MetadataV3\edm\TCollectionExpressionType
419
     */
420
    public function getCollection()
421
    {
422
        return $this->collection;
423
    }
424
425
    /**
426
     * Sets a new collection
427
     *
428
     * @param \MetadataV3\edm\TCollectionExpressionType $collection
429
     * @return self
430
     */
431
    public function setCollection(\MetadataV3\edm\TCollectionExpressionType $collection)
432
    {
433
        $this->collection = $collection;
434
        return $this;
435
    }
436
437
    /**
438
     * Gets as typeAssert
439
     *
440
     * @return \MetadataV3\edm\TTypeAssertExpressionType
441
     */
442
    public function getTypeAssert()
443
    {
444
        return $this->typeAssert;
445
    }
446
447
    /**
448
     * Sets a new typeAssert
449
     *
450
     * @param \MetadataV3\edm\TTypeAssertExpressionType $typeAssert
451
     * @return self
452
     */
453
    public function setTypeAssert(\MetadataV3\edm\TTypeAssertExpressionType $typeAssert)
454
    {
455
        $this->typeAssert = $typeAssert;
456
        return $this;
457
    }
458
459
    /**
460
     * Gets as typeTest
461
     *
462
     * @return \MetadataV3\edm\TTypeTestExpressionType
463
     */
464
    public function getTypeTest()
465
    {
466
        return $this->typeTest;
467
    }
468
469
    /**
470
     * Sets a new typeTest
471
     *
472
     * @param \MetadataV3\edm\TTypeTestExpressionType $typeTest
473
     * @return self
474
     */
475
    public function setTypeTest(\MetadataV3\edm\TTypeTestExpressionType $typeTest)
476
    {
477
        $this->typeTest = $typeTest;
478
        return $this;
479
    }
480
481
    /**
482
     * Gets as functionReference
483
     *
484
     * @return \MetadataV3\edm\TFunctionReferenceExpressionType
485
     */
486
    public function getFunctionReference()
487
    {
488
        return $this->functionReference;
489
    }
490
491
    /**
492
     * Sets a new functionReference
493
     *
494
     * @param \MetadataV3\edm\TFunctionReferenceExpressionType $functionReference
495
     * @return self
496
     */
497
    public function setFunctionReference(\MetadataV3\edm\TFunctionReferenceExpressionType $functionReference)
498
    {
499
        $this->functionReference = $functionReference;
500
        return $this;
501
    }
502
503
    /**
504
     * Gets as entitySetReference
505
     *
506
     * @return \MetadataV3\edm\TEntitySetReferenceExpressionType
507
     */
508
    public function getEntitySetReference()
509
    {
510
        return $this->entitySetReference;
511
    }
512
513
    /**
514
     * Sets a new entitySetReference
515
     *
516
     * @param \MetadataV3\edm\TEntitySetReferenceExpressionType $entitySetReference
517
     * @return self
518
     */
519
    public function setEntitySetReference(\MetadataV3\edm\TEntitySetReferenceExpressionType $entitySetReference)
520
    {
521
        $this->entitySetReference = $entitySetReference;
522
        return $this;
523
    }
524
525
    /**
526
     * Gets as anonymousFunction
527
     *
528
     * @return \MetadataV3\edm\TAnonymousFunctionExpressionType
529
     */
530
    public function getAnonymousFunction()
531
    {
532
        return $this->anonymousFunction;
533
    }
534
535
    /**
536
     * Sets a new anonymousFunction
537
     *
538
     * @param \MetadataV3\edm\TAnonymousFunctionExpressionType $anonymousFunction
539
     * @return self
540
     */
541
    public function setAnonymousFunction(\MetadataV3\edm\TAnonymousFunctionExpressionType $anonymousFunction)
542
    {
543
        $this->anonymousFunction = $anonymousFunction;
544
        return $this;
545
    }
546
547
    /**
548
     * Gets as parameterReference
549
     *
550
     * @return \MetadataV3\edm\TParameterReferenceExpressionType
551
     */
552
    public function getParameterReference()
553
    {
554
        return $this->parameterReference;
555
    }
556
557
    /**
558
     * Sets a new parameterReference
559
     *
560
     * @param \MetadataV3\edm\TParameterReferenceExpressionType $parameterReference
561
     * @return self
562
     */
563
    public function setParameterReference(\MetadataV3\edm\TParameterReferenceExpressionType $parameterReference)
564
    {
565
        $this->parameterReference = $parameterReference;
566
        return $this;
567
    }
568
569
    /**
570
     * Gets as apply
571
     *
572
     * @return \MetadataV3\edm\TApplyExpressionType
573
     */
574
    public function getApply()
575
    {
576
        return $this->apply;
577
    }
578
579
    /**
580
     * Sets a new apply
581
     *
582
     * @param \MetadataV3\edm\TApplyExpressionType $apply
583
     * @return self
584
     */
585
    public function setApply(\MetadataV3\edm\TApplyExpressionType $apply)
586
    {
587
        $this->apply = $apply;
588
        return $this;
589
    }
590
591
    /**
592
     * Gets as propertyReference
593
     *
594
     * @return \MetadataV3\edm\TPropertyReferenceExpressionType
595
     */
596
    public function getPropertyReference()
597
    {
598
        return $this->propertyReference;
599
    }
600
601
    /**
602
     * Sets a new propertyReference
603
     *
604
     * @param \MetadataV3\edm\TPropertyReferenceExpressionType $propertyReference
605
     * @return self
606
     */
607
    public function setPropertyReference(\MetadataV3\edm\TPropertyReferenceExpressionType $propertyReference)
608
    {
609
        $this->propertyReference = $propertyReference;
610
        return $this;
611
    }
612
613
    /**
614
     * Gets as valueTermReference
615
     *
616
     * @return \MetadataV3\edm\TValueTermReferenceExpressionType
617
     */
618
    public function getValueTermReference()
619
    {
620
        return $this->valueTermReference;
621
    }
622
623
    /**
624
     * Sets a new valueTermReference
625
     *
626
     * @param \MetadataV3\edm\TValueTermReferenceExpressionType $valueTermReference
627
     * @return self
628
     */
629
    public function setValueTermReference(\MetadataV3\edm\TValueTermReferenceExpressionType $valueTermReference)
630
    {
631
        $this->valueTermReference = $valueTermReference;
632
        return $this;
633
    }
634
}
635