Class Person


  • public class Person
    extends Object
    • Field Detail

      • firstName

        protected String firstName
      • lastName

        protected String lastName
    • Constructor Detail

      • Person

        public Person()
    • Method Detail

      • getFirstName

        public String getFirstName()
        Gets the value of the firstName property.
        Returns:
        possible object is String
      • setFirstName

        public void setFirstName​(String value)
        Sets the value of the firstName property.
        Parameters:
        value - allowed object is String
      • getLastName

        public String getLastName()
        Gets the value of the lastName property.
        Returns:
        possible object is String
      • setLastName

        public void setLastName​(String value)
        Sets the value of the lastName property.
        Parameters:
        value - allowed object is String
      • getAge

        public Integer getAge()
        Gets the value of the age property.
        Returns:
        possible object is Integer
      • setAge

        public void setAge​(Integer value)
        Sets the value of the age property.
        Parameters:
        value - allowed object is Integer
      • withFirstName

        public Person withFirstName​(String value)
      • withLastName

        public Person withLastName​(String value)