Subversion Repositories eFlore/Applications.coel

Rev

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

Rev Author Line No. Line
453 jp_milcent 1
package org.tela_botanica.client.modeles;
2
 
3
import com.google.gwt.json.client.JSONObject;
4
 
5
public class Collection extends aDonnee {
6
 
468 jp_milcent 7
	private static final long serialVersionUID = 3295310312337145716L;
8
 
453 jp_milcent 9
	public static final String PREFIXE = "cc";
10
	private CollectionBotanique botanique = null;
11
 
12
	public Collection() {
13
	}
14
 
15
	public Collection(JSONObject collection) {
775 jpm 16
		initialiserModele(collection);
453 jp_milcent 17
	}
18
 
748 jpm 19
	@Override
20
	protected String getPrefixe() {
21
		return PREFIXE;
22
	}
23
 
453 jp_milcent 24
	// BOTANIQUE
25
	public CollectionBotanique getBotanique() {
26
		return botanique;
27
	}
28
	public void setBotanique(CollectionBotanique botaniqueAStocker) {
29
		botanique = botaniqueAStocker;
30
	}
31
 
32
	// ID
33
	public String getId() {
34
		return renvoyerValeurCorrecte("id_collection");
35
	}
36
	public void setId(String idCollection) {
37
		this.set("id_collection", idCollection);
38
	}
39
 
40
	// CE PROJET
41
	public String getIdProjet() {
42
		return renvoyerValeurCorrecte("ce_projet");
43
	}
44
	public void setIdProjet(String idProjet) {
45
		this.set("ce_projet", idProjet);
46
	}
47
 
628 jp_milcent 48
	// COLLECTION MERE NOM
49
	public String getCollectionMereNom() {
50
		return renvoyerValeurCorrecte("collection_mere_nom");
51
	}
52
	public void setCollectionMereNom(String collectionMereNom) {
53
		this.set("collection_mere_nom", collectionMereNom);
54
	}
55
 
453 jp_milcent 56
	// CE STRUCTURE
57
	public String getIdStructure() {
58
		return renvoyerValeurCorrecte("ce_structure");
59
	}
60
	public void setIdStructure(String idStructure) {
61
		this.set("ce_structure", idStructure);
62
	}
63
 
64
	// GUID
65
	public String getGuid() {
66
		return renvoyerValeurCorrecte("guid");
67
	}
68
	public void setGuid(String guid) {
69
		this.set("guid", guid);
70
	}
628 jp_milcent 71
 
72
	// IDENTIFIANT ALTERNATIF
73
	public String getIdAlternatif() {
74
		return renvoyerValeurCorrecte("truk_identifiant_alternatif");
75
	}
76
	public void setIdAlternatif(String idAlter) {
77
		this.set("truk_identifiant_alternatif", idAlter);
78
	}
453 jp_milcent 79
 
477 jp_milcent 80
	// CODE
81
	public String getCode() {
628 jp_milcent 82
		return renvoyerValeurCorrecte("truk_code");
477 jp_milcent 83
	}
84
	public void setCode(String code) {
628 jp_milcent 85
		this.set("truk_code", code);
477 jp_milcent 86
	}
87
 
628 jp_milcent 88
	// COTE
89
	public String getCote() {
90
		return renvoyerValeurCorrecte("cote");
91
	}
92
	public void setCote(String cote) {
93
		this.set("cote", cote);
94
	}
95
 
453 jp_milcent 96
	// NOM
97
	public String getNom() {
98
		return renvoyerValeurCorrecte("nom");
99
	}
100
	public void setNom(String nom) {
101
		this.set("nom", nom);
102
	}
628 jp_milcent 103
 
104
	// NOM ALTERNATIF
105
	public String getNomAlternatif() {
106
		return renvoyerValeurCorrecte("truk_nom_alternatif");
453 jp_milcent 107
	}
628 jp_milcent 108
	public void setNomAlternatif(String nomAlter) {
109
		this.set("truk_nom_alternatif", nomAlter);
453 jp_milcent 110
	}
477 jp_milcent 111
 
112
	// DESCRIPTION
113
	public String getDescription() {
114
		return renvoyerValeurCorrecte("description");
115
	}
116
	public void setDescription(String description) {
117
		this.set("description", description);
118
	}
119
 
120
	// DESCRIPTION SPECIALISTE
121
	public String getDescriptionSpecialiste() {
122
		return renvoyerValeurCorrecte("description_specialiste");
123
	}
124
	public void setDescriptionSpecialiste(String descriptionSepcialiste) {
125
		this.set("description_specialiste", descriptionSepcialiste);
126
	}
628 jp_milcent 127
 
128
	// HISTORIQUE
129
	public String getHistorique() {
130
		return renvoyerValeurCorrecte("historique");
131
	}
132
	public void setHistorique(String historique) {
133
		this.set("historique", historique);
134
	}
468 jp_milcent 135
 
628 jp_milcent 136
	// URL
137
	public String getUrls() {
138
		return renvoyerValeurCorrecte("truk_url");
139
	}
140
	public void setUrls(String urls) {
141
		this.set("truk_url", urls);
142
	}
143
 
144
	// GROUPEMENT PRINCIPE
145
	public String getGroupementPrincipe() {
146
		return renvoyerValeurCorrecte("truk_groupement_principe");
147
	}
148
	public void setGroupementPrincipe(String groupementPrincipe) {
149
		this.set("truk_groupement_principe", groupementPrincipe);
150
	}
151
 
152
	// GROUPEMENT BUT
153
	public String getGroupementBut() {
154
		return renvoyerValeurCorrecte("truk_groupement_but");
155
	}
156
	public void setGroupementBut(String groupementBut) {
157
		this.set("truk_groupement_but", groupementBut);
158
	}
159
 
160
	// TYPE NCD
161
	public String getTypeNcd() {
162
		return renvoyerValeurCorrecte("ce_type");
163
	}
164
	public void setTypeNcd(String typeNcd) {
165
		this.set("ce_type", typeNcd);
166
	}
167
 
168
	// TYPE DEPOT
169
	public String getTypeDepot() {
170
		return renvoyerValeurCorrecte("ce_type_depot");
171
	}
172
	public void setTypeDepot(String typeDepot) {
173
		this.set("ce_type_depot", typeDepot);
174
	}
175
 
468 jp_milcent 176
	// +--------------------------------------------------------------------------------------------------------------+
177
	// STRUCTURE NOM
178
	public String getStructureNom() {
179
		return renvoyerValeurCorrecte("structure_nom");
180
	}
453 jp_milcent 181
 
468 jp_milcent 182
	// STRUCTURE VILLE
183
	public String getStructureVille() {
184
		return renvoyerValeurCorrecte("structure_ville");
748 jpm 185
	}
453 jp_milcent 186
}