1 /*
2 * This file is part of NetPisteur.
3 *
4 * Copyright 2001-2002 : Olivier CORNEC, David BOUANCHEAU, Loic LOPEZ,
5 * Gaetan BOUDARD, Mael LE LANNOU, Julien ROBINEAU
6 *
7 * Copyright 2002-2003 : Olivier BRIENS, Simon DEZE, Florence FRIGOULT,
8 * Olivier JOURNEAULT, Francois MARTINIER, Damien RAUDE-MORVAN
9 *
10 * Copyright 2004-2007 : Damien RAUDE-MORVAN
11 *
12 * NetPisteur is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * NetPisteur is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with NetPisteur; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25 *
26 */
27 package com.drazzib.netpisteur.configuration;
28
29 /**
30 * <P>
31 * <STRONG>Description</STRONG>
32 * <P>
33 * Represents a Cobaye, inherits Personne
34 *
35 *
36 * @version 1.0
37 * @since 2002/03/18
38 * @author NetPIsteur Team
39 */
40
41 public class Cobaye {
42 // /////////////////////////////////////
43 // attributes
44
45 private String reference;
46
47 // /////////////////////////////////////
48 // constructors
49
50 /**
51 * Cobaye()
52 *
53 */
54 public Cobaye() {
55
56 this.reference = null;
57
58 } // ------------------------------------------------------Cobaye()
59
60 /**
61 * Cobaye(String uneReference) : 2nd constructor
62 *
63 * @param uneReference
64 * reference of the cobaye
65 *
66 */
67
68 public Cobaye(String uneReference) {
69
70 this.reference = uneReference;
71
72 } // ------------------------------------------------------Cobaye()
73
74 /**
75 * getReference() : gets the reference of the cobaye
76 *
77 * @return int : the reference of the cobaye
78 */
79
80 public String getReference() {
81
82 return this.reference;
83
84 } // ------------------------------------------------------getReference()
85
86 /**
87 * setReference() : sets the reference of the cobaye
88 *
89 * @param uneReference
90 * the new reference
91 */
92
93 public void setReference(String uneReference) {
94
95 this.reference = uneReference;
96
97 } // ------------------------------------------------------setReference()
98
99 } // -------------------------------------------------------------findeClasse
100