ActionOverride   A
last analyzed

Complexity

Total Complexity 11

Size/Duplication

Total Lines 129
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 25
c 1
b 0
f 0
dl 0
loc 129
rs 10
wmc 11

11 Methods

Rating   Name   Duplication   Size   Complexity  
A getFormFactor() 0 3 1
A setUrl() 0 4 1
A setName() 0 4 1
A __construct() 0 6 1
A setIsAvailableInTouch() 0 4 1
A setPageId() 0 4 1
A getUrl() 0 3 1
A getIsAvailableInTouch() 0 3 1
A getName() 0 3 1
A setFormFactor() 0 4 1
A getPageId() 0 3 1
1
<?php
2
3
namespace SForce\Wsdl;
4
5
class ActionOverride
6
{
7
    /**
8
     * @var string
9
     */
10
    protected $formFactor = null;
11
12
    /**
13
     * @var boolean
14
     */
15
    protected $isAvailableInTouch = null;
16
17
    /**
18
     * @var string
19
     */
20
    protected $name = null;
21
22
    /**
23
     * @var ID
24
     */
25
    protected $pageId = null;
26
27
    /**
28
     * @var string
29
     */
30
    protected $url = null;
31
32
    /**
33
     * @param string $formFactor
34
     * @param boolean $isAvailableInTouch
35
     * @param string $name
36
     * @param ID $pageId
37
     */
38
    public function __construct($formFactor = null, $isAvailableInTouch = null, $name = null, $pageId = null)
39
    {
40
        $this->formFactor = $formFactor;
41
        $this->isAvailableInTouch = $isAvailableInTouch;
42
        $this->name = $name;
43
        $this->pageId = $pageId;
44
    }
45
46
    /**
47
     * @return string
48
     */
49
    public function getFormFactor()
50
    {
51
        return $this->formFactor;
52
    }
53
54
    /**
55
     * @param string $formFactor
56
     * @return \SForce\Wsdl\ActionOverride
57
     */
58
    public function setFormFactor($formFactor)
59
    {
60
        $this->formFactor = $formFactor;
61
        return $this;
62
    }
63
64
    /**
65
     * @return boolean
66
     */
67
    public function getIsAvailableInTouch()
68
    {
69
        return $this->isAvailableInTouch;
70
    }
71
72
    /**
73
     * @param boolean $isAvailableInTouch
74
     * @return \SForce\Wsdl\ActionOverride
75
     */
76
    public function setIsAvailableInTouch($isAvailableInTouch)
77
    {
78
        $this->isAvailableInTouch = $isAvailableInTouch;
79
        return $this;
80
    }
81
82
    /**
83
     * @return string
84
     */
85
    public function getName()
86
    {
87
        return $this->name;
88
    }
89
90
    /**
91
     * @param string $name
92
     * @return \SForce\Wsdl\ActionOverride
93
     */
94
    public function setName($name)
95
    {
96
        $this->name = $name;
97
        return $this;
98
    }
99
100
    /**
101
     * @return ID
102
     */
103
    public function getPageId()
104
    {
105
        return $this->pageId;
106
    }
107
108
    /**
109
     * @param ID $pageId
110
     * @return \SForce\Wsdl\ActionOverride
111
     */
112
    public function setPageId($pageId)
113
    {
114
        $this->pageId = $pageId;
115
        return $this;
116
    }
117
118
    /**
119
     * @return string
120
     */
121
    public function getUrl()
122
    {
123
        return $this->url;
124
    }
125
126
    /**
127
     * @param string $url
128
     * @return \SForce\Wsdl\ActionOverride
129
     */
130
    public function setUrl($url)
131
    {
132
        $this->url = $url;
133
        return $this;
134
    }
135
}
136