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 Details

    • modelObjectId

      protected Integer modelObjectId
    • modelObjectVersion

      protected int modelObjectVersion
    • country

      protected String country
    • username

      protected String username
    • email

      protected String email
    • userId

      protected String userId
    • userpassword

      protected String userpassword
    • numberOfVisits

      protected Integer numberOfVisits
    • address

      protected List<String> address
    • userType

      protected UserType userType
    • userRole

      protected UserRole userRole
    • userLockStatus

      protected UserLockStatus userLockStatus
    • userEmailStatus

      protected UserEmailStatus userEmailStatus
    • createdDate

      protected Date createdDate
    • hjid

      protected Long hjid
  • Constructor Details

    • UserAccount

      public UserAccount()
  • Method Details

    • getModelObjectId

      public Integer getModelObjectId()
      Gets the value of the modelObjectId property.
      Returns:
      possible object is Integer
    • setModelObjectId

      public void setModelObjectId(Integer value)
      Sets the value of the modelObjectId property.
      Parameters:
      value - allowed object is Integer
    • 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 String getCountry()
      Gets the value of the country property.
      Returns:
      possible object is String
    • setCountry

      public void setCountry(String value)
      Sets the value of the country property.
      Parameters:
      value - allowed object is String
    • getUsername

      public String getUsername()
      Gets the value of the username property.
      Returns:
      possible object is String
    • setUsername

      public void setUsername(String value)
      Sets the value of the username property.
      Parameters:
      value - allowed object is String
    • getEmail

      public String getEmail()
      Gets the value of the email property.
      Returns:
      possible object is String
    • setEmail

      public void setEmail(String value)
      Sets the value of the email property.
      Parameters:
      value - allowed object is String
    • getUserId

      public String getUserId()
      Gets the value of the userId property.
      Returns:
      possible object is String
    • setUserId

      public void setUserId(String value)
      Sets the value of the userId property.
      Parameters:
      value - allowed object is String
    • getUserpassword

      public String getUserpassword()
      Gets the value of the userpassword property.
      Returns:
      possible object is String
    • setUserpassword

      public void setUserpassword(String value)
      Sets the value of the userpassword property.
      Parameters:
      value - allowed object is String
    • getNumberOfVisits

      public Integer getNumberOfVisits()
      Gets the value of the numberOfVisits property.
      Returns:
      possible object is Integer
    • setNumberOfVisits

      public void setNumberOfVisits(Integer value)
      Sets the value of the numberOfVisits property.
      Parameters:
      value - allowed object is Integer
    • getAddress

      public List<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(List<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 is UserType
    • 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 is UserRole
    • 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 is UserLockStatus
    • 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 is UserEmailStatus
    • getCreatedDate

      public Date getCreatedDate()
      Gets the value of the createdDate property.
      Returns:
      possible object is String
    • setCreatedDate

      public void setCreatedDate(Date value)
      Sets the value of the createdDate property.
      Parameters:
      value - allowed object is String
    • withModelObjectId

      public UserAccount withModelObjectId(Integer value)
    • withModelObjectVersion

      public UserAccount withModelObjectVersion(int value)
    • withCountry

      public UserAccount withCountry(String value)
    • withUsername

      public UserAccount withUsername(String value)
    • withEmail

      public UserAccount withEmail(String value)
    • withUserId

      public UserAccount withUserId(String value)
    • withUserpassword

      public UserAccount withUserpassword(String value)
    • withNumberOfVisits

      public UserAccount withNumberOfVisits(Integer value)
    • withAddress

      public UserAccount withAddress(List<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(Date value)
    • toString

      public final String toString()
      Overrides:
      toString in class Object
    • getHjid

      public Long getHjid()
      Gets the value of the hjid property.
      Returns:
      possible object is Long
    • setHjid

      public void setHjid(Long value)
      Sets the value of the hjid property.
      Parameters:
      value - allowed object is Long
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object