Class OwnerDTO
- java.lang.Object
-
- ejava.examples.ejbsessionbank.dto.OwnerDTO
-
- All Implemented Interfaces:
Serializable
public class OwnerDTO extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
id
private long id
-
firstName
private String firstName
-
lastName
private String lastName
-
accounts
private int accounts
-
-
Method Detail
-
getId
public long getId()
-
setId
public void setId(long id)
-
getFirstName
public String getFirstName()
-
setFirstName
public void setFirstName(String firstName)
-
getLastName
public String getLastName()
-
setLastName
public void setLastName(String lastName)
-
getAccounts
public int getAccounts()
-
setAccounts
public void setAccounts(int accounts)
-
-