Package ejava.examples.ejbsessionbank.bo
Class Owner
- java.lang.Object
-
- ejava.examples.ejbsessionbank.bo.Owner
-
- All Implemented Interfaces:
Serializable
public class Owner extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Account>
getAccounts()
String
getFirstName()
long
getId()
String
getLastName()
String
getSsn()
void
setAccounts(Collection<Account> accounts)
void
setFirstName(String firstName)
protected void
setId(long id)
void
setLastName(String lastName)
void
setSsn(String ssn)
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
-
ssn
private String ssn
-
accounts
private Collection<Account> accounts
-
-
Method Detail
-
getId
public long getId()
-
setId
protected void setId(long id)
-
getFirstName
public String getFirstName()
-
setFirstName
public void setFirstName(String firstName)
-
getLastName
public String getLastName()
-
setLastName
public void setLastName(String lastName)
-
getSsn
public String getSsn()
-
setSsn
public void setSsn(String ssn)
-
getAccounts
public Collection<Account> getAccounts()
-
setAccounts
public void setAccounts(Collection<Account> accounts)
-
-