
@Entity(name="UserAccount") public class UserAccount extends Object implements Serializable, com.hack23.cia.model.common.api.ModelObject, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for UserAccount complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="UserAccount">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="modelObjectId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="modelObjectVersion" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="country" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="username" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="userId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="userpassword" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="numberOfVisits" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="address" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="userType" type="{http://user.application.internal.model.cia.hack23.com/impl}UserType" minOccurs="0"/>
<element name="userRole" type="{http://user.application.internal.model.cia.hack23.com/impl}UserRole" minOccurs="0"/>
<element name="createdDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="googleAuthKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="googleAuthVerificationCode" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="googleAuthScratchCodes" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
address |
protected String |
country |
protected Date |
createdDate |
protected String |
email |
protected String |
googleAuthKey |
protected List<Integer> |
googleAuthScratchCodes |
protected Integer |
googleAuthVerificationCode |
protected Long |
hjid |
protected Integer |
modelObjectId |
protected Integer |
modelObjectVersion |
protected Integer |
numberOfVisits |
protected String |
userId |
protected String |
username |
protected String |
userpassword |
protected UserRole |
userRole |
protected UserType |
userType |
| Constructor and Description |
|---|
UserAccount() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
List<String> |
getAddress()
Gets the value of the address property.
|
String |
getCountry()
Gets the value of the country property.
|
Date |
getCreatedDate()
Gets the value of the createdDate property.
|
String |
getEmail()
Gets the value of the email property.
|
String |
getGoogleAuthKey()
Gets the value of the googleAuthKey property.
|
List<Integer> |
getGoogleAuthScratchCodes()
Gets the value of the googleAuthScratchCodes property.
|
Integer |
getGoogleAuthVerificationCode()
Gets the value of the googleAuthVerificationCode property.
|
Long |
getHjid()
Gets the value of the hjid property.
|
Integer |
getModelObjectId()
Gets the value of the modelObjectId property.
|
Integer |
getModelObjectVersion()
Gets the value of the modelObjectVersion property.
|
Integer |
getNumberOfVisits()
Gets the value of the numberOfVisits property.
|
String |
getUserId()
Gets the value of the userId property.
|
String |
getUsername()
Gets the value of the username property.
|
String |
getUserpassword()
Gets the value of the userpassword property.
|
UserRole |
getUserRole()
Gets the value of the userRole property.
|
UserType |
getUserType()
Gets the value of the userType property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAddress(List<String> address) |
void |
setCountry(String value)
Sets the value of the country property.
|
void |
setCreatedDate(Date value)
Sets the value of the createdDate property.
|
void |
setEmail(String value)
Sets the value of the email property.
|
void |
setGoogleAuthKey(String value)
Sets the value of the googleAuthKey property.
|
void |
setGoogleAuthScratchCodes(List<Integer> googleAuthScratchCodes) |
void |
setGoogleAuthVerificationCode(Integer value)
Sets the value of the googleAuthVerificationCode property.
|
void |
setHjid(Long value)
Sets the value of the hjid property.
|
void |
setModelObjectId(Integer value)
Sets the value of the modelObjectId property.
|
void |
setModelObjectVersion(Integer value)
Sets the value of the modelObjectVersion property.
|
void |
setNumberOfVisits(Integer value)
Sets the value of the numberOfVisits property.
|
void |
setUserId(String value)
Sets the value of the userId property.
|
void |
setUsername(String value)
Sets the value of the username property.
|
void |
setUserpassword(String value)
Sets the value of the userpassword property.
|
void |
setUserRole(UserRole value)
Sets the value of the userRole property.
|
void |
setUserType(UserType value)
Sets the value of the userType property.
|
String |
toString() |
UserAccount |
withAddress(Collection<String> values) |
UserAccount |
withAddress(List<String> address) |
UserAccount |
withAddress(String... values) |
UserAccount |
withCountry(String value) |
UserAccount |
withCreatedDate(Date value) |
UserAccount |
withEmail(String value) |
UserAccount |
withGoogleAuthKey(String value) |
UserAccount |
withGoogleAuthScratchCodes(Collection<Integer> values) |
UserAccount |
withGoogleAuthScratchCodes(Integer... values) |
UserAccount |
withGoogleAuthScratchCodes(List<Integer> googleAuthScratchCodes) |
UserAccount |
withGoogleAuthVerificationCode(Integer value) |
UserAccount |
withModelObjectId(Integer value) |
UserAccount |
withModelObjectVersion(Integer value) |
UserAccount |
withNumberOfVisits(Integer value) |
UserAccount |
withUserId(String value) |
UserAccount |
withUsername(String value) |
UserAccount |
withUserpassword(String value) |
UserAccount |
withUserRole(UserRole value) |
UserAccount |
withUserType(UserType value) |
protected Integer modelObjectId
protected Integer modelObjectVersion
protected String country
protected String username
protected String email
protected String userId
protected String userpassword
protected Integer numberOfVisits
protected UserType userType
protected UserRole userRole
protected Date createdDate
protected String googleAuthKey
protected Integer googleAuthVerificationCode
protected Long hjid
public Integer getModelObjectId()
Integerpublic void setModelObjectId(Integer value)
value - allowed object is
Integerpublic Integer getModelObjectVersion()
Integerpublic void setModelObjectVersion(Integer value)
value - allowed object is
Integerpublic String getCountry()
Stringpublic void setCountry(String value)
value - allowed object is
Stringpublic String getUsername()
Stringpublic void setUsername(String value)
value - allowed object is
Stringpublic String getEmail()
Stringpublic void setEmail(String value)
value - allowed object is
Stringpublic String getUserId()
Stringpublic void setUserId(String value)
value - allowed object is
Stringpublic String getUserpassword()
Stringpublic void setUserpassword(String value)
value - allowed object is
Stringpublic Integer getNumberOfVisits()
Integerpublic void setNumberOfVisits(Integer value)
value - allowed object is
Integerpublic List<String> getAddress()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the address property.
For example, to add a new item, do as follows:
getAddress().add(newItem);
Objects of the following type(s) are allowed in the list
String
public UserType getUserType()
UserTypepublic void setUserType(UserType value)
value - allowed object is
UserTypepublic UserRole getUserRole()
UserRolepublic void setUserRole(UserRole value)
value - allowed object is
UserRolepublic Date getCreatedDate()
Stringpublic void setCreatedDate(Date value)
value - allowed object is
Stringpublic String getGoogleAuthKey()
Stringpublic void setGoogleAuthKey(String value)
value - allowed object is
Stringpublic Integer getGoogleAuthVerificationCode()
Integerpublic void setGoogleAuthVerificationCode(Integer value)
value - allowed object is
Integerpublic List<Integer> getGoogleAuthScratchCodes()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the googleAuthScratchCodes property.
For example, to add a new item, do as follows:
getGoogleAuthScratchCodes().add(newItem);
Objects of the following type(s) are allowed in the list
Integer
public void setGoogleAuthScratchCodes(List<Integer> googleAuthScratchCodes)
public UserAccount withModelObjectId(Integer value)
public UserAccount withModelObjectVersion(Integer value)
public UserAccount withCountry(String value)
public UserAccount withUsername(String value)
public UserAccount withEmail(String value)
public UserAccount withUserId(String value)
public UserAccount withUserpassword(String value)
public UserAccount withNumberOfVisits(Integer value)
public UserAccount withAddress(String... values)
public UserAccount withAddress(Collection<String> values)
public UserAccount withAddress(List<String> address)
public UserAccount withUserType(UserType value)
public UserAccount withUserRole(UserRole value)
public UserAccount withCreatedDate(Date value)
public UserAccount withGoogleAuthKey(String value)
public UserAccount withGoogleAuthVerificationCode(Integer value)
public UserAccount withGoogleAuthScratchCodes(Integer... values)
public UserAccount withGoogleAuthScratchCodes(Collection<Integer> values)
public UserAccount withGoogleAuthScratchCodes(List<Integer> googleAuthScratchCodes)
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic void setHjid(Long value)
value - allowed object is
Longpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodeCopyright © 2010–2017 www.hack23.com. All rights reserved.