public class User extends Object implements Serializable
| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword()
Returns the value of field 'password'.
|
String |
getRoles()
Returns the value of field 'roles'.
|
String |
getUsername()
Returns the value of field 'username'.
|
boolean |
isValid() |
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setPassword(String password)
Sets the value of field 'password'.
|
void |
setRoles(String roles)
Sets the value of field 'roles'.
|
void |
setUsername(String username)
Sets the value of field 'username'.
|
static User |
unmarshal(Reader reader) |
void |
validate() |
public String getPassword()
public String getRoles()
public String getUsername()
public boolean isValid()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out - org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler - IOExceptionorg.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void setPassword(String password)
password - the value of field 'password'.public void setRoles(String roles)
roles - the value of field 'roles'.public void setUsername(String username)
username - the value of field 'username'.public static User unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader - org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationExceptionCopyright © 2016. All rights reserved.