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 Address
getAddress()
long
getId()
String
getName()
void
setAddress(Address address)
protected void
setId(long id)
void
setName(String name)
String
toString()
-
-
-
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
-
-