}
/** */
protected void initDB() {
HashSet h;
Address addr1 = new Address (7001L, "18 Network Circle",
"Santa Clara", "CA", "94455", "USA");
company = new Company (1L, "Sun Microsystems", new Date(), addr1);
GregorianCalendar born =
new GregorianCalendar(TimeZone.getTimeZone("America/Los_Angeles"));
GregorianCalendar hired =
new GregorianCalendar(TimeZone.getTimeZone("America/Los_Angeles"));
born.set(1969, 7, 20);
hired.set(1982, 5, 5);
Address addr2 = new Address (7002L, "43 Sematery Drive",
"Woodside", "CA", "94320", "USA");
Employee scott = new FullTimeEmployee(3001L, "Scott", "McNealy", "G",
born.getTime(), addr2,
hired.getTime(), 200000.0);
born.set(1960, 4, 8);
hired.set(1985, 2, 3);
Address addr3 = new Address (7003L, "1298 Wanderlust Road",
"Pleasanton", "CA", "95560", "USA");
Employee ed = new PartTimeEmployee(3002L, "Ed", "Zander", null,
born.getTime(), addr3,
hired.getTime(), 400000.0);
scott.addToTeam(ed);