Package ejava.projects.esales.bo
Class Account
- java.lang.Object
-
- ejava.projects.esales.bo.Account
-
- All Implemented Interfaces:
Serializable
@Entity public class Account extends Object implements Serializable
This is an example eSales Account class. It will use full JPA annotations to define the mappings to the database. We could have also used an orm.xml file supplied by the DAO.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Address>
getAddresses()
String
getFirstName()
String
getUserId()
void
setAddresses(List<Address> addresses)
void
setFirstName(String firstName)
private void
setUserId(String userId)
String
toString()
-