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