Class Person
- java.lang.Object
-
- org.codehaus.cargo.sample.testdata.jdbc.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 Summary
Constructors Constructor Description Person()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFirstName()
String
getLastName()
void
setFirstName(String firstName)
void
setLastName(String lastName)
-
-
-
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.
-
-