示例#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());
  }