Package ejava.examples.orm.rel.composite
Class House
- java.lang.Object
-
- ejava.examples.orm.rel.composite.House
-
-
Field Summary
Fields Modifier and Type Field Description private Collection<Door>
doors
private int
id
private Collection<Mortgage>
mortgages
private Collection<Resident>
residents
private Collection<Room>
rooms
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Door>
getDoors()
int
getId()
Collection<Mortgage>
getMortgages()
Collection<Resident>
getResidents()
Collection<Room>
getRooms()
-
-
-
Field Detail
-
id
private int id
-
rooms
private Collection<Room> rooms
-
doors
private Collection<Door> doors
-
residents
private Collection<Resident> residents
-
mortgages
private Collection<Mortgage> mortgages
-
-
Method Detail
-
getId
public int getId()
-
getRooms
public Collection<Room> getRooms()
-
getDoors
public Collection<Door> getDoors()
-
getResidents
public Collection<Resident> getResidents()
-
getMortgages
public Collection<Mortgage> getMortgages()
-
-