| 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 |
|
| 867 |
jpm |
48 |
// COLLECTION MERE ID
|
|
|
49 |
public String getCollectionMereId() {
|
|
|
50 |
return renvoyerValeurCorrecte("ce_mere");
|
|
|
51 |
}
|
|
|
52 |
public void setCollectionMereId(String collectionMereId) {
|
|
|
53 |
this.set("ce_mere", collectionMereId);
|
|
|
54 |
}
|
|
|
55 |
|
| 628 |
jp_milcent |
56 |
// COLLECTION MERE NOM
|
|
|
57 |
public String getCollectionMereNom() {
|
|
|
58 |
return renvoyerValeurCorrecte("collection_mere_nom");
|
|
|
59 |
}
|
|
|
60 |
public void setCollectionMereNom(String collectionMereNom) {
|
|
|
61 |
this.set("collection_mere_nom", collectionMereNom);
|
|
|
62 |
}
|
|
|
63 |
|
| 453 |
jp_milcent |
64 |
// CE STRUCTURE
|
|
|
65 |
public String getIdStructure() {
|
|
|
66 |
return renvoyerValeurCorrecte("ce_structure");
|
|
|
67 |
}
|
|
|
68 |
public void setIdStructure(String idStructure) {
|
|
|
69 |
this.set("ce_structure", idStructure);
|
|
|
70 |
}
|
|
|
71 |
|
|
|
72 |
// GUID
|
|
|
73 |
public String getGuid() {
|
|
|
74 |
return renvoyerValeurCorrecte("guid");
|
|
|
75 |
}
|
|
|
76 |
public void setGuid(String guid) {
|
|
|
77 |
this.set("guid", guid);
|
|
|
78 |
}
|
| 628 |
jp_milcent |
79 |
|
|
|
80 |
// IDENTIFIANT ALTERNATIF
|
|
|
81 |
public String getIdAlternatif() {
|
|
|
82 |
return renvoyerValeurCorrecte("truk_identifiant_alternatif");
|
|
|
83 |
}
|
|
|
84 |
public void setIdAlternatif(String idAlter) {
|
|
|
85 |
this.set("truk_identifiant_alternatif", idAlter);
|
|
|
86 |
}
|
| 453 |
jp_milcent |
87 |
|
| 477 |
jp_milcent |
88 |
// CODE
|
|
|
89 |
public String getCode() {
|
| 628 |
jp_milcent |
90 |
return renvoyerValeurCorrecte("truk_code");
|
| 477 |
jp_milcent |
91 |
}
|
|
|
92 |
public void setCode(String code) {
|
| 628 |
jp_milcent |
93 |
this.set("truk_code", code);
|
| 477 |
jp_milcent |
94 |
}
|
|
|
95 |
|
| 628 |
jp_milcent |
96 |
// COTE
|
|
|
97 |
public String getCote() {
|
|
|
98 |
return renvoyerValeurCorrecte("cote");
|
|
|
99 |
}
|
|
|
100 |
public void setCote(String cote) {
|
|
|
101 |
this.set("cote", cote);
|
|
|
102 |
}
|
|
|
103 |
|
| 453 |
jp_milcent |
104 |
// NOM
|
|
|
105 |
public String getNom() {
|
|
|
106 |
return renvoyerValeurCorrecte("nom");
|
|
|
107 |
}
|
|
|
108 |
public void setNom(String nom) {
|
|
|
109 |
this.set("nom", nom);
|
|
|
110 |
}
|
| 628 |
jp_milcent |
111 |
|
|
|
112 |
// NOM ALTERNATIF
|
|
|
113 |
public String getNomAlternatif() {
|
|
|
114 |
return renvoyerValeurCorrecte("truk_nom_alternatif");
|
| 453 |
jp_milcent |
115 |
}
|
| 628 |
jp_milcent |
116 |
public void setNomAlternatif(String nomAlter) {
|
|
|
117 |
this.set("truk_nom_alternatif", nomAlter);
|
| 453 |
jp_milcent |
118 |
}
|
| 477 |
jp_milcent |
119 |
|
|
|
120 |
// DESCRIPTION
|
|
|
121 |
public String getDescription() {
|
|
|
122 |
return renvoyerValeurCorrecte("description");
|
|
|
123 |
}
|
|
|
124 |
public void setDescription(String description) {
|
|
|
125 |
this.set("description", description);
|
|
|
126 |
}
|
|
|
127 |
|
|
|
128 |
// DESCRIPTION SPECIALISTE
|
|
|
129 |
public String getDescriptionSpecialiste() {
|
|
|
130 |
return renvoyerValeurCorrecte("description_specialiste");
|
|
|
131 |
}
|
|
|
132 |
public void setDescriptionSpecialiste(String descriptionSepcialiste) {
|
|
|
133 |
this.set("description_specialiste", descriptionSepcialiste);
|
|
|
134 |
}
|
| 628 |
jp_milcent |
135 |
|
|
|
136 |
// HISTORIQUE
|
|
|
137 |
public String getHistorique() {
|
|
|
138 |
return renvoyerValeurCorrecte("historique");
|
|
|
139 |
}
|
|
|
140 |
public void setHistorique(String historique) {
|
|
|
141 |
this.set("historique", historique);
|
|
|
142 |
}
|
| 468 |
jp_milcent |
143 |
|
| 628 |
jp_milcent |
144 |
// URL
|
|
|
145 |
public String getUrls() {
|
|
|
146 |
return renvoyerValeurCorrecte("truk_url");
|
|
|
147 |
}
|
|
|
148 |
public void setUrls(String urls) {
|
|
|
149 |
this.set("truk_url", urls);
|
|
|
150 |
}
|
|
|
151 |
|
|
|
152 |
// GROUPEMENT PRINCIPE
|
|
|
153 |
public String getGroupementPrincipe() {
|
|
|
154 |
return renvoyerValeurCorrecte("truk_groupement_principe");
|
|
|
155 |
}
|
|
|
156 |
public void setGroupementPrincipe(String groupementPrincipe) {
|
|
|
157 |
this.set("truk_groupement_principe", groupementPrincipe);
|
|
|
158 |
}
|
|
|
159 |
|
|
|
160 |
// GROUPEMENT BUT
|
|
|
161 |
public String getGroupementBut() {
|
|
|
162 |
return renvoyerValeurCorrecte("truk_groupement_but");
|
|
|
163 |
}
|
|
|
164 |
public void setGroupementBut(String groupementBut) {
|
|
|
165 |
this.set("truk_groupement_but", groupementBut);
|
|
|
166 |
}
|
|
|
167 |
|
|
|
168 |
// TYPE NCD
|
|
|
169 |
public String getTypeNcd() {
|
|
|
170 |
return renvoyerValeurCorrecte("ce_type");
|
|
|
171 |
}
|
|
|
172 |
public void setTypeNcd(String typeNcd) {
|
|
|
173 |
this.set("ce_type", typeNcd);
|
|
|
174 |
}
|
|
|
175 |
|
|
|
176 |
// TYPE DEPOT
|
|
|
177 |
public String getTypeDepot() {
|
|
|
178 |
return renvoyerValeurCorrecte("ce_type_depot");
|
|
|
179 |
}
|
|
|
180 |
public void setTypeDepot(String typeDepot) {
|
|
|
181 |
this.set("ce_type_depot", typeDepot);
|
|
|
182 |
}
|
|
|
183 |
|
| 867 |
jpm |
184 |
// COUVERTURE LIEU
|
|
|
185 |
public String getCouvertureLieu() {
|
|
|
186 |
return renvoyerValeurCorrecte("truk_couverture_lieu");
|
|
|
187 |
}
|
|
|
188 |
public void setCouvertureLieu(String couvertureLieu) {
|
|
|
189 |
this.set("truk_couverture_lieu", couvertureLieu);
|
|
|
190 |
}
|
|
|
191 |
|
|
|
192 |
// SPECIMEN TYPE
|
|
|
193 |
public String getSpecimenType() {
|
|
|
194 |
return renvoyerValeurCorrecte("ce_specimen_type");
|
|
|
195 |
}
|
|
|
196 |
public void setSpecimenType(String specimenType) {
|
|
|
197 |
this.set("ce_specimen_type", specimenType);
|
|
|
198 |
}
|
|
|
199 |
|
|
|
200 |
// SPECIMEN TYPE NOMBRE
|
|
|
201 |
public String getSpecimenTypeNbre() {
|
|
|
202 |
return renvoyerValeurCorrecte("specimen_type_nbre");
|
|
|
203 |
}
|
|
|
204 |
public void setSpecimenTypeNbre(String specimenTypeNbre) {
|
|
|
205 |
this.set("specimen_type_nbre", specimenTypeNbre);
|
|
|
206 |
}
|
|
|
207 |
|
|
|
208 |
// SPECIMEN TYPE NOMBRE PRECISION
|
|
|
209 |
public String getSpecimenTypeNbrePrecision() {
|
|
|
210 |
return renvoyerValeurCorrecte("ce_specimen_type_nbre_precision");
|
|
|
211 |
}
|
|
|
212 |
public void setSpecimenTypeNbrePrecision(String specimenTypeNbrePrecision) {
|
|
|
213 |
this.set("ce_specimen_type_nbre_precision", specimenTypeNbrePrecision);
|
|
|
214 |
}
|
|
|
215 |
|
|
|
216 |
// SPECIMEN TYPE CLASSEMENT
|
|
|
217 |
public String getSpecimenTypeClassement() {
|
|
|
218 |
return renvoyerValeurCorrecte("ce_specimen_type_classement");
|
|
|
219 |
}
|
|
|
220 |
public void setSpecimenTypeClassement(String specimenTypeClassement) {
|
|
|
221 |
this.set("ce_specimen_type_classement", specimenTypeClassement);
|
|
|
222 |
}
|
|
|
223 |
|
| 468 |
jp_milcent |
224 |
// +--------------------------------------------------------------------------------------------------------------+
|
|
|
225 |
// STRUCTURE NOM
|
|
|
226 |
public String getStructureNom() {
|
|
|
227 |
return renvoyerValeurCorrecte("structure_nom");
|
|
|
228 |
}
|
| 453 |
jp_milcent |
229 |
|
| 468 |
jp_milcent |
230 |
// STRUCTURE VILLE
|
|
|
231 |
public String getStructureVille() {
|
|
|
232 |
return renvoyerValeurCorrecte("structure_ville");
|
| 748 |
jpm |
233 |
}
|
| 453 |
jp_milcent |
234 |
}
|