DeleteByExampleResult::setRowCount()   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 DeleteByExampleResult
6
{
7
    /**
8
     * @var sObject
9
     */
10
    protected $entity = null;
11
12
    /**
13
     * @var Error[]
14
     */
15
    protected $errors = null;
16
17
    /**
18
     * @var int
19
     */
20
    protected $rowCount = null;
21
22
    /**
23
     * @var boolean
24
     */
25
    protected $success = null;
26
27
    /**
28
     * @param boolean $success
29
     */
30
    public function __construct($success = null)
31
    {
32
        $this->success = $success;
33
    }
34
35
    /**
36
     * @return sObject
37
     */
38
    public function getEntity()
39
    {
40
        return $this->entity;
41
    }
42
43
    /**
44
     * @param sObject $entity
45
     * @return \SForce\Wsdl\DeleteByExampleResult
46
     */
47
    public function setEntity($entity)
48
    {
49
        $this->entity = $entity;
50
        return $this;
51
    }
52
53
    /**
54
     * @return Error[]
55
     */
56
    public function getErrors()
57
    {
58
        return $this->errors;
59
    }
60
61
    /**
62
     * @param Error[] $errors
63
     * @return \SForce\Wsdl\DeleteByExampleResult
64
     */
65
    public function setErrors(array $errors = null)
66
    {
67
        $this->errors = $errors;
68
        return $this;
69
    }
70
71
    /**
72
     * @return int
73
     */
74
    public function getRowCount()
75
    {
76
        return $this->rowCount;
77
    }
78
79
    /**
80
     * @param int $rowCount
81
     * @return \SForce\Wsdl\DeleteByExampleResult
82
     */
83
    public function setRowCount($rowCount)
84
    {
85
        $this->rowCount = $rowCount;
86
        return $this;
87
    }
88
89
    /**
90
     * @return boolean
91
     */
92
    public function getSuccess()
93
    {
94
        return $this->success;
95
    }
96
97
    /**
98
     * @param boolean $success
99
     * @return \SForce\Wsdl\DeleteByExampleResult
100
     */
101
    public function setSuccess($success)
102
    {
103
        $this->success = $success;
104
        return $this;
105
    }
106
}
107