Passed
Push — master ( 2a39ec...3b6c56 )
by Andrea
03:42
created

OpzioniTabella   A

Complexity

Total Complexity 11

Size/Duplication

Total Lines 160
Duplicated Lines 0 %

Test Coverage

Coverage 88.89%

Importance

Changes 0
Metric Value
wmc 11
eloc 23
dl 0
loc 160
ccs 24
cts 27
cp 0.8889
rs 10
c 0
b 0
f 0

11 Methods

Rating   Name   Duplication   Size   Complexity  
A getParametro() 0 3 1
A getDescrizione() 0 3 1
A getValore() 0 3 1
A getTabelleId() 0 3 1
A getId() 0 3 1
A getTabelle() 0 3 1
A setParametro() 0 5 1
A setValore() 0 5 1
A setTabelleId() 0 5 1
A setDescrizione() 0 5 1
A setTabelle() 0 5 1
1
<?php
2
3
namespace Fi\CoreBundle\Entity;
4
5
/**
6
 * OpzioniTabella.
7
 */
8
class OpzioniTabella
9
{
10
    /**
11
     * @var int
12
     */
13
    private $id;
14
15
    /**
16
     * @var int
17
     */
18
    private $tabelle_id;
19
20
    /**
21
     * @var string
22
     */
23
    private $descrizione;
24
25
    /**
26
     * @var string
27
     */
28
    private $parametro;
29
30
    /**
31
     * @var string
32
     */
33
    private $valore;
34
35
    /**
36
     * @var \Fi\CoreBundle\Entity\tabelle
37
     */
38
    private $tabelle;
39
40
    /**
41
     * Get id.
42
     *
43
     * @return int
44
     */
45 3
    public function getId()
46
    {
47 3
        return $this->id;
48
    }
49
50
    /**
51
     * Set tabelle_id.
52
     *
53
     * @param int $tabelleId
54
     *
55
     * @return opzioniTabella
56
     */
57
    public function setTabelleId($tabelleId)
58
    {
59
        $this->tabelle_id = $tabelleId;
60
61
        return $this;
62
    }
63
64
    /**
65
     * Get tabelle_id.
66
     *
67
     * @return int
68
     */
69 1
    public function getTabelleId()
70
    {
71 1
        return $this->tabelle_id;
72
    }
73
74
    /**
75
     * Set descrizione.
76
     *
77
     * @param string $descrizione
78
     *
79
     * @return opzioniTabella
80
     */
81 4
    public function setDescrizione($descrizione)
82
    {
83 4
        $this->descrizione = $descrizione;
84
85 4
        return $this;
86
    }
87
88
    /**
89
     * Get descrizione.
90
     *
91
     * @return string
92
     */
93 3
    public function getDescrizione()
94
    {
95 3
        return $this->descrizione;
96
    }
97
98
    /**
99
     * Set parametro.
100
     *
101
     * @param string $parametro
102
     *
103
     * @return opzioniTabella
104
     */
105 3
    public function setParametro($parametro)
106
    {
107 3
        $this->parametro = $parametro;
108
109 3
        return $this;
110
    }
111
112
    /**
113
     * Get parametro.
114
     *
115
     * @return string
116
     */
117 20
    public function getParametro()
118
    {
119 20
        return $this->parametro;
120
    }
121
122
    /**
123
     * Set valore.
124
     *
125
     * @param string $valore
126
     *
127
     * @return opzioniTabella
128
     */
129 3
    public function setValore($valore)
130
    {
131 3
        $this->valore = $valore;
132
133 3
        return $this;
134
    }
135
136
    /**
137
     * Get valore.
138
     *
139
     * @return string
140
     */
141 20
    public function getValore()
142
    {
143 20
        return $this->valore;
144
    }
145
146
    /**
147
     * Set tabelle.
148
     *
149
     * @param \Fi\CoreBundle\Entity\tabelle $tabelle
150
     *
151
     * @return opzioniTabella
152
     */
153 4
    public function setTabelle(\Fi\CoreBundle\Entity\tabelle $tabelle)
154
    {
155 4
        $this->tabelle = $tabelle;
156
157 4
        return $this;
158
    }
159
160
    /**
161
     * Get tabelle.
162
     *
163
     * @return \Fi\CoreBundle\Entity\tabelle
164
     */
165 1
    public function getTabelle()
166
    {
167 1
        return $this->tabelle;
168
    }
169
}
170