Completed
Push — master ( bc6f43...6ee0f9 )
by WEBEWEB
25:08
created

Nomenclatures::getDouble1()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * This file is part of the core-library package.
5
 *
6
 * (c) 2018 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Library\Core\Quadratus\Model\QGI;
13
14
use DateTime;
15
16
/**
17
 * Nomenclatures model.
18
 *
19
 * @author webeweb <https://github.com/webeweb/>
20
 * @package WBW\Library\Core\Quadratus\Model\QGI
21
 */
22
class Nomenclatures {
23
24
	/**
25
	 * Code1.
26
	 *
27
	 * @var string
28
	 */
29
	private $code1;
30
31
	/**
32
	 * Code2.
33
	 *
34
	 * @var string
35
	 */
36
	private $code2;
37
38
	/**
39
	 * Commentaire.
40
	 *
41
	 * @var string
42
	 */
43
	private $commentaire;
44
45
	/**
46
	 * Commentaire2.
47
	 *
48
	 * @var string
49
	 */
50
	private $commentaire2;
51
52
	/**
53
	 * Date1.
54
	 *
55
	 * @var DateTime
56
	 */
57
	private $date1;
58
59
	/**
60
	 * Date2.
61
	 *
62
	 * @var DateTime
63
	 */
64
	private $date2;
65
66
	/**
67
	 * Double1.
68
	 *
69
	 * @var float
70
	 */
71
	private $double1;
72
73
	/**
74
	 * Double2.
75
	 *
76
	 * @var float
77
	 */
78
	private $double2;
79
80
	/**
81
	 * Numero.
82
	 *
83
	 * @var int
84
	 */
85
	private $numero;
86
87
	/**
88
	 * Texte1.
89
	 *
90
	 * @var string
91
	 */
92
	private $texte1;
93
94
	/**
95
	 * Texte2.
96
	 *
97
	 * @var string
98
	 */
99
	private $texte2;
100
101
	/**
102
	 * Texte3.
103
	 *
104
	 * @var string
105
	 */
106
	private $texte3;
107
108
	/**
109
	 * Texte4.
110
	 *
111
	 * @var string
112
	 */
113
	private $texte4;
114
115
	/**
116
	 * Texte5.
117
	 *
118
	 * @var string
119
	 */
120
	private $texte5;
121
122
	/**
123
	 * Type.
124
	 *
125
	 * @var string
126
	 */
127
	private $type;
128
129
	/**
130
	 * Constructor.
131
	 */
132
	public function __construct() {
133
		// NOTHING TO DO;
134
	}
135
136
	/**
137
	 * Get the code1.
138
	 *
139
	 * @return string Returns the code1.
140
	 */
141
	public function getCode1() {
142
		return $this->code1;
143
	}
144
145
	/**
146
	 * Get the code2.
147
	 *
148
	 * @return string Returns the code2.
149
	 */
150
	public function getCode2() {
151
		return $this->code2;
152
	}
153
154
	/**
155
	 * Get the commentaire.
156
	 *
157
	 * @return string Returns the commentaire.
158
	 */
159
	public function getCommentaire() {
160
		return $this->commentaire;
161
	}
162
163
	/**
164
	 * Get the commentaire2.
165
	 *
166
	 * @return string Returns the commentaire2.
167
	 */
168
	public function getCommentaire2() {
169
		return $this->commentaire2;
170
	}
171
172
	/**
173
	 * Get the date1.
174
	 *
175
	 * @return DateTime Returns the date1.
176
	 */
177
	public function getDate1() {
178
		return $this->date1;
179
	}
180
181
	/**
182
	 * Get the date2.
183
	 *
184
	 * @return DateTime Returns the date2.
185
	 */
186
	public function getDate2() {
187
		return $this->date2;
188
	}
189
190
	/**
191
	 * Get the double1.
192
	 *
193
	 * @return float Returns the double1.
194
	 */
195
	public function getDouble1() {
196
		return $this->double1;
197
	}
198
199
	/**
200
	 * Get the double2.
201
	 *
202
	 * @return float Returns the double2.
203
	 */
204
	public function getDouble2() {
205
		return $this->double2;
206
	}
207
208
	/**
209
	 * Get the numero.
210
	 *
211
	 * @return int Returns the numero.
212
	 */
213
	public function getNumero() {
214
		return $this->numero;
215
	}
216
217
	/**
218
	 * Get the texte1.
219
	 *
220
	 * @return string Returns the texte1.
221
	 */
222
	public function getTexte1() {
223
		return $this->texte1;
224
	}
225
226
	/**
227
	 * Get the texte2.
228
	 *
229
	 * @return string Returns the texte2.
230
	 */
231
	public function getTexte2() {
232
		return $this->texte2;
233
	}
234
235
	/**
236
	 * Get the texte3.
237
	 *
238
	 * @return string Returns the texte3.
239
	 */
240
	public function getTexte3() {
241
		return $this->texte3;
242
	}
243
244
	/**
245
	 * Get the texte4.
246
	 *
247
	 * @return string Returns the texte4.
248
	 */
249
	public function getTexte4() {
250
		return $this->texte4;
251
	}
252
253
	/**
254
	 * Get the texte5.
255
	 *
256
	 * @return string Returns the texte5.
257
	 */
258
	public function getTexte5() {
259
		return $this->texte5;
260
	}
261
262
	/**
263
	 * Get the type.
264
	 *
265
	 * @return string Returns the type.
266
	 */
267
	public function getType() {
268
		return $this->type;
269
	}
270
271
	/**
272
	 * Set the code1.
273
	 *
274
	 * @param string $code1 The code1.
275
	 * @return Nomenclatures Returns this nomenclatures.
276
	 */
277
	public function setCode1($code1) {
278
		$this->code1 = $code1;
279
		return $this;
280
	}
281
282
	/**
283
	 * Set the code2.
284
	 *
285
	 * @param string $code2 The code2.
286
	 * @return Nomenclatures Returns this nomenclatures.
287
	 */
288
	public function setCode2($code2) {
289
		$this->code2 = $code2;
290
		return $this;
291
	}
292
293
	/**
294
	 * Set the commentaire.
295
	 *
296
	 * @param string $commentaire The commentaire.
297
	 * @return Nomenclatures Returns this nomenclatures.
298
	 */
299
	public function setCommentaire($commentaire) {
300
		$this->commentaire = $commentaire;
301
		return $this;
302
	}
303
304
	/**
305
	 * Set the commentaire2.
306
	 *
307
	 * @param string $commentaire2 The commentaire2.
308
	 * @return Nomenclatures Returns this nomenclatures.
309
	 */
310
	public function setCommentaire2($commentaire2) {
311
		$this->commentaire2 = $commentaire2;
312
		return $this;
313
	}
314
315
	/**
316
	 * Set the date1.
317
	 *
318
	 * @param DateTime $date1 The date1.
319
	 * @return Nomenclatures Returns this nomenclatures.
320
	 */
321
	public function setDate1(DateTime $date1 = null) {
322
		$this->date1 = $date1;
323
		return $this;
324
	}
325
326
	/**
327
	 * Set the date2.
328
	 *
329
	 * @param DateTime $date2 The date2.
330
	 * @return Nomenclatures Returns this nomenclatures.
331
	 */
332
	public function setDate2(DateTime $date2 = null) {
333
		$this->date2 = $date2;
334
		return $this;
335
	}
336
337
	/**
338
	 * Set the double1.
339
	 *
340
	 * @param float $double1 The double1.
341
	 * @return Nomenclatures Returns this nomenclatures.
342
	 */
343
	public function setDouble1($double1) {
344
		$this->double1 = $double1;
345
		return $this;
346
	}
347
348
	/**
349
	 * Set the double2.
350
	 *
351
	 * @param float $double2 The double2.
352
	 * @return Nomenclatures Returns this nomenclatures.
353
	 */
354
	public function setDouble2($double2) {
355
		$this->double2 = $double2;
356
		return $this;
357
	}
358
359
	/**
360
	 * Set the numero.
361
	 *
362
	 * @param int $numero The numero.
363
	 * @return Nomenclatures Returns this nomenclatures.
364
	 */
365
	public function setNumero($numero) {
366
		$this->numero = $numero;
367
		return $this;
368
	}
369
370
	/**
371
	 * Set the texte1.
372
	 *
373
	 * @param string $texte1 The texte1.
374
	 * @return Nomenclatures Returns this nomenclatures.
375
	 */
376
	public function setTexte1($texte1) {
377
		$this->texte1 = $texte1;
378
		return $this;
379
	}
380
381
	/**
382
	 * Set the texte2.
383
	 *
384
	 * @param string $texte2 The texte2.
385
	 * @return Nomenclatures Returns this nomenclatures.
386
	 */
387
	public function setTexte2($texte2) {
388
		$this->texte2 = $texte2;
389
		return $this;
390
	}
391
392
	/**
393
	 * Set the texte3.
394
	 *
395
	 * @param string $texte3 The texte3.
396
	 * @return Nomenclatures Returns this nomenclatures.
397
	 */
398
	public function setTexte3($texte3) {
399
		$this->texte3 = $texte3;
400
		return $this;
401
	}
402
403
	/**
404
	 * Set the texte4.
405
	 *
406
	 * @param string $texte4 The texte4.
407
	 * @return Nomenclatures Returns this nomenclatures.
408
	 */
409
	public function setTexte4($texte4) {
410
		$this->texte4 = $texte4;
411
		return $this;
412
	}
413
414
	/**
415
	 * Set the texte5.
416
	 *
417
	 * @param string $texte5 The texte5.
418
	 * @return Nomenclatures Returns this nomenclatures.
419
	 */
420
	public function setTexte5($texte5) {
421
		$this->texte5 = $texte5;
422
		return $this;
423
	}
424
425
	/**
426
	 * Set the type.
427
	 *
428
	 * @param string $type The type.
429
	 * @return Nomenclatures Returns this nomenclatures.
430
	 */
431
	public function setType($type) {
432
		$this->type = $type;
433
		return $this;
434
	}
435
436
}
437