Class Person


  • public class Person
    extends Object
    Simple class which holds a person's details. We use this in our test Servlet used to verify that jdbc connectors are working.
    See Also:
    TestServlet
    • Constructor Detail

      • Person

        public Person()
    • Method Detail

      • getFirstName

        public String getFirstName()
        Returns:
        First name.
      • getLastName

        public String getLastName()
        Returns:
        Last name.
      • setFirstName

        public void setFirstName​(String firstName)
        Parameters:
        firstName - First name.
      • setLastName

        public void setLastName​(String lastName)
        Parameters:
        lastName - Last name.