com.openfin.desktop.Identity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openfin-desktop-java-adapter Show documentation
Show all versions of openfin-desktop-java-adapter Show documentation
The Java API for OpenFin Runtime
package com.openfin.desktop;
import org.json.JSONObject;
public class Identity extends JsonBean {
public Identity() {
}
public Identity(JSONObject json) {
super(json);
}
public Identity(String uuid, String name) {
this.setUuid(uuid);
this.setName(name);
}
public String getUuid() {
return this.getString("uuid");
}
public void setUuid(String uuid) {
this.setString("uuid", uuid);
}
public String getName() {
return this.getString("name");
}
public void setName(String name) {
this.setString("name", name);
}
}