Class UserAccount
- java.lang.Object
-
- com.hack23.cia.model.internal.application.user.impl.UserAccount
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="UserAccount") public class UserAccount extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
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"/> <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="userLockStatus" type="{http://user.application.internal.model.cia.hack23.com/impl}UserLockStatus" minOccurs="0"/> <element name="userEmailStatus" type="{http://user.application.internal.model.cia.hack23.com/impl}UserEmailStatus" minOccurs="0"/> <element name="createdDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.String>
address
protected java.lang.String
country
protected java.util.Date
createdDate
protected java.lang.String
email
protected java.lang.Long
hjid
protected java.lang.Integer
modelObjectId
protected int
modelObjectVersion
protected java.lang.Integer
numberOfVisits
protected UserEmailStatus
userEmailStatus
protected java.lang.String
userId
protected UserLockStatus
userLockStatus
protected java.lang.String
username
protected java.lang.String
userpassword
protected UserRole
userRole
protected UserType
userType
-
Constructor Summary
Constructors Constructor Description UserAccount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List<java.lang.String>
getAddress()
Gets the value of the address property.java.lang.String
getCountry()
Gets the value of the country property.java.util.Date
getCreatedDate()
Gets the value of the createdDate property.java.lang.String
getEmail()
Gets the value of the email property.java.lang.Long
getHjid()
Gets the value of the hjid property.java.lang.Integer
getModelObjectId()
Gets the value of the modelObjectId property.int
getModelObjectVersion()
Gets the value of the modelObjectVersion property.java.lang.Integer
getNumberOfVisits()
Gets the value of the numberOfVisits property.UserEmailStatus
getUserEmailStatus()
Gets the value of the userEmailStatus property.java.lang.String
getUserId()
Gets the value of the userId property.UserLockStatus
getUserLockStatus()
Gets the value of the userLockStatus property.java.lang.String
getUsername()
Gets the value of the username property.java.lang.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()
void
setAddress(java.util.List<java.lang.String> address)
void
setCountry(java.lang.String value)
Sets the value of the country property.void
setCreatedDate(java.util.Date value)
Sets the value of the createdDate property.void
setEmail(java.lang.String value)
Sets the value of the email property.void
setHjid(java.lang.Long value)
Sets the value of the hjid property.void
setModelObjectId(java.lang.Integer value)
Sets the value of the modelObjectId property.void
setModelObjectVersion(int value)
Sets the value of the modelObjectVersion property.void
setNumberOfVisits(java.lang.Integer value)
Sets the value of the numberOfVisits property.void
setUserEmailStatus(UserEmailStatus value)
Sets the value of the userEmailStatus property.void
setUserId(java.lang.String value)
Sets the value of the userId property.void
setUserLockStatus(UserLockStatus value)
Sets the value of the userLockStatus property.void
setUsername(java.lang.String value)
Sets the value of the username property.void
setUserpassword(java.lang.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.java.lang.String
toString()
UserAccount
withAddress(java.util.List<java.lang.String> address)
UserAccount
withCountry(java.lang.String value)
UserAccount
withCreatedDate(java.util.Date value)
UserAccount
withEmail(java.lang.String value)
UserAccount
withModelObjectId(java.lang.Integer value)
UserAccount
withModelObjectVersion(int value)
UserAccount
withNumberOfVisits(java.lang.Integer value)
UserAccount
withUserEmailStatus(UserEmailStatus value)
UserAccount
withUserId(java.lang.String value)
UserAccount
withUserLockStatus(UserLockStatus value)
UserAccount
withUsername(java.lang.String value)
UserAccount
withUserpassword(java.lang.String value)
UserAccount
withUserRole(UserRole value)
UserAccount
withUserType(UserType value)
-
-
-
Field Detail
-
modelObjectId
protected java.lang.Integer modelObjectId
-
modelObjectVersion
protected int modelObjectVersion
-
country
protected java.lang.String country
-
username
protected java.lang.String username
-
email
protected java.lang.String email
-
userId
protected java.lang.String userId
-
userpassword
protected java.lang.String userpassword
-
numberOfVisits
protected java.lang.Integer numberOfVisits
-
address
protected java.util.List<java.lang.String> address
-
userType
protected UserType userType
-
userRole
protected UserRole userRole
-
userLockStatus
protected UserLockStatus userLockStatus
-
userEmailStatus
protected UserEmailStatus userEmailStatus
-
createdDate
protected java.util.Date createdDate
-
hjid
protected java.lang.Long hjid
-
-
Method Detail
-
getModelObjectId
public java.lang.Integer getModelObjectId()
Gets the value of the modelObjectId property.- Returns:
- possible object is
Integer
-
setModelObjectId
public void setModelObjectId(java.lang.Integer value)
Sets the value of the modelObjectId property.- Parameters:
value
- allowed object isInteger
-
getModelObjectVersion
public int getModelObjectVersion()
Gets the value of the modelObjectVersion property.
-
setModelObjectVersion
public void setModelObjectVersion(int value)
Sets the value of the modelObjectVersion property.
-
getCountry
public java.lang.String getCountry()
Gets the value of the country property.- Returns:
- possible object is
String
-
setCountry
public void setCountry(java.lang.String value)
Sets the value of the country property.- Parameters:
value
- allowed object isString
-
getUsername
public java.lang.String getUsername()
Gets the value of the username property.- Returns:
- possible object is
String
-
setUsername
public void setUsername(java.lang.String value)
Sets the value of the username property.- Parameters:
value
- allowed object isString
-
getEmail
public java.lang.String getEmail()
Gets the value of the email property.- Returns:
- possible object is
String
-
setEmail
public void setEmail(java.lang.String value)
Sets the value of the email property.- Parameters:
value
- allowed object isString
-
getUserId
public java.lang.String getUserId()
Gets the value of the userId property.- Returns:
- possible object is
String
-
setUserId
public void setUserId(java.lang.String value)
Sets the value of the userId property.- Parameters:
value
- allowed object isString
-
getUserpassword
public java.lang.String getUserpassword()
Gets the value of the userpassword property.- Returns:
- possible object is
String
-
setUserpassword
public void setUserpassword(java.lang.String value)
Sets the value of the userpassword property.- Parameters:
value
- allowed object isString
-
getNumberOfVisits
public java.lang.Integer getNumberOfVisits()
Gets the value of the numberOfVisits property.- Returns:
- possible object is
Integer
-
setNumberOfVisits
public void setNumberOfVisits(java.lang.Integer value)
Sets the value of the numberOfVisits property.- Parameters:
value
- allowed object isInteger
-
getAddress
public java.util.List<java.lang.String> getAddress()
Gets the value of the address property.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
-
setAddress
public void setAddress(java.util.List<java.lang.String> address)
-
getUserType
public UserType getUserType()
Gets the value of the userType property.- Returns:
- possible object is
UserType
-
setUserType
public void setUserType(UserType value)
Sets the value of the userType property.- Parameters:
value
- allowed object isUserType
-
getUserRole
public UserRole getUserRole()
Gets the value of the userRole property.- Returns:
- possible object is
UserRole
-
setUserRole
public void setUserRole(UserRole value)
Sets the value of the userRole property.- Parameters:
value
- allowed object isUserRole
-
getUserLockStatus
public UserLockStatus getUserLockStatus()
Gets the value of the userLockStatus property.- Returns:
- possible object is
UserLockStatus
-
setUserLockStatus
public void setUserLockStatus(UserLockStatus value)
Sets the value of the userLockStatus property.- Parameters:
value
- allowed object isUserLockStatus
-
getUserEmailStatus
public UserEmailStatus getUserEmailStatus()
Gets the value of the userEmailStatus property.- Returns:
- possible object is
UserEmailStatus
-
setUserEmailStatus
public void setUserEmailStatus(UserEmailStatus value)
Sets the value of the userEmailStatus property.- Parameters:
value
- allowed object isUserEmailStatus
-
getCreatedDate
public java.util.Date getCreatedDate()
Gets the value of the createdDate property.- Returns:
- possible object is
String
-
setCreatedDate
public void setCreatedDate(java.util.Date value)
Sets the value of the createdDate property.- Parameters:
value
- allowed object isString
-
withModelObjectId
public UserAccount withModelObjectId(java.lang.Integer value)
-
withModelObjectVersion
public UserAccount withModelObjectVersion(int value)
-
withCountry
public UserAccount withCountry(java.lang.String value)
-
withUsername
public UserAccount withUsername(java.lang.String value)
-
withEmail
public UserAccount withEmail(java.lang.String value)
-
withUserId
public UserAccount withUserId(java.lang.String value)
-
withUserpassword
public UserAccount withUserpassword(java.lang.String value)
-
withNumberOfVisits
public UserAccount withNumberOfVisits(java.lang.Integer value)
-
withAddress
public UserAccount withAddress(java.util.List<java.lang.String> address)
-
withUserType
public UserAccount withUserType(UserType value)
-
withUserRole
public UserAccount withUserRole(UserRole value)
-
withUserLockStatus
public UserAccount withUserLockStatus(UserLockStatus value)
-
withUserEmailStatus
public UserAccount withUserEmailStatus(UserEmailStatus value)
-
withCreatedDate
public UserAccount withCreatedDate(java.util.Date value)
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getHjid
public java.lang.Long getHjid()
Gets the value of the hjid property.- Returns:
- possible object is
Long
-
setHjid
public void setHjid(java.lang.Long value)
Sets the value of the hjid property.- Parameters:
value
- allowed object isLong
-
equals
public final boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-