Field::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 32
Code Lines 30

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 30
c 1
b 0
f 0
nc 1
nop 30
dl 0
loc 32
rs 9.44

How to fix   Many Parameters   

Many Parameters

Methods with many parameters are not only hard to understand, but their parameters also often become inconsistent when you need more, or different data.

There are several approaches to avoid long parameter lists:

1
<?php
2
3
namespace SForce\Wsdl;
4
5
class Field
6
{
7
    /**
8
     * @var boolean
9
     */
10
    protected $aggregatable = null;
11
12
    /**
13
     * @var boolean
14
     */
15
    protected $aiPredictionField = null;
16
17
    /**
18
     * @var boolean
19
     */
20
    protected $autoNumber = null;
21
22
    /**
23
     * @var int
24
     */
25
    protected $byteLength = null;
26
27
    /**
28
     * @var boolean
29
     */
30
    protected $calculated = null;
31
32
    /**
33
     * @var string
34
     */
35
    protected $calculatedFormula = null;
36
37
    /**
38
     * @var boolean
39
     */
40
    protected $cascadeDelete = null;
41
42
    /**
43
     * @var boolean
44
     */
45
    protected $caseSensitive = null;
46
47
    /**
48
     * @var string
49
     */
50
    protected $compoundFieldName = null;
51
52
    /**
53
     * @var string
54
     */
55
    protected $controllerName = null;
56
57
    /**
58
     * @var boolean
59
     */
60
    protected $createable = null;
61
62
    /**
63
     * @var boolean
64
     */
65
    protected $custom = null;
66
67
    /**
68
     * @var boolean
69
     */
70
    protected $dataTranslationEnabled = null;
71
72
    /**
73
     * @var anyType
74
     */
75
    protected $defaultValue = null;
76
77
    /**
78
     * @var string
79
     */
80
    protected $defaultValueFormula = null;
81
82
    /**
83
     * @var boolean
84
     */
85
    protected $defaultedOnCreate = null;
86
87
    /**
88
     * @var boolean
89
     */
90
    protected $dependentPicklist = null;
91
92
    /**
93
     * @var boolean
94
     */
95
    protected $deprecatedAndHidden = null;
96
97
    /**
98
     * @var int
99
     */
100
    protected $digits = null;
101
102
    /**
103
     * @var boolean
104
     */
105
    protected $displayLocationInDecimal = null;
106
107
    /**
108
     * @var boolean
109
     */
110
    protected $encrypted = null;
111
112
    /**
113
     * @var boolean
114
     */
115
    protected $externalId = null;
116
117
    /**
118
     * @var string
119
     */
120
    protected $extraTypeInfo = null;
121
122
    /**
123
     * @var boolean
124
     */
125
    protected $filterable = null;
126
127
    /**
128
     * @var FilteredLookupInfo
129
     */
130
    protected $filteredLookupInfo = null;
131
132
    /**
133
     * @var boolean
134
     */
135
    protected $formulaTreatNullNumberAsZero = null;
136
137
    /**
138
     * @var boolean
139
     */
140
    protected $groupable = null;
141
142
    /**
143
     * @var boolean
144
     */
145
    protected $highScaleNumber = null;
146
147
    /**
148
     * @var boolean
149
     */
150
    protected $htmlFormatted = null;
151
152
    /**
153
     * @var boolean
154
     */
155
    protected $idLookup = null;
156
157
    /**
158
     * @var string
159
     */
160
    protected $inlineHelpText = null;
161
162
    /**
163
     * @var string
164
     */
165
    protected $label = null;
166
167
    /**
168
     * @var int
169
     */
170
    protected $length = null;
171
172
    /**
173
     * @var string
174
     */
175
    protected $mask = null;
176
177
    /**
178
     * @var string
179
     */
180
    protected $maskType = null;
181
182
    /**
183
     * @var string
184
     */
185
    protected $name = null;
186
187
    /**
188
     * @var boolean
189
     */
190
    protected $nameField = null;
191
192
    /**
193
     * @var boolean
194
     */
195
    protected $namePointing = null;
196
197
    /**
198
     * @var boolean
199
     */
200
    protected $nillable = null;
201
202
    /**
203
     * @var boolean
204
     */
205
    protected $permissionable = null;
206
207
    /**
208
     * @var PicklistEntry[]
209
     */
210
    protected $picklistValues = null;
211
212
    /**
213
     * @var boolean
214
     */
215
    protected $polymorphicForeignKey = null;
216
217
    /**
218
     * @var int
219
     */
220
    protected $precision = null;
221
222
    /**
223
     * @var boolean
224
     */
225
    protected $queryByDistance = null;
226
227
    /**
228
     * @var string
229
     */
230
    protected $referenceTargetField = null;
231
232
    /**
233
     * @var string[]
234
     */
235
    protected $referenceTo = null;
236
237
    /**
238
     * @var string
239
     */
240
    protected $relationshipName = null;
241
242
    /**
243
     * @var int
244
     */
245
    protected $relationshipOrder = null;
246
247
    /**
248
     * @var boolean
249
     */
250
    protected $restrictedDelete = null;
251
252
    /**
253
     * @var boolean
254
     */
255
    protected $restrictedPicklist = null;
256
257
    /**
258
     * @var int
259
     */
260
    protected $scale = null;
261
262
    /**
263
     * @var boolean
264
     */
265
    protected $searchPrefilterable = null;
266
267
    /**
268
     * @var soapType
269
     */
270
    protected $soapType = null;
271
272
    /**
273
     * @var boolean
274
     */
275
    protected $sortable = null;
276
277
    /**
278
     * @var fieldType
279
     */
280
    protected $type = null;
281
282
    /**
283
     * @var boolean
284
     */
285
    protected $unique = null;
286
287
    /**
288
     * @var boolean
289
     */
290
    protected $updateable = null;
291
292
    /**
293
     * @var boolean
294
     */
295
    protected $writeRequiresMasterRead = null;
296
297
    /**
298
     * @param boolean $aggregatable
299
     * @param boolean $aiPredictionField
300
     * @param boolean $autoNumber
301
     * @param int $byteLength
302
     * @param boolean $calculated
303
     * @param boolean $caseSensitive
304
     * @param boolean $createable
305
     * @param boolean $custom
306
     * @param boolean $defaultedOnCreate
307
     * @param boolean $deprecatedAndHidden
308
     * @param int $digits
309
     * @param boolean $filterable
310
     * @param boolean $groupable
311
     * @param boolean $idLookup
312
     * @param string $label
313
     * @param int $length
314
     * @param string $name
315
     * @param boolean $nameField
316
     * @param boolean $nillable
317
     * @param boolean $permissionable
318
     * @param boolean $polymorphicForeignKey
319
     * @param int $precision
320
     * @param boolean $queryByDistance
321
     * @param boolean $restrictedPicklist
322
     * @param int $scale
323
     * @param boolean $searchPrefilterable
324
     * @param soapType $soapType
325
     * @param fieldType $type
326
     * @param boolean $unique
327
     * @param boolean $updateable
328
     */
329
    public function __construct($aggregatable = null, $aiPredictionField = null, $autoNumber = null, $byteLength = null, $calculated = null, $caseSensitive = null, $createable = null, $custom = null, $defaultedOnCreate = null, $deprecatedAndHidden = null, $digits = null, $filterable = null, $groupable = null, $idLookup = null, $label = null, $length = null, $name = null, $nameField = null, $nillable = null, $permissionable = null, $polymorphicForeignKey = null, $precision = null, $queryByDistance = null, $restrictedPicklist = null, $scale = null, $searchPrefilterable = null, $soapType = null, $type = null, $unique = null, $updateable = null)
330
    {
331
        $this->aggregatable = $aggregatable;
332
        $this->aiPredictionField = $aiPredictionField;
333
        $this->autoNumber = $autoNumber;
334
        $this->byteLength = $byteLength;
335
        $this->calculated = $calculated;
336
        $this->caseSensitive = $caseSensitive;
337
        $this->createable = $createable;
338
        $this->custom = $custom;
339
        $this->defaultedOnCreate = $defaultedOnCreate;
340
        $this->deprecatedAndHidden = $deprecatedAndHidden;
341
        $this->digits = $digits;
342
        $this->filterable = $filterable;
343
        $this->groupable = $groupable;
344
        $this->idLookup = $idLookup;
345
        $this->label = $label;
346
        $this->length = $length;
347
        $this->name = $name;
348
        $this->nameField = $nameField;
349
        $this->nillable = $nillable;
350
        $this->permissionable = $permissionable;
351
        $this->polymorphicForeignKey = $polymorphicForeignKey;
352
        $this->precision = $precision;
353
        $this->queryByDistance = $queryByDistance;
354
        $this->restrictedPicklist = $restrictedPicklist;
355
        $this->scale = $scale;
356
        $this->searchPrefilterable = $searchPrefilterable;
357
        $this->soapType = $soapType;
358
        $this->type = $type;
359
        $this->unique = $unique;
360
        $this->updateable = $updateable;
361
    }
362
363
    /**
364
     * @return boolean
365
     */
366
    public function getAggregatable()
367
    {
368
        return $this->aggregatable;
369
    }
370
371
    /**
372
     * @param boolean $aggregatable
373
     * @return \SForce\Wsdl\Field
374
     */
375
    public function setAggregatable($aggregatable)
376
    {
377
        $this->aggregatable = $aggregatable;
378
        return $this;
379
    }
380
381
    /**
382
     * @return boolean
383
     */
384
    public function getAiPredictionField()
385
    {
386
        return $this->aiPredictionField;
387
    }
388
389
    /**
390
     * @param boolean $aiPredictionField
391
     * @return \SForce\Wsdl\Field
392
     */
393
    public function setAiPredictionField($aiPredictionField)
394
    {
395
        $this->aiPredictionField = $aiPredictionField;
396
        return $this;
397
    }
398
399
    /**
400
     * @return boolean
401
     */
402
    public function getAutoNumber()
403
    {
404
        return $this->autoNumber;
405
    }
406
407
    /**
408
     * @param boolean $autoNumber
409
     * @return \SForce\Wsdl\Field
410
     */
411
    public function setAutoNumber($autoNumber)
412
    {
413
        $this->autoNumber = $autoNumber;
414
        return $this;
415
    }
416
417
    /**
418
     * @return int
419
     */
420
    public function getByteLength()
421
    {
422
        return $this->byteLength;
423
    }
424
425
    /**
426
     * @param int $byteLength
427
     * @return \SForce\Wsdl\Field
428
     */
429
    public function setByteLength($byteLength)
430
    {
431
        $this->byteLength = $byteLength;
432
        return $this;
433
    }
434
435
    /**
436
     * @return boolean
437
     */
438
    public function getCalculated()
439
    {
440
        return $this->calculated;
441
    }
442
443
    /**
444
     * @param boolean $calculated
445
     * @return \SForce\Wsdl\Field
446
     */
447
    public function setCalculated($calculated)
448
    {
449
        $this->calculated = $calculated;
450
        return $this;
451
    }
452
453
    /**
454
     * @return string
455
     */
456
    public function getCalculatedFormula()
457
    {
458
        return $this->calculatedFormula;
459
    }
460
461
    /**
462
     * @param string $calculatedFormula
463
     * @return \SForce\Wsdl\Field
464
     */
465
    public function setCalculatedFormula($calculatedFormula)
466
    {
467
        $this->calculatedFormula = $calculatedFormula;
468
        return $this;
469
    }
470
471
    /**
472
     * @return boolean
473
     */
474
    public function getCascadeDelete()
475
    {
476
        return $this->cascadeDelete;
477
    }
478
479
    /**
480
     * @param boolean $cascadeDelete
481
     * @return \SForce\Wsdl\Field
482
     */
483
    public function setCascadeDelete($cascadeDelete)
484
    {
485
        $this->cascadeDelete = $cascadeDelete;
486
        return $this;
487
    }
488
489
    /**
490
     * @return boolean
491
     */
492
    public function getCaseSensitive()
493
    {
494
        return $this->caseSensitive;
495
    }
496
497
    /**
498
     * @param boolean $caseSensitive
499
     * @return \SForce\Wsdl\Field
500
     */
501
    public function setCaseSensitive($caseSensitive)
502
    {
503
        $this->caseSensitive = $caseSensitive;
504
        return $this;
505
    }
506
507
    /**
508
     * @return string
509
     */
510
    public function getCompoundFieldName()
511
    {
512
        return $this->compoundFieldName;
513
    }
514
515
    /**
516
     * @param string $compoundFieldName
517
     * @return \SForce\Wsdl\Field
518
     */
519
    public function setCompoundFieldName($compoundFieldName)
520
    {
521
        $this->compoundFieldName = $compoundFieldName;
522
        return $this;
523
    }
524
525
    /**
526
     * @return string
527
     */
528
    public function getControllerName()
529
    {
530
        return $this->controllerName;
531
    }
532
533
    /**
534
     * @param string $controllerName
535
     * @return \SForce\Wsdl\Field
536
     */
537
    public function setControllerName($controllerName)
538
    {
539
        $this->controllerName = $controllerName;
540
        return $this;
541
    }
542
543
    /**
544
     * @return boolean
545
     */
546
    public function getCreateable()
547
    {
548
        return $this->createable;
549
    }
550
551
    /**
552
     * @param boolean $createable
553
     * @return \SForce\Wsdl\Field
554
     */
555
    public function setCreateable($createable)
556
    {
557
        $this->createable = $createable;
558
        return $this;
559
    }
560
561
    /**
562
     * @return boolean
563
     */
564
    public function getCustom()
565
    {
566
        return $this->custom;
567
    }
568
569
    /**
570
     * @param boolean $custom
571
     * @return \SForce\Wsdl\Field
572
     */
573
    public function setCustom($custom)
574
    {
575
        $this->custom = $custom;
576
        return $this;
577
    }
578
579
    /**
580
     * @return boolean
581
     */
582
    public function getDataTranslationEnabled()
583
    {
584
        return $this->dataTranslationEnabled;
585
    }
586
587
    /**
588
     * @param boolean $dataTranslationEnabled
589
     * @return \SForce\Wsdl\Field
590
     */
591
    public function setDataTranslationEnabled($dataTranslationEnabled)
592
    {
593
        $this->dataTranslationEnabled = $dataTranslationEnabled;
594
        return $this;
595
    }
596
597
    /**
598
     * @return anyType
599
     */
600
    public function getDefaultValue()
601
    {
602
        return $this->defaultValue;
603
    }
604
605
    /**
606
     * @param anyType $defaultValue
607
     * @return \SForce\Wsdl\Field
608
     */
609
    public function setDefaultValue($defaultValue)
610
    {
611
        $this->defaultValue = $defaultValue;
612
        return $this;
613
    }
614
615
    /**
616
     * @return string
617
     */
618
    public function getDefaultValueFormula()
619
    {
620
        return $this->defaultValueFormula;
621
    }
622
623
    /**
624
     * @param string $defaultValueFormula
625
     * @return \SForce\Wsdl\Field
626
     */
627
    public function setDefaultValueFormula($defaultValueFormula)
628
    {
629
        $this->defaultValueFormula = $defaultValueFormula;
630
        return $this;
631
    }
632
633
    /**
634
     * @return boolean
635
     */
636
    public function getDefaultedOnCreate()
637
    {
638
        return $this->defaultedOnCreate;
639
    }
640
641
    /**
642
     * @param boolean $defaultedOnCreate
643
     * @return \SForce\Wsdl\Field
644
     */
645
    public function setDefaultedOnCreate($defaultedOnCreate)
646
    {
647
        $this->defaultedOnCreate = $defaultedOnCreate;
648
        return $this;
649
    }
650
651
    /**
652
     * @return boolean
653
     */
654
    public function getDependentPicklist()
655
    {
656
        return $this->dependentPicklist;
657
    }
658
659
    /**
660
     * @param boolean $dependentPicklist
661
     * @return \SForce\Wsdl\Field
662
     */
663
    public function setDependentPicklist($dependentPicklist)
664
    {
665
        $this->dependentPicklist = $dependentPicklist;
666
        return $this;
667
    }
668
669
    /**
670
     * @return boolean
671
     */
672
    public function getDeprecatedAndHidden()
673
    {
674
        return $this->deprecatedAndHidden;
675
    }
676
677
    /**
678
     * @param boolean $deprecatedAndHidden
679
     * @return \SForce\Wsdl\Field
680
     */
681
    public function setDeprecatedAndHidden($deprecatedAndHidden)
682
    {
683
        $this->deprecatedAndHidden = $deprecatedAndHidden;
684
        return $this;
685
    }
686
687
    /**
688
     * @return int
689
     */
690
    public function getDigits()
691
    {
692
        return $this->digits;
693
    }
694
695
    /**
696
     * @param int $digits
697
     * @return \SForce\Wsdl\Field
698
     */
699
    public function setDigits($digits)
700
    {
701
        $this->digits = $digits;
702
        return $this;
703
    }
704
705
    /**
706
     * @return boolean
707
     */
708
    public function getDisplayLocationInDecimal()
709
    {
710
        return $this->displayLocationInDecimal;
711
    }
712
713
    /**
714
     * @param boolean $displayLocationInDecimal
715
     * @return \SForce\Wsdl\Field
716
     */
717
    public function setDisplayLocationInDecimal($displayLocationInDecimal)
718
    {
719
        $this->displayLocationInDecimal = $displayLocationInDecimal;
720
        return $this;
721
    }
722
723
    /**
724
     * @return boolean
725
     */
726
    public function getEncrypted()
727
    {
728
        return $this->encrypted;
729
    }
730
731
    /**
732
     * @param boolean $encrypted
733
     * @return \SForce\Wsdl\Field
734
     */
735
    public function setEncrypted($encrypted)
736
    {
737
        $this->encrypted = $encrypted;
738
        return $this;
739
    }
740
741
    /**
742
     * @return boolean
743
     */
744
    public function getExternalId()
745
    {
746
        return $this->externalId;
747
    }
748
749
    /**
750
     * @param boolean $externalId
751
     * @return \SForce\Wsdl\Field
752
     */
753
    public function setExternalId($externalId)
754
    {
755
        $this->externalId = $externalId;
756
        return $this;
757
    }
758
759
    /**
760
     * @return string
761
     */
762
    public function getExtraTypeInfo()
763
    {
764
        return $this->extraTypeInfo;
765
    }
766
767
    /**
768
     * @param string $extraTypeInfo
769
     * @return \SForce\Wsdl\Field
770
     */
771
    public function setExtraTypeInfo($extraTypeInfo)
772
    {
773
        $this->extraTypeInfo = $extraTypeInfo;
774
        return $this;
775
    }
776
777
    /**
778
     * @return boolean
779
     */
780
    public function getFilterable()
781
    {
782
        return $this->filterable;
783
    }
784
785
    /**
786
     * @param boolean $filterable
787
     * @return \SForce\Wsdl\Field
788
     */
789
    public function setFilterable($filterable)
790
    {
791
        $this->filterable = $filterable;
792
        return $this;
793
    }
794
795
    /**
796
     * @return FilteredLookupInfo
797
     */
798
    public function getFilteredLookupInfo()
799
    {
800
        return $this->filteredLookupInfo;
801
    }
802
803
    /**
804
     * @param FilteredLookupInfo $filteredLookupInfo
805
     * @return \SForce\Wsdl\Field
806
     */
807
    public function setFilteredLookupInfo($filteredLookupInfo)
808
    {
809
        $this->filteredLookupInfo = $filteredLookupInfo;
810
        return $this;
811
    }
812
813
    /**
814
     * @return boolean
815
     */
816
    public function getFormulaTreatNullNumberAsZero()
817
    {
818
        return $this->formulaTreatNullNumberAsZero;
819
    }
820
821
    /**
822
     * @param boolean $formulaTreatNullNumberAsZero
823
     * @return \SForce\Wsdl\Field
824
     */
825
    public function setFormulaTreatNullNumberAsZero($formulaTreatNullNumberAsZero)
826
    {
827
        $this->formulaTreatNullNumberAsZero = $formulaTreatNullNumberAsZero;
828
        return $this;
829
    }
830
831
    /**
832
     * @return boolean
833
     */
834
    public function getGroupable()
835
    {
836
        return $this->groupable;
837
    }
838
839
    /**
840
     * @param boolean $groupable
841
     * @return \SForce\Wsdl\Field
842
     */
843
    public function setGroupable($groupable)
844
    {
845
        $this->groupable = $groupable;
846
        return $this;
847
    }
848
849
    /**
850
     * @return boolean
851
     */
852
    public function getHighScaleNumber()
853
    {
854
        return $this->highScaleNumber;
855
    }
856
857
    /**
858
     * @param boolean $highScaleNumber
859
     * @return \SForce\Wsdl\Field
860
     */
861
    public function setHighScaleNumber($highScaleNumber)
862
    {
863
        $this->highScaleNumber = $highScaleNumber;
864
        return $this;
865
    }
866
867
    /**
868
     * @return boolean
869
     */
870
    public function getHtmlFormatted()
871
    {
872
        return $this->htmlFormatted;
873
    }
874
875
    /**
876
     * @param boolean $htmlFormatted
877
     * @return \SForce\Wsdl\Field
878
     */
879
    public function setHtmlFormatted($htmlFormatted)
880
    {
881
        $this->htmlFormatted = $htmlFormatted;
882
        return $this;
883
    }
884
885
    /**
886
     * @return boolean
887
     */
888
    public function getIdLookup()
889
    {
890
        return $this->idLookup;
891
    }
892
893
    /**
894
     * @param boolean $idLookup
895
     * @return \SForce\Wsdl\Field
896
     */
897
    public function setIdLookup($idLookup)
898
    {
899
        $this->idLookup = $idLookup;
900
        return $this;
901
    }
902
903
    /**
904
     * @return string
905
     */
906
    public function getInlineHelpText()
907
    {
908
        return $this->inlineHelpText;
909
    }
910
911
    /**
912
     * @param string $inlineHelpText
913
     * @return \SForce\Wsdl\Field
914
     */
915
    public function setInlineHelpText($inlineHelpText)
916
    {
917
        $this->inlineHelpText = $inlineHelpText;
918
        return $this;
919
    }
920
921
    /**
922
     * @return string
923
     */
924
    public function getLabel()
925
    {
926
        return $this->label;
927
    }
928
929
    /**
930
     * @param string $label
931
     * @return \SForce\Wsdl\Field
932
     */
933
    public function setLabel($label)
934
    {
935
        $this->label = $label;
936
        return $this;
937
    }
938
939
    /**
940
     * @return int
941
     */
942
    public function getLength()
943
    {
944
        return $this->length;
945
    }
946
947
    /**
948
     * @param int $length
949
     * @return \SForce\Wsdl\Field
950
     */
951
    public function setLength($length)
952
    {
953
        $this->length = $length;
954
        return $this;
955
    }
956
957
    /**
958
     * @return string
959
     */
960
    public function getMask()
961
    {
962
        return $this->mask;
963
    }
964
965
    /**
966
     * @param string $mask
967
     * @return \SForce\Wsdl\Field
968
     */
969
    public function setMask($mask)
970
    {
971
        $this->mask = $mask;
972
        return $this;
973
    }
974
975
    /**
976
     * @return string
977
     */
978
    public function getMaskType()
979
    {
980
        return $this->maskType;
981
    }
982
983
    /**
984
     * @param string $maskType
985
     * @return \SForce\Wsdl\Field
986
     */
987
    public function setMaskType($maskType)
988
    {
989
        $this->maskType = $maskType;
990
        return $this;
991
    }
992
993
    /**
994
     * @return string
995
     */
996
    public function getName()
997
    {
998
        return $this->name;
999
    }
1000
1001
    /**
1002
     * @param string $name
1003
     * @return \SForce\Wsdl\Field
1004
     */
1005
    public function setName($name)
1006
    {
1007
        $this->name = $name;
1008
        return $this;
1009
    }
1010
1011
    /**
1012
     * @return boolean
1013
     */
1014
    public function getNameField()
1015
    {
1016
        return $this->nameField;
1017
    }
1018
1019
    /**
1020
     * @param boolean $nameField
1021
     * @return \SForce\Wsdl\Field
1022
     */
1023
    public function setNameField($nameField)
1024
    {
1025
        $this->nameField = $nameField;
1026
        return $this;
1027
    }
1028
1029
    /**
1030
     * @return boolean
1031
     */
1032
    public function getNamePointing()
1033
    {
1034
        return $this->namePointing;
1035
    }
1036
1037
    /**
1038
     * @param boolean $namePointing
1039
     * @return \SForce\Wsdl\Field
1040
     */
1041
    public function setNamePointing($namePointing)
1042
    {
1043
        $this->namePointing = $namePointing;
1044
        return $this;
1045
    }
1046
1047
    /**
1048
     * @return boolean
1049
     */
1050
    public function getNillable()
1051
    {
1052
        return $this->nillable;
1053
    }
1054
1055
    /**
1056
     * @param boolean $nillable
1057
     * @return \SForce\Wsdl\Field
1058
     */
1059
    public function setNillable($nillable)
1060
    {
1061
        $this->nillable = $nillable;
1062
        return $this;
1063
    }
1064
1065
    /**
1066
     * @return boolean
1067
     */
1068
    public function getPermissionable()
1069
    {
1070
        return $this->permissionable;
1071
    }
1072
1073
    /**
1074
     * @param boolean $permissionable
1075
     * @return \SForce\Wsdl\Field
1076
     */
1077
    public function setPermissionable($permissionable)
1078
    {
1079
        $this->permissionable = $permissionable;
1080
        return $this;
1081
    }
1082
1083
    /**
1084
     * @return PicklistEntry[]
1085
     */
1086
    public function getPicklistValues()
1087
    {
1088
        return $this->picklistValues;
1089
    }
1090
1091
    /**
1092
     * @param PicklistEntry[] $picklistValues
1093
     * @return \SForce\Wsdl\Field
1094
     */
1095
    public function setPicklistValues(array $picklistValues = null)
1096
    {
1097
        $this->picklistValues = $picklistValues;
1098
        return $this;
1099
    }
1100
1101
    /**
1102
     * @return boolean
1103
     */
1104
    public function getPolymorphicForeignKey()
1105
    {
1106
        return $this->polymorphicForeignKey;
1107
    }
1108
1109
    /**
1110
     * @param boolean $polymorphicForeignKey
1111
     * @return \SForce\Wsdl\Field
1112
     */
1113
    public function setPolymorphicForeignKey($polymorphicForeignKey)
1114
    {
1115
        $this->polymorphicForeignKey = $polymorphicForeignKey;
1116
        return $this;
1117
    }
1118
1119
    /**
1120
     * @return int
1121
     */
1122
    public function getPrecision()
1123
    {
1124
        return $this->precision;
1125
    }
1126
1127
    /**
1128
     * @param int $precision
1129
     * @return \SForce\Wsdl\Field
1130
     */
1131
    public function setPrecision($precision)
1132
    {
1133
        $this->precision = $precision;
1134
        return $this;
1135
    }
1136
1137
    /**
1138
     * @return boolean
1139
     */
1140
    public function getQueryByDistance()
1141
    {
1142
        return $this->queryByDistance;
1143
    }
1144
1145
    /**
1146
     * @param boolean $queryByDistance
1147
     * @return \SForce\Wsdl\Field
1148
     */
1149
    public function setQueryByDistance($queryByDistance)
1150
    {
1151
        $this->queryByDistance = $queryByDistance;
1152
        return $this;
1153
    }
1154
1155
    /**
1156
     * @return string
1157
     */
1158
    public function getReferenceTargetField()
1159
    {
1160
        return $this->referenceTargetField;
1161
    }
1162
1163
    /**
1164
     * @param string $referenceTargetField
1165
     * @return \SForce\Wsdl\Field
1166
     */
1167
    public function setReferenceTargetField($referenceTargetField)
1168
    {
1169
        $this->referenceTargetField = $referenceTargetField;
1170
        return $this;
1171
    }
1172
1173
    /**
1174
     * @return string[]
1175
     */
1176
    public function getReferenceTo()
1177
    {
1178
        return $this->referenceTo;
1179
    }
1180
1181
    /**
1182
     * @param string[] $referenceTo
1183
     * @return \SForce\Wsdl\Field
1184
     */
1185
    public function setReferenceTo(array $referenceTo = null)
1186
    {
1187
        $this->referenceTo = $referenceTo;
1188
        return $this;
1189
    }
1190
1191
    /**
1192
     * @return string
1193
     */
1194
    public function getRelationshipName()
1195
    {
1196
        return $this->relationshipName;
1197
    }
1198
1199
    /**
1200
     * @param string $relationshipName
1201
     * @return \SForce\Wsdl\Field
1202
     */
1203
    public function setRelationshipName($relationshipName)
1204
    {
1205
        $this->relationshipName = $relationshipName;
1206
        return $this;
1207
    }
1208
1209
    /**
1210
     * @return int
1211
     */
1212
    public function getRelationshipOrder()
1213
    {
1214
        return $this->relationshipOrder;
1215
    }
1216
1217
    /**
1218
     * @param int $relationshipOrder
1219
     * @return \SForce\Wsdl\Field
1220
     */
1221
    public function setRelationshipOrder($relationshipOrder)
1222
    {
1223
        $this->relationshipOrder = $relationshipOrder;
1224
        return $this;
1225
    }
1226
1227
    /**
1228
     * @return boolean
1229
     */
1230
    public function getRestrictedDelete()
1231
    {
1232
        return $this->restrictedDelete;
1233
    }
1234
1235
    /**
1236
     * @param boolean $restrictedDelete
1237
     * @return \SForce\Wsdl\Field
1238
     */
1239
    public function setRestrictedDelete($restrictedDelete)
1240
    {
1241
        $this->restrictedDelete = $restrictedDelete;
1242
        return $this;
1243
    }
1244
1245
    /**
1246
     * @return boolean
1247
     */
1248
    public function getRestrictedPicklist()
1249
    {
1250
        return $this->restrictedPicklist;
1251
    }
1252
1253
    /**
1254
     * @param boolean $restrictedPicklist
1255
     * @return \SForce\Wsdl\Field
1256
     */
1257
    public function setRestrictedPicklist($restrictedPicklist)
1258
    {
1259
        $this->restrictedPicklist = $restrictedPicklist;
1260
        return $this;
1261
    }
1262
1263
    /**
1264
     * @return int
1265
     */
1266
    public function getScale()
1267
    {
1268
        return $this->scale;
1269
    }
1270
1271
    /**
1272
     * @param int $scale
1273
     * @return \SForce\Wsdl\Field
1274
     */
1275
    public function setScale($scale)
1276
    {
1277
        $this->scale = $scale;
1278
        return $this;
1279
    }
1280
1281
    /**
1282
     * @return boolean
1283
     */
1284
    public function getSearchPrefilterable()
1285
    {
1286
        return $this->searchPrefilterable;
1287
    }
1288
1289
    /**
1290
     * @param boolean $searchPrefilterable
1291
     * @return \SForce\Wsdl\Field
1292
     */
1293
    public function setSearchPrefilterable($searchPrefilterable)
1294
    {
1295
        $this->searchPrefilterable = $searchPrefilterable;
1296
        return $this;
1297
    }
1298
1299
    /**
1300
     * @return soapType
1301
     */
1302
    public function getSoapType()
1303
    {
1304
        return $this->soapType;
1305
    }
1306
1307
    /**
1308
     * @param soapType $soapType
1309
     * @return \SForce\Wsdl\Field
1310
     */
1311
    public function setSoapType($soapType)
1312
    {
1313
        $this->soapType = $soapType;
1314
        return $this;
1315
    }
1316
1317
    /**
1318
     * @return boolean
1319
     */
1320
    public function getSortable()
1321
    {
1322
        return $this->sortable;
1323
    }
1324
1325
    /**
1326
     * @param boolean $sortable
1327
     * @return \SForce\Wsdl\Field
1328
     */
1329
    public function setSortable($sortable)
1330
    {
1331
        $this->sortable = $sortable;
1332
        return $this;
1333
    }
1334
1335
    /**
1336
     * @return fieldType
1337
     */
1338
    public function getType()
1339
    {
1340
        return $this->type;
1341
    }
1342
1343
    /**
1344
     * @param fieldType $type
1345
     * @return \SForce\Wsdl\Field
1346
     */
1347
    public function setType($type)
1348
    {
1349
        $this->type = $type;
1350
        return $this;
1351
    }
1352
1353
    /**
1354
     * @return boolean
1355
     */
1356
    public function getUnique()
1357
    {
1358
        return $this->unique;
1359
    }
1360
1361
    /**
1362
     * @param boolean $unique
1363
     * @return \SForce\Wsdl\Field
1364
     */
1365
    public function setUnique($unique)
1366
    {
1367
        $this->unique = $unique;
1368
        return $this;
1369
    }
1370
1371
    /**
1372
     * @return boolean
1373
     */
1374
    public function getUpdateable()
1375
    {
1376
        return $this->updateable;
1377
    }
1378
1379
    /**
1380
     * @param boolean $updateable
1381
     * @return \SForce\Wsdl\Field
1382
     */
1383
    public function setUpdateable($updateable)
1384
    {
1385
        $this->updateable = $updateable;
1386
        return $this;
1387
    }
1388
1389
    /**
1390
     * @return boolean
1391
     */
1392
    public function getWriteRequiresMasterRead()
1393
    {
1394
        return $this->writeRequiresMasterRead;
1395
    }
1396
1397
    /**
1398
     * @param boolean $writeRequiresMasterRead
1399
     * @return \SForce\Wsdl\Field
1400
     */
1401
    public function setWriteRequiresMasterRead($writeRequiresMasterRead)
1402
    {
1403
        $this->writeRequiresMasterRead = $writeRequiresMasterRead;
1404
        return $this;
1405
    }
1406
}
1407