예제 #1
0
 public void setAuthorized(boolean authorized) {
   setStringProperty("AUTHORIZED", Boolean.toString(authorized));
 }
예제 #2
0
 public boolean isAuthorized() {
   return Boolean.valueOf(getStringProperty("AUTHORIZED"));
 }
예제 #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());
  }