Package ejava.projects.eleague.bo
Class Venue
- java.lang.Object
-
- ejava.projects.eleague.bo.Venue
-
- All Implemented Interfaces:
Serializable
@Entity public class Venue extends Object implements Serializable
This is an example eLeague Venue 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 AddressgetAddress()longgetId()StringgetName()voidsetAddress(Address address)protected voidsetId(long id)voidsetName(String name)StringtoString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
id
private long id
-
name
private String name
-
address
private Address address
-
-