public class LoginCredential extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="admin" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="username" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<choice minOccurs="0">
<element name="password" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="verificationCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</choice>
<element name="remember" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| 限定符和类型 | 字段和说明 |
|---|---|
protected Boolean |
admin |
protected String |
password |
protected Boolean |
remember |
protected String |
username |
protected String |
verificationCode |
| 构造器和说明 |
|---|
LoginCredential() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getPassword()
Gets the value of the password property.
|
String |
getUsername()
Gets the value of the username property.
|
String |
getVerificationCode()
Gets the value of the verificationCode property.
|
Boolean |
isAdmin()
Gets the value of the admin property.
|
Boolean |
isRemember()
Gets the value of the remember property.
|
void |
setAdmin(Boolean value)
Sets the value of the admin property.
|
void |
setPassword(String value)
Sets the value of the password property.
|
void |
setRemember(Boolean value)
Sets the value of the remember property.
|
void |
setUsername(String value)
Sets the value of the username property.
|
void |
setVerificationCode(String value)
Sets the value of the verificationCode property.
|
protected Boolean admin
protected String username
protected String password
protected String verificationCode
protected Boolean remember
public Boolean isAdmin()
Booleanpublic void setAdmin(Boolean value)
value - allowed object is
Booleanpublic String getUsername()
Stringpublic void setUsername(String value)
value - allowed object is
Stringpublic String getPassword()
Stringpublic void setPassword(String value)
value - allowed object is
Stringpublic String getVerificationCode()
Stringpublic void setVerificationCode(String value)
value - allowed object is
Stringpublic Boolean isRemember()
BooleanCopyright © 2019. All rights reserved.