Total Complexity | 75 |
Total Lines | 903 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
Complex classes like DescribeSObjectResult 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.
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 DescribeSObjectResult, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
5 | class DescribeSObjectResult |
||
6 | { |
||
7 | /** |
||
8 | * @var ActionOverride[] |
||
9 | */ |
||
10 | protected $actionOverrides = null; |
||
11 | |||
12 | /** |
||
13 | * @var boolean |
||
14 | */ |
||
15 | protected $activateable = null; |
||
16 | |||
17 | /** |
||
18 | * @var ChildRelationship[] |
||
19 | */ |
||
20 | protected $childRelationships = null; |
||
21 | |||
22 | /** |
||
23 | * @var boolean |
||
24 | */ |
||
25 | protected $compactLayoutable = null; |
||
26 | |||
27 | /** |
||
28 | * @var boolean |
||
29 | */ |
||
30 | protected $createable = null; |
||
31 | |||
32 | /** |
||
33 | * @var boolean |
||
34 | */ |
||
35 | protected $custom = null; |
||
36 | |||
37 | /** |
||
38 | * @var boolean |
||
39 | */ |
||
40 | protected $customSetting = null; |
||
41 | |||
42 | /** |
||
43 | * @var boolean |
||
44 | */ |
||
45 | protected $dataTranslationEnabled = null; |
||
46 | |||
47 | /** |
||
48 | * @var boolean |
||
49 | */ |
||
50 | protected $deletable = null; |
||
51 | |||
52 | /** |
||
53 | * @var boolean |
||
54 | */ |
||
55 | protected $deprecatedAndHidden = null; |
||
56 | |||
57 | /** |
||
58 | * @var boolean |
||
59 | */ |
||
60 | protected $feedEnabled = null; |
||
61 | |||
62 | /** |
||
63 | * @var Field[] |
||
64 | */ |
||
65 | protected $fields = null; |
||
66 | |||
67 | /** |
||
68 | * @var boolean |
||
69 | */ |
||
70 | protected $hasSubtypes = null; |
||
71 | |||
72 | /** |
||
73 | * @var boolean |
||
74 | */ |
||
75 | protected $idEnabled = null; |
||
76 | |||
77 | /** |
||
78 | * @var boolean |
||
79 | */ |
||
80 | protected $isSubtype = null; |
||
81 | |||
82 | /** |
||
83 | * @var string |
||
84 | */ |
||
85 | protected $keyPrefix = null; |
||
86 | |||
87 | /** |
||
88 | * @var string |
||
89 | */ |
||
90 | protected $label = null; |
||
91 | |||
92 | /** |
||
93 | * @var string |
||
94 | */ |
||
95 | protected $labelPlural = null; |
||
96 | |||
97 | /** |
||
98 | * @var boolean |
||
99 | */ |
||
100 | protected $layoutable = null; |
||
101 | |||
102 | /** |
||
103 | * @var boolean |
||
104 | */ |
||
105 | protected $mergeable = null; |
||
106 | |||
107 | /** |
||
108 | * @var boolean |
||
109 | */ |
||
110 | protected $mruEnabled = null; |
||
111 | |||
112 | /** |
||
113 | * @var string |
||
114 | */ |
||
115 | protected $name = null; |
||
116 | |||
117 | /** |
||
118 | * @var NamedLayoutInfo[] |
||
119 | */ |
||
120 | protected $namedLayoutInfos = null; |
||
121 | |||
122 | /** |
||
123 | * @var string |
||
124 | */ |
||
125 | protected $networkScopeFieldName = null; |
||
126 | |||
127 | /** |
||
128 | * @var boolean |
||
129 | */ |
||
130 | protected $queryable = null; |
||
131 | |||
132 | /** |
||
133 | * @var RecordTypeInfo[] |
||
134 | */ |
||
135 | protected $recordTypeInfos = null; |
||
136 | |||
137 | /** |
||
138 | * @var boolean |
||
139 | */ |
||
140 | protected $replicateable = null; |
||
141 | |||
142 | /** |
||
143 | * @var boolean |
||
144 | */ |
||
145 | protected $retrieveable = null; |
||
146 | |||
147 | /** |
||
148 | * @var boolean |
||
149 | */ |
||
150 | protected $searchLayoutable = null; |
||
151 | |||
152 | /** |
||
153 | * @var boolean |
||
154 | */ |
||
155 | protected $searchable = null; |
||
156 | |||
157 | /** |
||
158 | * @var ScopeInfo[] |
||
159 | */ |
||
160 | protected $supportedScopes = null; |
||
161 | |||
162 | /** |
||
163 | * @var boolean |
||
164 | */ |
||
165 | protected $triggerable = null; |
||
166 | |||
167 | /** |
||
168 | * @var boolean |
||
169 | */ |
||
170 | protected $undeletable = null; |
||
171 | |||
172 | /** |
||
173 | * @var boolean |
||
174 | */ |
||
175 | protected $updateable = null; |
||
176 | |||
177 | /** |
||
178 | * @var string |
||
179 | */ |
||
180 | protected $urlDetail = null; |
||
181 | |||
182 | /** |
||
183 | * @var string |
||
184 | */ |
||
185 | protected $urlEdit = null; |
||
186 | |||
187 | /** |
||
188 | * @var string |
||
189 | */ |
||
190 | protected $urlNew = null; |
||
191 | |||
192 | /** |
||
193 | * @param boolean $activateable |
||
194 | * @param boolean $compactLayoutable |
||
195 | * @param boolean $createable |
||
196 | * @param boolean $custom |
||
197 | * @param boolean $customSetting |
||
198 | * @param boolean $deletable |
||
199 | * @param boolean $deprecatedAndHidden |
||
200 | * @param boolean $feedEnabled |
||
201 | * @param boolean $hasSubtypes |
||
202 | * @param boolean $idEnabled |
||
203 | * @param boolean $isSubtype |
||
204 | * @param string $label |
||
205 | * @param string $labelPlural |
||
206 | * @param boolean $layoutable |
||
207 | * @param boolean $mergeable |
||
208 | * @param boolean $mruEnabled |
||
209 | * @param string $name |
||
210 | * @param boolean $queryable |
||
211 | * @param boolean $replicateable |
||
212 | * @param boolean $retrieveable |
||
213 | * @param boolean $searchable |
||
214 | * @param boolean $undeletable |
||
215 | * @param boolean $updateable |
||
216 | */ |
||
217 | public function __construct($activateable = null, $compactLayoutable = null, $createable = null, $custom = null, $customSetting = null, $deletable = null, $deprecatedAndHidden = null, $feedEnabled = null, $hasSubtypes = null, $idEnabled = null, $isSubtype = null, $label = null, $labelPlural = null, $layoutable = null, $mergeable = null, $mruEnabled = null, $name = null, $queryable = null, $replicateable = null, $retrieveable = null, $searchable = null, $undeletable = null, $updateable = null) |
||
218 | { |
||
219 | $this->activateable = $activateable; |
||
220 | $this->compactLayoutable = $compactLayoutable; |
||
221 | $this->createable = $createable; |
||
222 | $this->custom = $custom; |
||
223 | $this->customSetting = $customSetting; |
||
224 | $this->deletable = $deletable; |
||
225 | $this->deprecatedAndHidden = $deprecatedAndHidden; |
||
226 | $this->feedEnabled = $feedEnabled; |
||
227 | $this->hasSubtypes = $hasSubtypes; |
||
228 | $this->idEnabled = $idEnabled; |
||
229 | $this->isSubtype = $isSubtype; |
||
230 | $this->label = $label; |
||
231 | $this->labelPlural = $labelPlural; |
||
232 | $this->layoutable = $layoutable; |
||
233 | $this->mergeable = $mergeable; |
||
234 | $this->mruEnabled = $mruEnabled; |
||
235 | $this->name = $name; |
||
236 | $this->queryable = $queryable; |
||
237 | $this->replicateable = $replicateable; |
||
238 | $this->retrieveable = $retrieveable; |
||
239 | $this->searchable = $searchable; |
||
240 | $this->undeletable = $undeletable; |
||
241 | $this->updateable = $updateable; |
||
242 | } |
||
243 | |||
244 | /** |
||
245 | * @return ActionOverride[] |
||
246 | */ |
||
247 | public function getActionOverrides() |
||
248 | { |
||
249 | return $this->actionOverrides; |
||
250 | } |
||
251 | |||
252 | /** |
||
253 | * @param ActionOverride[] $actionOverrides |
||
254 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
255 | */ |
||
256 | public function setActionOverrides(array $actionOverrides = null) |
||
257 | { |
||
258 | $this->actionOverrides = $actionOverrides; |
||
259 | return $this; |
||
260 | } |
||
261 | |||
262 | /** |
||
263 | * @return boolean |
||
264 | */ |
||
265 | public function getActivateable() |
||
266 | { |
||
267 | return $this->activateable; |
||
268 | } |
||
269 | |||
270 | /** |
||
271 | * @param boolean $activateable |
||
272 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
273 | */ |
||
274 | public function setActivateable($activateable) |
||
275 | { |
||
276 | $this->activateable = $activateable; |
||
277 | return $this; |
||
278 | } |
||
279 | |||
280 | /** |
||
281 | * @return ChildRelationship[] |
||
282 | */ |
||
283 | public function getChildRelationships() |
||
284 | { |
||
285 | return $this->childRelationships; |
||
286 | } |
||
287 | |||
288 | /** |
||
289 | * @param ChildRelationship[] $childRelationships |
||
290 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
291 | */ |
||
292 | public function setChildRelationships(array $childRelationships = null) |
||
293 | { |
||
294 | $this->childRelationships = $childRelationships; |
||
295 | return $this; |
||
296 | } |
||
297 | |||
298 | /** |
||
299 | * @return boolean |
||
300 | */ |
||
301 | public function getCompactLayoutable() |
||
302 | { |
||
303 | return $this->compactLayoutable; |
||
304 | } |
||
305 | |||
306 | /** |
||
307 | * @param boolean $compactLayoutable |
||
308 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
309 | */ |
||
310 | public function setCompactLayoutable($compactLayoutable) |
||
311 | { |
||
312 | $this->compactLayoutable = $compactLayoutable; |
||
313 | return $this; |
||
314 | } |
||
315 | |||
316 | /** |
||
317 | * @return boolean |
||
318 | */ |
||
319 | public function getCreateable() |
||
320 | { |
||
321 | return $this->createable; |
||
322 | } |
||
323 | |||
324 | /** |
||
325 | * @param boolean $createable |
||
326 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
327 | */ |
||
328 | public function setCreateable($createable) |
||
329 | { |
||
330 | $this->createable = $createable; |
||
331 | return $this; |
||
332 | } |
||
333 | |||
334 | /** |
||
335 | * @return boolean |
||
336 | */ |
||
337 | public function getCustom() |
||
338 | { |
||
339 | return $this->custom; |
||
340 | } |
||
341 | |||
342 | /** |
||
343 | * @param boolean $custom |
||
344 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
345 | */ |
||
346 | public function setCustom($custom) |
||
347 | { |
||
348 | $this->custom = $custom; |
||
349 | return $this; |
||
350 | } |
||
351 | |||
352 | /** |
||
353 | * @return boolean |
||
354 | */ |
||
355 | public function getCustomSetting() |
||
356 | { |
||
357 | return $this->customSetting; |
||
358 | } |
||
359 | |||
360 | /** |
||
361 | * @param boolean $customSetting |
||
362 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
363 | */ |
||
364 | public function setCustomSetting($customSetting) |
||
365 | { |
||
366 | $this->customSetting = $customSetting; |
||
367 | return $this; |
||
368 | } |
||
369 | |||
370 | /** |
||
371 | * @return boolean |
||
372 | */ |
||
373 | public function getDataTranslationEnabled() |
||
374 | { |
||
375 | return $this->dataTranslationEnabled; |
||
376 | } |
||
377 | |||
378 | /** |
||
379 | * @param boolean $dataTranslationEnabled |
||
380 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
381 | */ |
||
382 | public function setDataTranslationEnabled($dataTranslationEnabled) |
||
383 | { |
||
384 | $this->dataTranslationEnabled = $dataTranslationEnabled; |
||
385 | return $this; |
||
386 | } |
||
387 | |||
388 | /** |
||
389 | * @return boolean |
||
390 | */ |
||
391 | public function getDeletable() |
||
392 | { |
||
393 | return $this->deletable; |
||
394 | } |
||
395 | |||
396 | /** |
||
397 | * @param boolean $deletable |
||
398 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
399 | */ |
||
400 | public function setDeletable($deletable) |
||
401 | { |
||
402 | $this->deletable = $deletable; |
||
403 | return $this; |
||
404 | } |
||
405 | |||
406 | /** |
||
407 | * @return boolean |
||
408 | */ |
||
409 | public function getDeprecatedAndHidden() |
||
410 | { |
||
411 | return $this->deprecatedAndHidden; |
||
412 | } |
||
413 | |||
414 | /** |
||
415 | * @param boolean $deprecatedAndHidden |
||
416 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
417 | */ |
||
418 | public function setDeprecatedAndHidden($deprecatedAndHidden) |
||
419 | { |
||
420 | $this->deprecatedAndHidden = $deprecatedAndHidden; |
||
421 | return $this; |
||
422 | } |
||
423 | |||
424 | /** |
||
425 | * @return boolean |
||
426 | */ |
||
427 | public function getFeedEnabled() |
||
428 | { |
||
429 | return $this->feedEnabled; |
||
430 | } |
||
431 | |||
432 | /** |
||
433 | * @param boolean $feedEnabled |
||
434 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
435 | */ |
||
436 | public function setFeedEnabled($feedEnabled) |
||
437 | { |
||
438 | $this->feedEnabled = $feedEnabled; |
||
439 | return $this; |
||
440 | } |
||
441 | |||
442 | /** |
||
443 | * @return Field[] |
||
444 | */ |
||
445 | public function getFields() |
||
446 | { |
||
447 | return $this->fields; |
||
448 | } |
||
449 | |||
450 | /** |
||
451 | * @param Field[] $fields |
||
452 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
453 | */ |
||
454 | public function setFields(array $fields = null) |
||
455 | { |
||
456 | $this->fields = $fields; |
||
457 | return $this; |
||
458 | } |
||
459 | |||
460 | /** |
||
461 | * @return boolean |
||
462 | */ |
||
463 | public function getHasSubtypes() |
||
464 | { |
||
465 | return $this->hasSubtypes; |
||
466 | } |
||
467 | |||
468 | /** |
||
469 | * @param boolean $hasSubtypes |
||
470 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
471 | */ |
||
472 | public function setHasSubtypes($hasSubtypes) |
||
473 | { |
||
474 | $this->hasSubtypes = $hasSubtypes; |
||
475 | return $this; |
||
476 | } |
||
477 | |||
478 | /** |
||
479 | * @return boolean |
||
480 | */ |
||
481 | public function getIdEnabled() |
||
482 | { |
||
483 | return $this->idEnabled; |
||
484 | } |
||
485 | |||
486 | /** |
||
487 | * @param boolean $idEnabled |
||
488 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
489 | */ |
||
490 | public function setIdEnabled($idEnabled) |
||
491 | { |
||
492 | $this->idEnabled = $idEnabled; |
||
493 | return $this; |
||
494 | } |
||
495 | |||
496 | /** |
||
497 | * @return boolean |
||
498 | */ |
||
499 | public function getIsSubtype() |
||
500 | { |
||
501 | return $this->isSubtype; |
||
502 | } |
||
503 | |||
504 | /** |
||
505 | * @param boolean $isSubtype |
||
506 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
507 | */ |
||
508 | public function setIsSubtype($isSubtype) |
||
509 | { |
||
510 | $this->isSubtype = $isSubtype; |
||
511 | return $this; |
||
512 | } |
||
513 | |||
514 | /** |
||
515 | * @return string |
||
516 | */ |
||
517 | public function getKeyPrefix() |
||
518 | { |
||
519 | return $this->keyPrefix; |
||
520 | } |
||
521 | |||
522 | /** |
||
523 | * @param string $keyPrefix |
||
524 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
525 | */ |
||
526 | public function setKeyPrefix($keyPrefix) |
||
527 | { |
||
528 | $this->keyPrefix = $keyPrefix; |
||
529 | return $this; |
||
530 | } |
||
531 | |||
532 | /** |
||
533 | * @return string |
||
534 | */ |
||
535 | public function getLabel() |
||
536 | { |
||
537 | return $this->label; |
||
538 | } |
||
539 | |||
540 | /** |
||
541 | * @param string $label |
||
542 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
543 | */ |
||
544 | public function setLabel($label) |
||
545 | { |
||
546 | $this->label = $label; |
||
547 | return $this; |
||
548 | } |
||
549 | |||
550 | /** |
||
551 | * @return string |
||
552 | */ |
||
553 | public function getLabelPlural() |
||
554 | { |
||
555 | return $this->labelPlural; |
||
556 | } |
||
557 | |||
558 | /** |
||
559 | * @param string $labelPlural |
||
560 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
561 | */ |
||
562 | public function setLabelPlural($labelPlural) |
||
563 | { |
||
564 | $this->labelPlural = $labelPlural; |
||
565 | return $this; |
||
566 | } |
||
567 | |||
568 | /** |
||
569 | * @return boolean |
||
570 | */ |
||
571 | public function getLayoutable() |
||
572 | { |
||
573 | return $this->layoutable; |
||
574 | } |
||
575 | |||
576 | /** |
||
577 | * @param boolean $layoutable |
||
578 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
579 | */ |
||
580 | public function setLayoutable($layoutable) |
||
581 | { |
||
582 | $this->layoutable = $layoutable; |
||
583 | return $this; |
||
584 | } |
||
585 | |||
586 | /** |
||
587 | * @return boolean |
||
588 | */ |
||
589 | public function getMergeable() |
||
590 | { |
||
591 | return $this->mergeable; |
||
592 | } |
||
593 | |||
594 | /** |
||
595 | * @param boolean $mergeable |
||
596 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
597 | */ |
||
598 | public function setMergeable($mergeable) |
||
599 | { |
||
600 | $this->mergeable = $mergeable; |
||
601 | return $this; |
||
602 | } |
||
603 | |||
604 | /** |
||
605 | * @return boolean |
||
606 | */ |
||
607 | public function getMruEnabled() |
||
608 | { |
||
609 | return $this->mruEnabled; |
||
610 | } |
||
611 | |||
612 | /** |
||
613 | * @param boolean $mruEnabled |
||
614 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
615 | */ |
||
616 | public function setMruEnabled($mruEnabled) |
||
617 | { |
||
618 | $this->mruEnabled = $mruEnabled; |
||
619 | return $this; |
||
620 | } |
||
621 | |||
622 | /** |
||
623 | * @return string |
||
624 | */ |
||
625 | public function getName() |
||
626 | { |
||
627 | return $this->name; |
||
628 | } |
||
629 | |||
630 | /** |
||
631 | * @param string $name |
||
632 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
633 | */ |
||
634 | public function setName($name) |
||
635 | { |
||
636 | $this->name = $name; |
||
637 | return $this; |
||
638 | } |
||
639 | |||
640 | /** |
||
641 | * @return NamedLayoutInfo[] |
||
642 | */ |
||
643 | public function getNamedLayoutInfos() |
||
644 | { |
||
645 | return $this->namedLayoutInfos; |
||
646 | } |
||
647 | |||
648 | /** |
||
649 | * @param NamedLayoutInfo[] $namedLayoutInfos |
||
650 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
651 | */ |
||
652 | public function setNamedLayoutInfos(array $namedLayoutInfos = null) |
||
653 | { |
||
654 | $this->namedLayoutInfos = $namedLayoutInfos; |
||
655 | return $this; |
||
656 | } |
||
657 | |||
658 | /** |
||
659 | * @return string |
||
660 | */ |
||
661 | public function getNetworkScopeFieldName() |
||
662 | { |
||
663 | return $this->networkScopeFieldName; |
||
664 | } |
||
665 | |||
666 | /** |
||
667 | * @param string $networkScopeFieldName |
||
668 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
669 | */ |
||
670 | public function setNetworkScopeFieldName($networkScopeFieldName) |
||
671 | { |
||
672 | $this->networkScopeFieldName = $networkScopeFieldName; |
||
673 | return $this; |
||
674 | } |
||
675 | |||
676 | /** |
||
677 | * @return boolean |
||
678 | */ |
||
679 | public function getQueryable() |
||
680 | { |
||
681 | return $this->queryable; |
||
682 | } |
||
683 | |||
684 | /** |
||
685 | * @param boolean $queryable |
||
686 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
687 | */ |
||
688 | public function setQueryable($queryable) |
||
689 | { |
||
690 | $this->queryable = $queryable; |
||
691 | return $this; |
||
692 | } |
||
693 | |||
694 | /** |
||
695 | * @return RecordTypeInfo[] |
||
696 | */ |
||
697 | public function getRecordTypeInfos() |
||
698 | { |
||
699 | return $this->recordTypeInfos; |
||
700 | } |
||
701 | |||
702 | /** |
||
703 | * @param RecordTypeInfo[] $recordTypeInfos |
||
704 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
705 | */ |
||
706 | public function setRecordTypeInfos(array $recordTypeInfos = null) |
||
707 | { |
||
708 | $this->recordTypeInfos = $recordTypeInfos; |
||
709 | return $this; |
||
710 | } |
||
711 | |||
712 | /** |
||
713 | * @return boolean |
||
714 | */ |
||
715 | public function getReplicateable() |
||
716 | { |
||
717 | return $this->replicateable; |
||
718 | } |
||
719 | |||
720 | /** |
||
721 | * @param boolean $replicateable |
||
722 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
723 | */ |
||
724 | public function setReplicateable($replicateable) |
||
725 | { |
||
726 | $this->replicateable = $replicateable; |
||
727 | return $this; |
||
728 | } |
||
729 | |||
730 | /** |
||
731 | * @return boolean |
||
732 | */ |
||
733 | public function getRetrieveable() |
||
734 | { |
||
735 | return $this->retrieveable; |
||
736 | } |
||
737 | |||
738 | /** |
||
739 | * @param boolean $retrieveable |
||
740 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
741 | */ |
||
742 | public function setRetrieveable($retrieveable) |
||
743 | { |
||
744 | $this->retrieveable = $retrieveable; |
||
745 | return $this; |
||
746 | } |
||
747 | |||
748 | /** |
||
749 | * @return boolean |
||
750 | */ |
||
751 | public function getSearchLayoutable() |
||
752 | { |
||
753 | return $this->searchLayoutable; |
||
754 | } |
||
755 | |||
756 | /** |
||
757 | * @param boolean $searchLayoutable |
||
758 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
759 | */ |
||
760 | public function setSearchLayoutable($searchLayoutable) |
||
761 | { |
||
762 | $this->searchLayoutable = $searchLayoutable; |
||
763 | return $this; |
||
764 | } |
||
765 | |||
766 | /** |
||
767 | * @return boolean |
||
768 | */ |
||
769 | public function getSearchable() |
||
772 | } |
||
773 | |||
774 | /** |
||
775 | * @param boolean $searchable |
||
776 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
777 | */ |
||
778 | public function setSearchable($searchable) |
||
779 | { |
||
780 | $this->searchable = $searchable; |
||
781 | return $this; |
||
782 | } |
||
783 | |||
784 | /** |
||
785 | * @return ScopeInfo[] |
||
786 | */ |
||
787 | public function getSupportedScopes() |
||
788 | { |
||
789 | return $this->supportedScopes; |
||
790 | } |
||
791 | |||
792 | /** |
||
793 | * @param ScopeInfo[] $supportedScopes |
||
794 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
795 | */ |
||
796 | public function setSupportedScopes(array $supportedScopes = null) |
||
797 | { |
||
798 | $this->supportedScopes = $supportedScopes; |
||
799 | return $this; |
||
800 | } |
||
801 | |||
802 | /** |
||
803 | * @return boolean |
||
804 | */ |
||
805 | public function getTriggerable() |
||
806 | { |
||
807 | return $this->triggerable; |
||
808 | } |
||
809 | |||
810 | /** |
||
811 | * @param boolean $triggerable |
||
812 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
813 | */ |
||
814 | public function setTriggerable($triggerable) |
||
815 | { |
||
816 | $this->triggerable = $triggerable; |
||
817 | return $this; |
||
818 | } |
||
819 | |||
820 | /** |
||
821 | * @return boolean |
||
822 | */ |
||
823 | public function getUndeletable() |
||
824 | { |
||
825 | return $this->undeletable; |
||
826 | } |
||
827 | |||
828 | /** |
||
829 | * @param boolean $undeletable |
||
830 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
831 | */ |
||
832 | public function setUndeletable($undeletable) |
||
833 | { |
||
834 | $this->undeletable = $undeletable; |
||
835 | return $this; |
||
836 | } |
||
837 | |||
838 | /** |
||
839 | * @return boolean |
||
840 | */ |
||
841 | public function getUpdateable() |
||
842 | { |
||
843 | return $this->updateable; |
||
844 | } |
||
845 | |||
846 | /** |
||
847 | * @param boolean $updateable |
||
848 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
849 | */ |
||
850 | public function setUpdateable($updateable) |
||
851 | { |
||
852 | $this->updateable = $updateable; |
||
853 | return $this; |
||
854 | } |
||
855 | |||
856 | /** |
||
857 | * @return string |
||
858 | */ |
||
859 | public function getUrlDetail() |
||
860 | { |
||
861 | return $this->urlDetail; |
||
862 | } |
||
863 | |||
864 | /** |
||
865 | * @param string $urlDetail |
||
866 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
867 | */ |
||
868 | public function setUrlDetail($urlDetail) |
||
869 | { |
||
870 | $this->urlDetail = $urlDetail; |
||
871 | return $this; |
||
872 | } |
||
873 | |||
874 | /** |
||
875 | * @return string |
||
876 | */ |
||
877 | public function getUrlEdit() |
||
880 | } |
||
881 | |||
882 | /** |
||
883 | * @param string $urlEdit |
||
884 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
885 | */ |
||
886 | public function setUrlEdit($urlEdit) |
||
887 | { |
||
888 | $this->urlEdit = $urlEdit; |
||
889 | return $this; |
||
890 | } |
||
891 | |||
892 | /** |
||
893 | * @return string |
||
894 | */ |
||
895 | public function getUrlNew() |
||
898 | } |
||
899 | |||
900 | /** |
||
901 | * @param string $urlNew |
||
902 | * @return \SForce\Wsdl\DescribeSObjectResult |
||
903 | */ |
||
904 | public function setUrlNew($urlNew) |
||
905 | { |
||
908 | } |
||
909 | } |
||
910 |