Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1692 → Rev 1693

/trunk/src/org/tela_botanica/client/modeles/structure/StructureConservation.java
48,11 → 48,14
}
// FORMATION
public String getFormation() {
return renvoyerValeurCorrecte("mark_formation");
public Integer getFormation() {
if (renvoyerValeurCorrecte("mark_formation").equals("")) {
return null;
}
return Integer.parseInt(renvoyerValeurCorrecte("mark_formation"));
}
public void setFormation(String f) {
this.set("mark_formation", f);
this.set("mark_formation", f != null ? Integer.parseInt(f) : null);
}
// FORMATION INFO
64,11 → 67,14
}
// FORMATION INTÉRÊT
public String getFormationInteret() {
return renvoyerValeurCorrecte("mark_formation_interet");
public Integer getFormationInteret() {
if (renvoyerValeurCorrecte("mark_formation_interet").equals("")) {
return null;
}
return Integer.parseInt(renvoyerValeurCorrecte("mark_formation_interet"));
}
public void setFormationInteret(String f) {
this.set("mark_formation_interet", f);
this.set("mark_formation_interet", f != null ? Integer.parseInt(f) : null);
}
// STOCKAGE LOCAL
233,4 → 239,4
public void setAcquisitionTraitementInsecte(String type, Object valeur) {
ajouterChaineDenormaliseAvecType("truk_acquisition_traitement_insecte", type, valeur);
}
}
}