Line 1... |
Line 1... |
1 |
package org.tela_botanica.client.vues.collection;
|
1 |
package org.tela_botanica.client.vues.collection;
|
Line 2... |
Line 2... |
2 |
|
2 |
|
Line -... |
Line 3... |
- |
|
3 |
import java.util.ArrayList;
|
3 |
import java.util.ArrayList;
|
4 |
|
4 |
|
5 |
import org.tela_botanica.client.Coel;
|
5 |
import org.tela_botanica.client.ComposantClass;
|
6 |
import org.tela_botanica.client.ComposantClass;
|
6 |
import org.tela_botanica.client.Mediateur;
|
7 |
import org.tela_botanica.client.Mediateur;
|
7 |
import org.tela_botanica.client.composants.ChampCaseACocher;
|
8 |
import org.tela_botanica.client.composants.ChampCaseACocher;
|
Line 314... |
Line 315... |
314 |
|
315 |
|
315 |
descriptionChp.setValue(collection.getDescription());
|
316 |
descriptionChp.setValue(collection.getDescription());
|
316 |
historiqueChp.setValue(collection.getHistorique());
|
317 |
historiqueChp.setValue(collection.getHistorique());
|
Line 317... |
Line 318... |
317 |
urlsChp.peupler(collection.getUrls());
|
318 |
urlsChp.peupler(collection.getUrls());
|
318 |
|
319 |
|
319 |
if(!collection.getPeriodeConstitutionDebut().equals("0")) {
|
320 |
if(!collection.getPeriodeConstitutionDebut().equals("")) {
|
320 |
periodeConstitutionDebutChp.setValue((Integer.parseInt(collection.getPeriodeConstitutionDebut())));
|
321 |
periodeConstitutionDebutChp.setValue((Integer.parseInt(collection.getPeriodeConstitutionDebut())));
|
321 |
}
|
322 |
}
|
322 |
if(!collection.getPeriodeConstitutionFin().equals("0")) {
|
323 |
if(!collection.getPeriodeConstitutionFin().equals("")) {
|
323 |
periodeConstitutionFinChp.setValue((Integer.parseInt(collection.getPeriodeConstitutionFin())));
|
324 |
periodeConstitutionFinChp.setValue((Integer.parseInt(collection.getPeriodeConstitutionFin())));
|
Line 324... |
Line 325... |
324 |
}
|
325 |
}
|
Line 350... |
Line 351... |
350 |
collectionCollectee.setCode(codesAlternatifsChp.getValeurs());
|
351 |
collectionCollectee.setCode(codesAlternatifsChp.getValeurs());
|
Line 351... |
Line 352... |
351 |
|
352 |
|
352 |
collectionCollectee.setDescription(descriptionChp.getValue());
|
353 |
collectionCollectee.setDescription(descriptionChp.getValue());
|
353 |
collectionCollectee.setHistorique(historiqueChp.getValue());
|
354 |
collectionCollectee.setHistorique(historiqueChp.getValue());
|
354 |
collectionCollectee.setUrls(urlsChp.getValeurs());
|
355 |
collectionCollectee.setUrls(urlsChp.getValeurs());
|
355 |
|
356 |
|
356 |
collectionCollectee.setPeriodeConstitutionDebut((Integer) periodeConstitutionDebutChp.getValue());
|
357 |
collectionCollectee.setPeriodeConstitutionDebut("" + periodeConstitutionDebutChp.getValue());
|
357 |
collectionCollectee.setPeriodeConstitutionFin((Integer) periodeConstitutionFinChp.getValue());
|
358 |
collectionCollectee.setPeriodeConstitutionFin("" + periodeConstitutionFinChp.getValue());
|
Line 358... |
Line 359... |
358 |
collectionCollectee.setCouvertureLieu(lieuCouvertureChp.getValeurs());
|
359 |
collectionCollectee.setCouvertureLieu(lieuCouvertureChp.getValeurs());
|
359 |
|
360 |
|
360 |
collectionCollectee.setSpecimenType(specimenTypeCombo.getValeur());
|
361 |
collectionCollectee.setSpecimenType(specimenTypeCombo.getValeur());
|