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); |