01: package com.silvermindsoftware.hitch.sample.dao;
02:
03: import com.silvermindsoftware.hitch.sample.model.Person;
04: import com.silvermindsoftware.hitch.sample.model.Vehicle;
05:
06: import java.util.Date;
07:
08: public class PersonDao {
09:
10: private SexDao sexDao = new SexDao();
11:
12: public Person getPerson() {
13: return new Person("Brandon", "Goodin", null, 33, 5.75f,
14: 1234567.12, new Date(), sexDao.getSex(), true, "Pink",
15: new Vehicle(1, "Scooter"), new Vehicle(3, "Truck"), 3,
16: new Vehicle(2, "Car"), 2, 5, "These are notes");
17: }
18:
19: }
|