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()StringgetFirstName()StringgetUserId()voidsetAddresses(List<Address> addresses)voidsetFirstName(String firstName)private voidsetUserId(String userId)StringtoString()
-