If you think the Android project loopback-sdk-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code
package com.strongloop.android.loopback;
//www.java2s.comimport java.util.Map;
import com.strongloop.android.remoting.Repository;
/**
* A local representative of a single user instance on the server. Derived from Model,
* the data is immediately accessible locally, but can be saved, destroyed, etc. from the
* server easily.
*/publicclass User extends Model {
private String realm;
private String email;
private String password;
private Boolean emailVerified;
private String status;
public User(Repository repository,
Map<String, ? extends Object> creationParameters) {
super(repository, creationParameters);
}
public User() {
this(null, null);
}
publicvoid setRealm(String realm) {
this.realm = realm;
}
public String getRealm() {
return realm;
}
publicvoid setEmail(String email) {
this.email = email;
}
public String getEmail() {
return email;
}
publicvoid setPassword(String password) {
this.password = password;
}
public String getPassword() {
return password;
}
publicvoid setEmailVerified(Boolean emailVerified) {
this.emailVerified = emailVerified;
}
public Boolean getEmailVerified() {
return emailVerified;
}
publicvoid setStatus(String status) {
this.status = status;
}
public String getStatus() {
return status;
}
}