ApiQueryFault::setRow()   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 ApiQueryFault extends ApiFault
6
{
7
    /**
8
     * @var int
9
     */
10
    protected $row = null;
11
12
    /**
13
     * @var int
14
     */
15
    protected $column = null;
16
17
    /**
18
     * @param ExceptionCode $exceptionCode
19
     * @param string $exceptionMessage
20
     * @param int $row
21
     * @param int $column
22
     */
23
    public function __construct($exceptionCode = null, $exceptionMessage = null, $row = null, $column = null)
24
    {
25
        parent::__construct($exceptionCode, $exceptionMessage);
26
        $this->row = $row;
27
        $this->column = $column;
28
    }
29
30
    /**
31
     * @return int
32
     */
33
    public function getRow()
34
    {
35
        return $this->row;
36
    }
37
38
    /**
39
     * @param int $row
40
     * @return \SForce\Wsdl\ApiQueryFault
41
     */
42
    public function setRow($row)
43
    {
44
        $this->row = $row;
45
        return $this;
46
    }
47
48
    /**
49
     * @return int
50
     */
51
    public function getColumn()
52
    {
53
        return $this->column;
54
    }
55
56
    /**
57
     * @param int $column
58
     * @return \SForce\Wsdl\ApiQueryFault
59
     */
60
    public function setColumn($column)
61
    {
62
        $this->column = $column;
63
        return $this;
64
    }
65
}
66