DescribeSoqlListView::setWhereCondition()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 4
rs 10
1
<?php
2
3
namespace SForce\Wsdl;
4
5
class DescribeSoqlListView
6
{
7
    /**
8
     * @var ListViewColumn[]
9
     */
10
    protected $columns = null;
11
12
    /**
13
     * @var ID
14
     */
15
    protected $id = null;
16
17
    /**
18
     * @var ListViewOrderBy[]
19
     */
20
    protected $orderBy = null;
21
22
    /**
23
     * @var string
24
     */
25
    protected $query = null;
26
27
    /**
28
     * @var ID
29
     */
30
    protected $relatedEntityId = null;
31
32
    /**
33
     * @var string
34
     */
35
    protected $scope = null;
36
37
    /**
38
     * @var ID
39
     */
40
    protected $scopeEntityId = null;
41
42
    /**
43
     * @var string
44
     */
45
    protected $sobjectType = null;
46
47
    /**
48
     * @var SoqlWhereCondition
49
     */
50
    protected $whereCondition = null;
51
52
    /**
53
     * @param ListViewColumn[] $columns
54
     * @param ID $id
55
     * @param ListViewOrderBy[] $orderBy
56
     * @param string $query
57
     * @param string $sobjectType
58
     */
59
    public function __construct(array $columns = null, $id = null, array $orderBy = null, $query = null, $sobjectType = null)
60
    {
61
        $this->columns = $columns;
62
        $this->id = $id;
63
        $this->orderBy = $orderBy;
64
        $this->query = $query;
65
        $this->sobjectType = $sobjectType;
66
    }
67
68
    /**
69
     * @return ListViewColumn[]
70
     */
71
    public function getColumns()
72
    {
73
        return $this->columns;
74
    }
75
76
    /**
77
     * @param ListViewColumn[] $columns
78
     * @return \SForce\Wsdl\DescribeSoqlListView
79
     */
80
    public function setColumns(array $columns)
81
    {
82
        $this->columns = $columns;
83
        return $this;
84
    }
85
86
    /**
87
     * @return ID
88
     */
89
    public function getId()
90
    {
91
        return $this->id;
92
    }
93
94
    /**
95
     * @param ID $id
96
     * @return \SForce\Wsdl\DescribeSoqlListView
97
     */
98
    public function setId($id)
99
    {
100
        $this->id = $id;
101
        return $this;
102
    }
103
104
    /**
105
     * @return ListViewOrderBy[]
106
     */
107
    public function getOrderBy()
108
    {
109
        return $this->orderBy;
110
    }
111
112
    /**
113
     * @param ListViewOrderBy[] $orderBy
114
     * @return \SForce\Wsdl\DescribeSoqlListView
115
     */
116
    public function setOrderBy(array $orderBy)
117
    {
118
        $this->orderBy = $orderBy;
119
        return $this;
120
    }
121
122
    /**
123
     * @return string
124
     */
125
    public function getQuery()
126
    {
127
        return $this->query;
128
    }
129
130
    /**
131
     * @param string $query
132
     * @return \SForce\Wsdl\DescribeSoqlListView
133
     */
134
    public function setQuery($query)
135
    {
136
        $this->query = $query;
137
        return $this;
138
    }
139
140
    /**
141
     * @return ID
142
     */
143
    public function getRelatedEntityId()
144
    {
145
        return $this->relatedEntityId;
146
    }
147
148
    /**
149
     * @param ID $relatedEntityId
150
     * @return \SForce\Wsdl\DescribeSoqlListView
151
     */
152
    public function setRelatedEntityId($relatedEntityId)
153
    {
154
        $this->relatedEntityId = $relatedEntityId;
155
        return $this;
156
    }
157
158
    /**
159
     * @return string
160
     */
161
    public function getScope()
162
    {
163
        return $this->scope;
164
    }
165
166
    /**
167
     * @param string $scope
168
     * @return \SForce\Wsdl\DescribeSoqlListView
169
     */
170
    public function setScope($scope)
171
    {
172
        $this->scope = $scope;
173
        return $this;
174
    }
175
176
    /**
177
     * @return ID
178
     */
179
    public function getScopeEntityId()
180
    {
181
        return $this->scopeEntityId;
182
    }
183
184
    /**
185
     * @param ID $scopeEntityId
186
     * @return \SForce\Wsdl\DescribeSoqlListView
187
     */
188
    public function setScopeEntityId($scopeEntityId)
189
    {
190
        $this->scopeEntityId = $scopeEntityId;
191
        return $this;
192
    }
193
194
    /**
195
     * @return string
196
     */
197
    public function getSobjectType()
198
    {
199
        return $this->sobjectType;
200
    }
201
202
    /**
203
     * @param string $sobjectType
204
     * @return \SForce\Wsdl\DescribeSoqlListView
205
     */
206
    public function setSobjectType($sobjectType)
207
    {
208
        $this->sobjectType = $sobjectType;
209
        return $this;
210
    }
211
212
    /**
213
     * @return SoqlWhereCondition
214
     */
215
    public function getWhereCondition()
216
    {
217
        return $this->whereCondition;
218
    }
219
220
    /**
221
     * @param SoqlWhereCondition $whereCondition
222
     * @return \SForce\Wsdl\DescribeSoqlListView
223
     */
224
    public function setWhereCondition($whereCondition)
225
    {
226
        $this->whereCondition = $whereCondition;
227
        return $this;
228
    }
229
}
230