public void setAuthorized(boolean authorized) { setStringProperty("AUTHORIZED", Boolean.toString(authorized)); }
public boolean isAuthorized() { return Boolean.valueOf(getStringProperty("AUTHORIZED")); }
/** Whether this device code has been issued. */ public boolean isIssued() { Set<String> issued = getParameter(ISSUED); return issued != null && Boolean.parseBoolean(issued.iterator().next()); }