Subversion Repositories eFlore/Applications.cel

Rev

Rev 2 | Rev 12 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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