...
Code Block | ||
---|---|---|
| ||
CMA.createCanonicalCourse("ENG 121", "ENG 121", "What more can be said?"); CMA.addCanonicalCourseToCourseSet("Mythical Dept/School EID", "ENG 121");// can or should do both or not? CMA.createCourseOffering("ENG 121 200710 001", "English For The Toothless", "Finally a class for the tooth challanged.", + "10 2007", "ENG 121", new Date("Sept. 26, 2007), new Date("Dec. 21, 2007")) CMA.addCourseOfferingCourseToCourseSet("Mythical Dept/School EID", "ENG"); // can or should do both or not? CMA.createEnrollmentSet("20071021213", "Fall QTR 2007 Roster", "Fall QTR 2007 Enrollments", "L&S undergrads", "3", "ENG", officialGraderEids); foreach student{ CMA.addOrUpdateEnrollment(String student.getId, "20071021213", "Active", "3", "Standard Letter Plus-Minus") { } } // --- now with a section CMA.createCanonicalCourse("ENG 121", "ENG 121", "What more can be said?"); CMA.addCanonicalCourseToCourseSet("Mythical Dept/School EID", "ENG 121");// can or should do both or not? CMA.createCourseOffering("ENG 121 200710", "English For The Toothless", "Finally a class for the tooth challanged.", + "10 2007", "ENG 121", new Date("Sept. 26, 2007), new Date("Dec. 21, 2007")) ; CMA.createEnrollmentSet("20071021213", "Fall QTR 2007 Roster", "Fall QTR 2007 Enrollments", "L&S undergrads", "3", "ENG", officialGraderEids); ///may need to make more unique ID's here, depending on impl details CMA.createSection("ENG 121 200710 001", String title, String description, "Lecture", null, "ENG 121 200710", "20071021213"); |
2. Mutliple Sections with single IOR per section
...