Esempio n. 1
0
 public void setAuthorized(boolean authorized) {
   setStringProperty("AUTHORIZED", Boolean.toString(authorized));
 }
Esempio n. 2
0
 public boolean isAuthorized() {
   return Boolean.valueOf(getStringProperty("AUTHORIZED"));
 }
Esempio n. 3
0
  /** Whether this device code has been issued. */
  public boolean isIssued() {
    Set<String> issued = getParameter(ISSUED);

    return issued != null && Boolean.parseBoolean(issued.iterator().next());
  }