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 — user-entity ( 98c12c...bd24dd )
by Luis Ramón
03:17
created

Report::setOther2()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 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="string", nullable=true)
73
     * @var string
74
     */
75
    protected $otherDescription1;
76
77
    /**
78
     * @ORM\Column(type="integer", nullable=true)
79
     * @var int
80
     */
81
    protected $other1;
82
83
    /**
84
     * @ORM\Column(type="string", nullable=true)
85
     * @var string
86
     */
87
    protected $otherDescription2;
88
89
    /**
90
     * @ORM\Column(type="integer", nullable=true)
91
     * @var int
92
     */
93
    protected $other2;
94
95
    /**
96
     * @ORM\Column(type="text", nullable=true)
97
     * @var string
98
     */
99
    protected $proposedChanges;
100
101
    /**
102
     * @ORM\Column(type="date")
103
     * @var \DateTime
104
     */
105
    protected $signDate;
106
107
    /**
108
     * Set workActivities
109
     *
110
     * @param string $workActivities
111
     *
112
     * @return Report
113
     */
114
    public function setWorkActivities($workActivities)
115
    {
116
        $this->workActivities = $workActivities;
117
118
        return $this;
119
    }
120
121
    /**
122
     * Get workActivities
123
     *
124
     * @return string
125
     */
126
    public function getWorkActivities()
127
    {
128
        return $this->workActivities;
129
    }
130
131
    /**
132
     * Set professionalCompetence
133
     *
134
     * @param integer $professionalCompetence
135
     *
136
     * @return Report
137
     */
138
    public function setProfessionalCompetence($professionalCompetence)
139
    {
140
        $this->professionalCompetence = $professionalCompetence;
141
142
        return $this;
143
    }
144
145
    /**
146
     * Get professionalCompetence
147
     *
148
     * @return integer
149
     */
150
    public function getProfessionalCompetence()
151
    {
152
        return $this->professionalCompetence;
153
    }
154
155
    /**
156
     * Set organizationalCompetence
157
     *
158
     * @param integer $organizationalCompetence
159
     *
160
     * @return Report
161
     */
162
    public function setOrganizationalCompetence($organizationalCompetence)
163
    {
164
        $this->organizationalCompetence = $organizationalCompetence;
165
166
        return $this;
167
    }
168
169
    /**
170
     * Get organizationalCompetence
171
     *
172
     * @return integer
173
     */
174
    public function getOrganizationalCompetence()
175
    {
176
        return $this->organizationalCompetence;
177
    }
178
179
    /**
180
     * Set relationalCompetence
181
     *
182
     * @param integer $relationalCompetence
183
     *
184
     * @return Report
185
     */
186
    public function setRelationalCompetence($relationalCompetence)
187
    {
188
        $this->relationalCompetence = $relationalCompetence;
189
190
        return $this;
191
    }
192
193
    /**
194
     * Get relationalCompetence
195
     *
196
     * @return integer
197
     */
198
    public function getRelationalCompetence()
199
    {
200
        return $this->relationalCompetence;
201
    }
202
203
    /**
204
     * Set contingencyResponse
205
     *
206
     * @param integer $contingencyResponse
207
     *
208
     * @return Report
209
     */
210
    public function setContingencyResponse($contingencyResponse)
211
    {
212
        $this->contingencyResponse = $contingencyResponse;
213
214
        return $this;
215
    }
216
217
    /**
218
     * Get contingencyResponse
219
     *
220
     * @return integer
221
     */
222
    public function getContingencyResponse()
223
    {
224
        return $this->contingencyResponse;
225
    }
226
227
    /**
228
     * Set proposedChanges
229
     *
230
     * @param string $proposedChanges
231
     *
232
     * @return Report
233
     */
234
    public function setProposedChanges($proposedChanges)
235
    {
236
        $this->proposedChanges = $proposedChanges;
237
238
        return $this;
239
    }
240
241
    /**
242
     * Get proposedChanges
243
     *
244
     * @return string
245
     */
246
    public function getProposedChanges()
247
    {
248
        return $this->proposedChanges;
249
    }
250
251
    /**
252
     * Set agreement
253
     *
254
     * @param \AppBundle\Entity\Agreement $agreement
255
     *
256
     * @return Report
257
     */
258
    public function setAgreement(\AppBundle\Entity\Agreement $agreement)
259
    {
260
        $this->agreement = $agreement;
261
262
        return $this;
263
    }
264
265
    /**
266
     * Get agreement
267
     *
268
     * @return \AppBundle\Entity\Agreement
269
     */
270
    public function getAgreement()
271
    {
272
        return $this->agreement;
273
    }
274
275
    /**
276
     * Set signDate
277
     *
278
     * @param \DateTime $signDate
279
     *
280
     * @return Report
281
     */
282
    public function setSignDate($signDate)
283
    {
284
        $this->signDate = $signDate;
285
286
        return $this;
287
    }
288
289
    /**
290
     * Get signDate
291
     *
292
     * @return \DateTime
293
     */
294
    public function getSignDate()
295
    {
296
        return $this->signDate;
297
    }
298
299
    /**
300
     * Set otherDescription1
301
     *
302
     * @param string $otherDescription1
303
     *
304
     * @return Report
305
     */
306
    public function setOtherDescription1($otherDescription1)
307
    {
308
        $this->otherDescription1 = $otherDescription1;
309
310
        return $this;
311
    }
312
313
    /**
314
     * Get otherDescription1
315
     *
316
     * @return string
317
     */
318
    public function getOtherDescription1()
319
    {
320
        return $this->otherDescription1;
321
    }
322
323
    /**
324
     * Set other1
325
     *
326
     * @param integer $other1
327
     *
328
     * @return Report
329
     */
330
    public function setOther1($other1)
331
    {
332
        $this->other1 = $other1;
333
334
        return $this;
335
    }
336
337
    /**
338
     * Get other1
339
     *
340
     * @return integer
341
     */
342
    public function getOther1()
343
    {
344
        return $this->other1;
345
    }
346
347
    /**
348
     * Set otherDescription2
349
     *
350
     * @param string $otherDescription2
351
     *
352
     * @return Report
353
     */
354
    public function setOtherDescription2($otherDescription2)
355
    {
356
        $this->otherDescription2 = $otherDescription2;
357
358
        return $this;
359
    }
360
361
    /**
362
     * Get otherDescription2
363
     *
364
     * @return string
365
     */
366
    public function getOtherDescription2()
367
    {
368
        return $this->otherDescription2;
369
    }
370
371
    /**
372
     * Set other2
373
     *
374
     * @param integer $other2
375
     *
376
     * @return Report
377
     */
378
    public function setOther2($other2)
379
    {
380
        $this->other2 = $other2;
381
382
        return $this;
383
    }
384
385
    /**
386
     * Get other2
387
     *
388
     * @return integer
389
     */
390
    public function getOther2()
391
    {
392
        return $this->other2;
393
    }
394
}
395