public class Person extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private Date |
creationDate |
private String |
firstName |
private long |
id |
private String |
lastName |
private long |
version |
Constructor and Description |
---|
Person() |
Person(long id,
long version,
String firstName,
String lastName) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getFirstName() |
long |
getId() |
String |
getLastName() |
long |
getVersion() |
int |
hashCode() |
void |
setFirstName(String firstName) |
private void |
setId(long id) |
void |
setLastName(String lastName) |
void |
setVersion(long version) |
String |
toString() |
private long id
private long version
private String firstName
private String lastName
private Date creationDate
public long getId()
private void setId(long id)
public String getFirstName()
public void setFirstName(String firstName)
public String getLastName()
public void setLastName(String lastName)
public long getVersion()
public void setVersion(long version)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.