Class Customer

  • All Implemented Interfaces:
    java.io.Serializable

    public class Customer
    extends java.lang.Object
    implements java.io.Serializable
    This is the business class for the object Customer.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Customer()
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addAttributes​(java.lang.String strName, java.lang.String strValue)
      Adds an attribute
      java.lang.String getAccountLogin()
      Returns the AccountLogin.
      java.lang.String getAttribute​(java.lang.String strName)
      Gives the attribute with the specified name
      java.util.Collection<java.lang.String> getAttributeNames()
      Gives all the attribute names
      java.lang.String getBirthDate()
      Returns the birthDate.
      java.lang.String getConnectionId()
      Returns the connection Id.
      java.lang.String getCustomerId()
      Returns the Customer Id.
      java.lang.String getEmail()
      Returns the Email.
      java.lang.String getExtrasAttributes()
      Returns the ExtrasAttributes.
      java.lang.String getFamilyname()
      Returns the Familyname.
      java.lang.String getFirstname()
      Returns the Firstname.
      java.lang.String getFixedPhoneNumber()
      Gets the fixe phone.
      boolean getHasAccount()
      Returns the HasAccount.
      java.lang.String getId()
      Returns the Id.
      int getIdTitle()
      Returns the IdTitle.
      boolean getIsEmailVerified()
      Returns the IsEmailVerified.
      boolean getIsMobilePhoneVerified()
      Returns the IsMobilePhoneVerified.
      java.lang.String getLastname()
      Returns the Lastname.
      java.lang.String getMobilePhone()
      Returns the MobilePhone.
      void setAccountLogin​(java.lang.String strAccountLogin)
      Sets the AccountLogin.
      void setBirthDate​(java.lang.String strBirthDate)
      Sets the birthDate.
      void setConnectionId​(java.lang.String strConnectionId)
      Sets the connection id.
      void setCustomerId​(java.lang.String strCustomerId)
      Sets the Customer id.
      void setEmail​(java.lang.String strEmail)
      Sets the Email.
      void setExtrasAttributes​(java.lang.String strExtrasAttributes)
      Sets the ExtrasAttributes.
      void setFamilyname​(java.lang.String strFamilyname)
      Sets the Familyname.
      void setFirstname​(java.lang.String strFirstname)
      Sets the Firstname.
      void setFixedPhoneNumber​(java.lang.String strFixedPhoneNumber)
      Sets the fixe phone.
      void setHasAccount​(boolean bHasAccount)
      Sets the HasAccount.
      void setId​(java.lang.String strId)
      Sets the Id.
      void setIdTitle​(int nIdTitle)
      Sets the IdTitle.
      void setIsEmailVerified​(boolean bIsEmailVerified)
      Sets the IsEmailVerified.
      void setIsMobilePhoneVerified​(boolean bIsMobilePhoneVerified)
      Sets the IsMobilePhoneVerified.
      void setLastname​(java.lang.String strLastname)
      Sets the Lastname.
      void setMobilePhone​(java.lang.String strMobilePhone)
      Sets the MobilePhone.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Customer

        public Customer()
        Constructor
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns the Id.
        Returns:
        The Id
      • setId

        public void setId​(java.lang.String strId)
        Sets the Id.
        Parameters:
        strId - The Id
      • getIdTitle

        public int getIdTitle()
        Returns the IdTitle.
        Returns:
        The IdTitle
      • setIdTitle

        public void setIdTitle​(int nIdTitle)
        Sets the IdTitle.
        Parameters:
        nIdTitle - The IdTitle
      • getFirstname

        public java.lang.String getFirstname()
        Returns the Firstname.
        Returns:
        The Firstname
      • setFirstname

        public void setFirstname​(java.lang.String strFirstname)
        Sets the Firstname.
        Parameters:
        strFirstname - The Firstname
      • getLastname

        public java.lang.String getLastname()
        Returns the Lastname.
        Returns:
        The Lastname
      • setLastname

        public void setLastname​(java.lang.String strLastname)
        Sets the Lastname.
        Parameters:
        strLastname - The Lastname
      • getFamilyname

        public java.lang.String getFamilyname()
        Returns the Familyname.
        Returns:
        The Familyname
      • setFamilyname

        public void setFamilyname​(java.lang.String strFamilyname)
        Sets the Familyname.
        Parameters:
        strFamilyname - The Familyname
      • getHasAccount

        public boolean getHasAccount()
        Returns the HasAccount.
        Returns:
        The HasAccount
      • setHasAccount

        public void setHasAccount​(boolean bHasAccount)
        Sets the HasAccount.
        Parameters:
        bHasAccount - The HasAccount
      • getAccountLogin

        public java.lang.String getAccountLogin()
        Returns the AccountLogin.
        Returns:
        The AccountLogin
      • setAccountLogin

        public void setAccountLogin​(java.lang.String strAccountLogin)
        Sets the AccountLogin.
        Parameters:
        strAccountLogin - The AccountLogin
      • getConnectionId

        public java.lang.String getConnectionId()
        Returns the connection Id.
        Returns:
        The connection Id
      • setConnectionId

        public void setConnectionId​(java.lang.String strConnectionId)
        Sets the connection id.
        Parameters:
        strConnectionId - The Connection Id
      • getCustomerId

        public java.lang.String getCustomerId()
        Returns the Customer Id.
        Returns:
        The Customer Id
      • setCustomerId

        public void setCustomerId​(java.lang.String strCustomerId)
        Sets the Customer id.
        Parameters:
        strCustomerId - The Customer Id
      • getEmail

        public java.lang.String getEmail()
        Returns the Email.
        Returns:
        The Email
      • setEmail

        public void setEmail​(java.lang.String strEmail)
        Sets the Email.
        Parameters:
        strEmail - The Email
      • getIsEmailVerified

        public boolean getIsEmailVerified()
        Returns the IsEmailVerified.
        Returns:
        The IsEmailVerified
      • setIsEmailVerified

        public void setIsEmailVerified​(boolean bIsEmailVerified)
        Sets the IsEmailVerified.
        Parameters:
        bIsEmailVerified - The IsEmailVerified
      • getMobilePhone

        public java.lang.String getMobilePhone()
        Returns the MobilePhone.
        Returns:
        The MobilePhone
      • setMobilePhone

        public void setMobilePhone​(java.lang.String strMobilePhone)
        Sets the MobilePhone.
        Parameters:
        strMobilePhone - The MobilePhone
      • getFixedPhoneNumber

        public java.lang.String getFixedPhoneNumber()
        Gets the fixe phone.
        Returns:
        the fixe phone
      • setFixedPhoneNumber

        public void setFixedPhoneNumber​(java.lang.String strFixedPhoneNumber)
        Sets the fixe phone.
        Parameters:
        strFixedPhoneNumber - the new fixe phone
      • getIsMobilePhoneVerified

        public boolean getIsMobilePhoneVerified()
        Returns the IsMobilePhoneVerified.
        Returns:
        The IsMobilePhoneVerified
      • setIsMobilePhoneVerified

        public void setIsMobilePhoneVerified​(boolean bIsMobilePhoneVerified)
        Sets the IsMobilePhoneVerified.
        Parameters:
        bIsMobilePhoneVerified - The IsMobilePhoneVerified
      • getExtrasAttributes

        public java.lang.String getExtrasAttributes()
        Returns the ExtrasAttributes.
        Returns:
        The ExtrasAttributes
      • setExtrasAttributes

        public void setExtrasAttributes​(java.lang.String strExtrasAttributes)
        Sets the ExtrasAttributes.
        Parameters:
        strExtrasAttributes - The ExtrasAttributes
      • getBirthDate

        public java.lang.String getBirthDate()
        Returns the birthDate.
        Returns:
        The birthDate
      • setBirthDate

        public void setBirthDate​(java.lang.String strBirthDate)
        Sets the birthDate.
        Parameters:
        strBirthDate - The birthDate
      • addAttributes

        public void addAttributes​(java.lang.String strName,
                                  java.lang.String strValue)
        Adds an attribute
        Parameters:
        strName - the attribute name
        strValue - the attribute value
      • getAttribute

        public java.lang.String getAttribute​(java.lang.String strName)
        Gives the attribute with the specified name
        Parameters:
        strName - the attribute name
        Returns:
        the attribute or null if the attribute does not exist
      • getAttributeNames

        public java.util.Collection<java.lang.String> getAttributeNames()
        Gives all the attribute names
        Returns:
        the attributes names