@MappedSuperclass public class Person extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private String |
firstName |
private long |
id |
private String |
lastName |
private static long |
serialVersionUID |
Constructor and Description |
---|
Person() |
Person(long id) |
Person(long id,
String firstName,
String lastName) |
Modifier and Type | Method and Description |
---|---|
String |
getFirstName() |
long |
getId() |
String |
getLastName() |
void |
setFirstName(String firstName) |
private void |
setId(long id) |
void |
setLastName(String lastName) |
String |
toString() |
private static final long serialVersionUID
private long id
private String firstName
private String lastName
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.