GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( bca039...62b974 )
by Luis Ramón
03:29
created

Report   A

Complexity

Total Complexity 16

Size/Duplication

Total Lines 247
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 16
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 247
rs 10

16 Methods

Rating   Name   Duplication   Size   Complexity  
A setWorkActivities() 0 6 1
A getWorkActivities() 0 4 1
A setProfessionalCompetence() 0 6 1
A getProfessionalCompetence() 0 4 1
A setOrganizationalCompetence() 0 6 1
A getOrganizationalCompetence() 0 4 1
A setRelationalCompetence() 0 6 1
A getRelationalCompetence() 0 4 1
A setContingencyResponse() 0 6 1
A getContingencyResponse() 0 4 1
A setProposedChanges() 0 6 1
A getProposedChanges() 0 4 1
A setAgreement() 0 6 1
A getAgreement() 0 4 1
A setSignDate() 0 6 1
A getSignDate() 0 4 1
1
<?php
2
/*
3
  ÁTICA - Aplicación web para la gestión documental de centros educativos
4
5
  Copyright (C) 2015-2016: Luis Ramón López López
6
7
  This program is free software: you can redistribute it and/or modify
8
  it under the terms of the GNU Affero General Public License as published by
9
  the Free Software Foundation, either version 3 of the License, or
10
  (at your option) any later version.
11
12
  This program is distributed in the hope that it will be useful,
13
  but WITHOUT ANY WARRANTY; without even the implied warranty of
14
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
  GNU Affero General Public License for more details.
16
17
  You should have received a copy of the GNU Affero General Public License
18
  along with this program.  If not, see [http://www.gnu.org/licenses/].
19
*/
20
21
namespace AppBundle\Entity;
22
23
use Doctrine\ORM\Mapping as ORM;
24
25
/**
26
 * @ORM\Entity
27
 */
28
class Report
29
{
30
    const GRADE_NEGATIVE = 0;
31
    const GRADE_POSITIVE = 1;
32
    const GRADE_EXCELENT = 2;
33
34
    /**
35
     * @ORM\Id
36
     * @ORM\OneToOne(targetEntity="Agreement", inversedBy="report")
37
     * @var Agreement
38
     */
39
    protected $agreement;
40
41
    /**
42
     * @ORM\Column(type="text")
43
     * @var string
44
     */
45
    protected $workActivities;
46
47
    /**
48
     * @ORM\Column(type="integer")
49
     * @var int
50
     */
51
    protected $professionalCompetence;
52
53
    /**
54
     * @ORM\Column(type="integer")
55
     * @var int
56
     */
57
    protected $organizationalCompetence;
58
59
    /**
60
     * @ORM\Column(type="integer")
61
     * @var int
62
     */
63
    protected $relationalCompetence;
64
65
    /**
66
     * @ORM\Column(type="integer")
67
     * @var int
68
     */
69
    protected $contingencyResponse;
70
71
    /**
72
     * @ORM\Column(type="text", nullable=true)
73
     * @var string
74
     */
75
    protected $proposedChanges;
76
77
    /**
78
     * @ORM\Column(type="date")
79
     * @var \DateTime
80
     */
81
    protected $signDate;
82
83
    /**
84
     * Set workActivities
85
     *
86
     * @param string $workActivities
87
     *
88
     * @return Report
89
     */
90
    public function setWorkActivities($workActivities)
91
    {
92
        $this->workActivities = $workActivities;
93
94
        return $this;
95
    }
96
97
    /**
98
     * Get workActivities
99
     *
100
     * @return string
101
     */
102
    public function getWorkActivities()
103
    {
104
        return $this->workActivities;
105
    }
106
107
    /**
108
     * Set professionalCompetence
109
     *
110
     * @param integer $professionalCompetence
111
     *
112
     * @return Report
113
     */
114
    public function setProfessionalCompetence($professionalCompetence)
115
    {
116
        $this->professionalCompetence = $professionalCompetence;
117
118
        return $this;
119
    }
120
121
    /**
122
     * Get professionalCompetence
123
     *
124
     * @return integer
125
     */
126
    public function getProfessionalCompetence()
127
    {
128
        return $this->professionalCompetence;
129
    }
130
131
    /**
132
     * Set organizationalCompetence
133
     *
134
     * @param integer $organizationalCompetence
135
     *
136
     * @return Report
137
     */
138
    public function setOrganizationalCompetence($organizationalCompetence)
139
    {
140
        $this->organizationalCompetence = $organizationalCompetence;
141
142
        return $this;
143
    }
144
145
    /**
146
     * Get organizationalCompetence
147
     *
148
     * @return integer
149
     */
150
    public function getOrganizationalCompetence()
151
    {
152
        return $this->organizationalCompetence;
153
    }
154
155
    /**
156
     * Set relationalCompetence
157
     *
158
     * @param integer $relationalCompetence
159
     *
160
     * @return Report
161
     */
162
    public function setRelationalCompetence($relationalCompetence)
163
    {
164
        $this->relationalCompetence = $relationalCompetence;
165
166
        return $this;
167
    }
168
169
    /**
170
     * Get relationalCompetence
171
     *
172
     * @return integer
173
     */
174
    public function getRelationalCompetence()
175
    {
176
        return $this->relationalCompetence;
177
    }
178
179
    /**
180
     * Set contingencyResponse
181
     *
182
     * @param integer $contingencyResponse
183
     *
184
     * @return Report
185
     */
186
    public function setContingencyResponse($contingencyResponse)
187
    {
188
        $this->contingencyResponse = $contingencyResponse;
189
190
        return $this;
191
    }
192
193
    /**
194
     * Get contingencyResponse
195
     *
196
     * @return integer
197
     */
198
    public function getContingencyResponse()
199
    {
200
        return $this->contingencyResponse;
201
    }
202
203
    /**
204
     * Set proposedChanges
205
     *
206
     * @param string $proposedChanges
207
     *
208
     * @return Report
209
     */
210
    public function setProposedChanges($proposedChanges)
211
    {
212
        $this->proposedChanges = $proposedChanges;
213
214
        return $this;
215
    }
216
217
    /**
218
     * Get proposedChanges
219
     *
220
     * @return string
221
     */
222
    public function getProposedChanges()
223
    {
224
        return $this->proposedChanges;
225
    }
226
227
    /**
228
     * Set agreement
229
     *
230
     * @param \AppBundle\Entity\Agreement $agreement
231
     *
232
     * @return Report
233
     */
234
    public function setAgreement(\AppBundle\Entity\Agreement $agreement)
235
    {
236
        $this->agreement = $agreement;
237
238
        return $this;
239
    }
240
241
    /**
242
     * Get agreement
243
     *
244
     * @return \AppBundle\Entity\Agreement
245
     */
246
    public function getAgreement()
247
    {
248
        return $this->agreement;
249
    }
250
251
    /**
252
     * Set signDate
253
     *
254
     * @param \DateTime $signDate
255
     *
256
     * @return Report
257
     */
258
    public function setSignDate($signDate)
259
    {
260
        $this->signDate = $signDate;
261
262
        return $this;
263
    }
264
265
    /**
266
     * Get signDate
267
     *
268
     * @return \DateTime
269
     */
270
    public function getSignDate()
271
    {
272
        return $this->signDate;
273
    }
274
}
275