Subversion Repositories eFlore/Applications.cel

Rev

Rev 2 | Rev 12 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 5
Line 1... Line 1...
1
package org.tela_botanica.client.modeles;
1
package org.tela_botanica.client.modeles;
Line 2... Line -...
2
 
-
 
3
 
2
 
Line -... Line 3...
-
 
3
public class Observation {
-
 
4
 
Line 4... Line -...
4
public class Observation {
-
 
5
 
-
 
6
 
-
 
7
	private int nombreObservations=0;
5
	private int nombreObservations = 0;
8
	private Observation [] listeObservation=null;
6
	private Observation[] listeObservation = null;
9
 
7
 
10
	private String transmis=null;
8
	private String transmis = null;
11
	private String nomSaisi=null;
9
	private String nomSaisi = null;
12
	private String nomRetenu=null;
10
	private String nomRetenu = null;
13
	private String numeroNomenclatural=null;
11
	private String numeroNomenclatural = null;
14
	private String numeroTaxonomique=null;
12
	private String numeroTaxonomique = null;
15
	private String famille=null;
13
	private String famille = null;
16
	private String localite=null;
14
	private String localite = null;
17
	private String lieudit=null;
15
	private String lieudit = null;
18
	private String station=null;
16
	private String station = null;
19
	private String milieu=null;
17
	private String milieu = null;
20
	private String commentaire=null;
-
 
Line 21... Line -...
21
	private String date=null;
-
 
22
	private String numeroOrdre=null;
18
	private String commentaire = null;
23
 
19
	private String date = null;
Line 24... Line -...
24
 
-
 
25
	
20
	private String numeroOrdre = null;
26
	public Observation() {
21
 
-
 
22
	public Observation() {
27
	}
23
	}
28
 
24
 
29
	
25
	/**
30
	/**
26
	 * Constructeur nombre total d'observations
31
	 * Constructeur nombre total d'observations
27
	 * 
32
	 * @param i
28
	 * @param i
Line 33... Line -...
33
	 */
-
 
34
	
-
 
35
	public Observation(int i) {
29
	 */
36
		nombreObservations=i;
30
 
37
	}
31
	public Observation(int i) {
Line 38... Line -...
38
 
-
 
39
			
32
		nombreObservations = i;
40
	
33
	}
41
	public int getNombreObservations() {
34
 
42
		return nombreObservations;
35
	public int getNombreObservations() {
43
	}
36
		return nombreObservations;
Line 56... Line 49...
56
	 * @param milieu
49
	 * @param milieu
57
	 * @param commentaire
50
	 * @param commentaire
58
	 * @param date
51
	 * @param date
59
	 * @param numeroOrdre
52
	 * @param numeroOrdre
60
	 */
53
	 */
-
 
54
	public Observation(String transmis, String nomSaisi, String nomRetenu,
-
 
55
			String numeroNomenclatural, String numeroTaxonomique,
-
 
56
			String famille, String localite, String lieudit, String station,
61
	public Observation(String transmis, String nomSaisi, String nomRetenu, String numeroNomenclatural, String numeroTaxonomique, String famille, String localite, String lieudit, String station, String milieu, String commentaire, String date, String numeroOrdre) {
57
			String milieu, String commentaire, String date, String numeroOrdre) {
62
		
58
 
63
		this.transmis = transmis;
59
		this.transmis = transmis;
64
		this.nomSaisi = nomSaisi;
60
		this.nomSaisi = nomSaisi;
65
		this.nomRetenu = nomRetenu;
61
		this.nomRetenu = nomRetenu;
66
		this.numeroNomenclatural = numeroNomenclatural;
62
		this.numeroNomenclatural = numeroNomenclatural;
67
		this.numeroTaxonomique = numeroTaxonomique;
63
		this.numeroTaxonomique = numeroTaxonomique;
Line 71... Line 67...
71
		this.station = station;
67
		this.station = station;
72
		this.milieu = milieu;
68
		this.milieu = milieu;
73
		this.commentaire = commentaire;
69
		this.commentaire = commentaire;
74
		this.date = date;
70
		this.date = date;
75
		this.numeroOrdre = numeroOrdre;
71
		this.numeroOrdre = numeroOrdre;
76
		
-
 
77
	}
-
 
Line -... Line 72...
-
 
72
 
Line 78... Line 73...
78
 
73
	}
79
 
74
 
80
	public Observation(Observation[] listeObservation) {
75
	public Observation(Observation[] listeObservation) {
Line 81... Line 76...
81
		this.listeObservation=listeObservation;
76
		this.listeObservation = listeObservation;
82
	}
77
	}
83
 
78
 
Line 84... Line -...
84
	public Observation[] getListeObservation() {
-
 
85
		return listeObservation;
79
	public Observation[] getListeObservation() {
86
	}
80
		return listeObservation;
87
 
81
	}
88
 
-
 
89
	public String getNomSaisi() {
-
 
Line 90... Line 82...
90
		return nomSaisi;
82