UBCCourseSpiderDatastore usd = new UBCCourseSpiderDatastore();
usd.initSchema();
UBCCourseSpiderService ucs = new UBCCourseSpiderService();
for(DepartmentInformationObject i : ucs.getDepartments()){
usd.addDepartment(i);
}
for(CourseInformationObject i : ucs.getCourses(usd.getDepartmentList().get(5))){
usd.addCourse(i);
}
for(SectionInformationObject i : ucs.getSections(usd.getCourseList().get(0))){
usd.addSection(i);
}
for(BookInformationObject i : ucs.getBooks(usd.getSectionList().get(0))){
usd.addBooks(i);
}
System.out.println(usd.getDepartmentList().get(0).getDepartmentId());