Class UserAccount
java.lang.Object
com.hack23.cia.model.internal.application.user.impl.UserAccount
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,Serializable
@Entity(name="UserAccount")
public class UserAccount
extends 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:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Gets the value of the address property.Gets the value of the country property.Gets the value of the createdDate property.getEmail()
Gets the value of the email property.getHjid()
Gets the value of the hjid property.Gets the value of the modelObjectId property.int
Gets the value of the modelObjectVersion property.Gets the value of the numberOfVisits property.Gets the value of the userEmailStatus property.Gets the value of the userId property.Gets the value of the userLockStatus property.Gets the value of the username property.Gets the value of the userpassword property.Gets the value of the userRole property.Gets the value of the userType property.final int
hashCode()
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
Sets the value of the email property.void
Sets the value of the hjid property.void
setModelObjectId
(Integer value) Sets the value of the modelObjectId property.void
setModelObjectVersion
(int value) Sets the value of the modelObjectVersion property.void
setNumberOfVisits
(Integer value) Sets the value of the numberOfVisits property.void
Sets the value of the userEmailStatus property.void
Sets the value of the userId property.void
setUserLockStatus
(UserLockStatus value) Sets the value of the userLockStatus 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.final String
toString()
withAddress
(List<String> address) withCountry
(String value) withCreatedDate
(Date value) withModelObjectId
(Integer value) withModelObjectVersion
(int value) withNumberOfVisits
(Integer value) withUserId
(String value) withUserLockStatus
(UserLockStatus value) withUsername
(String value) withUserpassword
(String value) withUserRole
(UserRole value) withUserType
(UserType value)
-
Field Details
-
modelObjectId
-
modelObjectVersion
protected int modelObjectVersion -
country
-
username
-
email
-
userId
-
userpassword
-
numberOfVisits
-
address
-
userType
-
userRole
-
userLockStatus
-
userEmailStatus
-
createdDate
-
hjid
-
-
Constructor Details
-
UserAccount
public UserAccount()
-
-
Method Details
-
getModelObjectId
Gets the value of the modelObjectId property.- Returns:
- possible object is
Integer
-
setModelObjectId
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
Gets the value of the country property.- Returns:
- possible object is
String
-
setCountry
Sets the value of the country property.- Parameters:
value
- allowed object isString
-
getUsername
Gets the value of the username property.- Returns:
- possible object is
String
-
setUsername
Sets the value of the username property.- Parameters:
value
- allowed object isString
-
getEmail
Gets the value of the email property.- Returns:
- possible object is
String
-
setEmail
Sets the value of the email property.- Parameters:
value
- allowed object isString
-
getUserId
Gets the value of the userId property.- Returns:
- possible object is
String
-
setUserId
Sets the value of the userId property.- Parameters:
value
- allowed object isString
-
getUserpassword
Gets the value of the userpassword property.- Returns:
- possible object is
String
-
setUserpassword
Sets the value of the userpassword property.- Parameters:
value
- allowed object isString
-
getNumberOfVisits
Gets the value of the numberOfVisits property.- Returns:
- possible object is
Integer
-
setNumberOfVisits
Sets the value of the numberOfVisits property.- Parameters:
value
- allowed object isInteger
-
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
-
getUserType
Gets the value of the userType property.- Returns:
- possible object is
UserType
-
setUserType
Sets the value of the userType property.- Parameters:
value
- allowed object isUserType
-
getUserRole
Gets the value of the userRole property.- Returns:
- possible object is
UserRole
-
setUserRole
Sets the value of the userRole property.- Parameters:
value
- allowed object isUserRole
-
getUserLockStatus
Gets the value of the userLockStatus property.- Returns:
- possible object is
UserLockStatus
-
setUserLockStatus
Sets the value of the userLockStatus property.- Parameters:
value
- allowed object isUserLockStatus
-
getUserEmailStatus
Gets the value of the userEmailStatus property.- Returns:
- possible object is
UserEmailStatus
-
setUserEmailStatus
Sets the value of the userEmailStatus property.- Parameters:
value
- allowed object isUserEmailStatus
-
getCreatedDate
Gets the value of the createdDate property.- Returns:
- possible object is
String
-
setCreatedDate
Sets the value of the createdDate property.- Parameters:
value
- allowed object isString
-
withModelObjectId
-
withModelObjectVersion
-
withCountry
-
withUsername
-
withEmail
-
withUserId
-
withUserpassword
-
withNumberOfVisits
-
withAddress
-
withUserType
-
withUserRole
-
withUserLockStatus
-
withUserEmailStatus
-
withCreatedDate
-
toString
-
getHjid
Gets the value of the hjid property.- Returns:
- possible object is
Long
-
setHjid
Sets the value of the hjid property.- Parameters:
value
- allowed object isLong
-
equals
-
hashCode
public final int hashCode()
-