Class Account

java.lang.Object
org.mybatis.jpetstore.domain.Account
All Implemented Interfaces:
Serializable

public class Account extends Object implements Serializable
The Class Account.
Author:
Eduardo Macarron
See Also:
  • Constructor Details

    • Account

      public Account()
  • Method Details

    • getUsername

      public String getUsername()
      Gets the username.
      Returns:
      the username
    • setUsername

      public void setUsername(String username)
      Sets the username.
      Parameters:
      username - the username
    • getPassword

      public String getPassword()
      Gets the password.
      Returns:
      the password
    • setPassword

      public void setPassword(String password)
      Sets the password.
      Parameters:
      password - the password
    • getEmail

      public String getEmail()
      Gets the email.
      Returns:
      the email
    • setEmail

      public void setEmail(String email)
      Sets the email.
      Parameters:
      email - the email
    • getFirstName

      public String getFirstName()
      Gets the first name.
      Returns:
      the first name
    • setFirstName

      @Validate(required=true, on={"newAccount","editAccount"}) public void setFirstName(String firstName)
      Sets the first name.
      Parameters:
      firstName - the first name
    • getLastName

      public String getLastName()
      Gets the last name.
      Returns:
      the last name
    • setLastName

      @Validate(required=true, on={"newAccount","editAccount"}) public void setLastName(String lastName)
      Sets the last name.
      Parameters:
      lastName - the last name
    • getStatus

      public String getStatus()
      Gets the status.
      Returns:
      the status
    • setStatus

      public void setStatus(String status)
      Sets the status.
      Parameters:
      status - the status
    • getAddress1

      public String getAddress1()
      Gets the address1.
      Returns:
      the address1
    • setAddress1

      public void setAddress1(String address1)
      Sets the address1.
      Parameters:
      address1 - the address1
    • getAddress2

      public String getAddress2()
      Gets the address2.
      Returns:
      the address2
    • setAddress2

      public void setAddress2(String address2)
      Sets the address2.
      Parameters:
      address2 - the address2
    • getCity

      public String getCity()
      Gets the city.
      Returns:
      the city
    • setCity

      public void setCity(String city)
      Sets the city.
      Parameters:
      city - the city
    • getState

      public String getState()
      Gets the state.
      Returns:
      the state
    • setState

      public void setState(String state)
      Sets the state.
      Parameters:
      state - the state
    • getZip

      public String getZip()
      Gets the zip.
      Returns:
      the zip
    • setZip

      public void setZip(String zip)
      Sets the zip.
      Parameters:
      zip - the zip
    • getCountry

      public String getCountry()
      Gets the country.
      Returns:
      the country
    • setCountry

      public void setCountry(String country)
      Sets the country.
      Parameters:
      country - the country
    • getPhone

      public String getPhone()
      Gets the phone.
      Returns:
      the phone
    • setPhone

      public void setPhone(String phone)
      Sets the phone.
      Parameters:
      phone - the phone
    • getFavouriteCategoryId

      public String getFavouriteCategoryId()
      Gets the favourite category id.
      Returns:
      the favourite category id
    • setFavouriteCategoryId

      public void setFavouriteCategoryId(String favouriteCategoryId)
      Sets the favourite category id.
      Parameters:
      favouriteCategoryId - the favourite category id
    • getLanguagePreference

      public String getLanguagePreference()
      Gets the language preference.
      Returns:
      the language preference
    • setLanguagePreference

      public void setLanguagePreference(String languagePreference)
      Sets the language preference.
      Parameters:
      languagePreference - the language preference
    • isListOption

      public boolean isListOption()
      Checks if is list option.
      Returns:
      true, if successful
    • setListOption

      public void setListOption(boolean listOption)
      Sets the list option.
      Parameters:
      listOption - the list option
    • isBannerOption

      public boolean isBannerOption()
      Checks if is banner option.
      Returns:
      true, if successful
    • setBannerOption

      public void setBannerOption(boolean bannerOption)
      Sets the banner option.
      Parameters:
      bannerOption - the banner option
    • getBannerName

      public String getBannerName()
      Gets the banner name.
      Returns:
      the banner name
    • setBannerName

      public void setBannerName(String bannerName)
      Sets the banner name.
      Parameters:
      bannerName - the banner name