35,7 → 35,9 |
} |
|
public void setRechercheLibre(String rechercheLibre) { |
this.rechercheLibre = rechercheLibre; |
if (rechercheLibre != null) { |
this.rechercheLibre = rechercheLibre; |
} |
} |
|
public String getDepartement() { |
43,7 → 45,9 |
} |
|
public void setDepartement(String departement) { |
this.departement = departement; |
if (departement != null) { |
this.departement = departement; |
} |
} |
|
public String getTaxon() { |
51,7 → 55,9 |
} |
|
public void setTaxon(String taxon) { |
this.taxon = taxon; |
if (taxon != null) { |
this.taxon = taxon; |
} |
} |
|
public String getGenre() { |
59,7 → 65,9 |
} |
|
public void setGenre(String genre) { |
this.genre = genre; |
if (genre != null) { |
this.genre = genre; |
} |
} |
|
public String getMotClef() { |
67,7 → 75,9 |
} |
|
public void setMotClef(String motClef) { |
this.motClef = motClef; |
if (motClef != null) { |
this.motClef = motClef; |
} |
} |
|
public String getDate() { |
75,7 → 85,9 |
} |
|
public void setDate(String date) { |
this.date = date; |
if (date != null) { |
this.date = date; |
} |
} |
|
public String getCommune() { |
83,15 → 95,16 |
} |
|
public void setCommune(String commune) { |
String[] tableauCommuneDpt = commune.split(" "); |
if (tableauCommuneDpt.length == 2) { |
String dpt = tableauCommuneDpt[1].replaceAll("\\(", "").replaceAll("\\)", ""); |
setDepartement(dpt); |
this.commune = tableauCommuneDpt[0]; |
} else { |
this.commune = commune; |
if (commune != null) { |
String[] tableauCommuneDpt = commune.split(" "); |
if (tableauCommuneDpt.length == 2) { |
String dpt = tableauCommuneDpt[1].replaceAll("\\(", "").replaceAll("\\)", ""); |
setDepartement(dpt); |
this.commune = tableauCommuneDpt[0]; |
} else { |
this.commune = commune; |
} |
} |
|
} |
|
public String getFamille() { |
99,7 → 112,9 |
} |
|
public void setFamille(String famille) { |
this.famille = famille; |
if (famille != null) { |
this.famille = famille; |
} |
} |
|
public String getTag() { |
107,7 → 122,9 |
} |
|
public void setTag(String tag) { |
this.tag = tag; |
if (tag != null) { |
this.tag = tag; |
} |
} |
|
public String getAuteur() { |
115,7 → 132,9 |
} |
|
public void setAuteur(String auteur) { |
this.auteur = auteur; |
if (auteur != null) { |
this.auteur = auteur; |
} |
} |
|
public ModeTri getTriParNbVotes() { |