Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1197 → Rev 1329

/trunk/src/org/tela_botanica/client/modeles/Utilisateur.java
149,7 → 149,7
* @return boolean
*/
public boolean isIdentifie() {
if (get("identifie").equals(true) && getLicence().equals("1")) {
if (get("identifie").equals(true)) {
return true;
} else {
return false;
159,7 → 159,15
public void setIdentification(Boolean bool) {
set("identifie", bool);
}
 
public boolean avoirLicenceAcceptee() {
if (getLicence().equals("1")) {
return true;
} else {
return false;
}
}
 
// LICENCE ACCEPTÉE
public void setLicence(String licence) {
this.set("licenceAcceptee", licence);