@Entity public class Person extends Object
Modifier and Type | Field and Description |
---|---|
private String |
firstName |
private long |
id |
private String |
lastName |
private static org.apache.commons.logging.Log |
log |
private String |
phone |
private Photo |
photo |
Constructor and Description |
---|
Person() |
Modifier and Type | Method and Description |
---|---|
String |
getFirstName() |
long |
getId() |
String |
getLastName() |
String |
getPhone() |
Photo |
getPhoto() |
void |
setFirstName(String firstName) |
void |
setLastName(String lastName) |
void |
setPhone(String phone) |
void |
setPhoto(Photo photo) |
String |
toString() |
private static org.apache.commons.logging.Log log
private long id
private String firstName
private String lastName
private String phone
private Photo photo
public long getId()
public String getFirstName()
public void setFirstName(String firstName)
public String getLastName()
public void setLastName(String lastName)
public String getPhone()
public void setPhone(String phone)
public Photo getPhoto()
public void setPhoto(Photo photo)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.