Class Person

    • Field Detail

      • money

        protected Double money
      • description

        protected String description
    • Method Detail

      • getId

        public int getId()
        Returns:
        the id
      • getFirstName

        public String getFirstName()
        Returns:
        the firstName
      • setFirstName

        public void setFirstName​(String firstName)
        Parameters:
        firstName - the firstName to set
      • getLastName

        public String getLastName()
        Returns:
        the lastName
      • setLastName

        public void setLastName​(String lastName)
        Parameters:
        lastName - the lastName to set
      • getGender

        public Person.Gender getGender()
        Returns:
        the gender
      • setGender

        public void setGender​(Person.Gender gender)
        Parameters:
        gender - the gender to set
      • isMarried

        public boolean isMarried()
        Returns:
        the married
      • setMarried

        public void setMarried​(boolean married)
        Parameters:
        married - the married to set
      • getBirthday

        public Date getBirthday()
        Returns:
        the birthday
      • setBirthday

        public void setBirthday​(Date birthday)
        Parameters:
        birthday - the birthday to set
      • getMoney

        public Double getMoney()
        Returns:
        the money
      • setMoney

        public void setMoney​(Double money)
        Parameters:
        money - the money to set
      • getDescription

        public String getDescription()
        Returns:
        the description
      • setDescription

        public void setDescription​(String description)
        Parameters:
        description - the description to set