Class 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 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
      • createdDate

        protected java.util.Date createdDate
      • hjid

        protected java.lang.Long hjid
    • Constructor Detail

      • UserAccount

        public UserAccount()
    • 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 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 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 is String
      • 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 is String
      • 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 is String
      • 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 is String
      • 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 is String
      • 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 is Integer
      • 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 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 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 is String
      • 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)
      • withCreatedDate

        public UserAccount withCreatedDate​(java.util.Date value)
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.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 is Long
      • equals

        public final boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object