package forms;

import java.util.List;

import time.Date;

/**
 * 
 * @author Yifei Zhu
 */
public class Course {
	//Course Info
	private String department;
	private String courseName;
	private String section;
	private String building;
	private String comments;
	//Date
	private Date sartDate;
	private Date endDate;
	private List<DayOfWeek> dayOfWeek;
	
	public Course(String d,String c,String sec,String b,String com,Date s, Date e, List<DayOfWeek> l)
	{
		department=d;courseName=c;section=sec;building=b;comments=com;sartDate=s;
		endDate=e;dayOfWeek=l;
	}
	
	public String getDepartment() {
		return department;
	}
	public void setDepartment(String department) {
		this.department = department;
	}
	public String getCourseName() {
		return courseName;
	}
	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}
	public String getSection() {
		return section;
	}
	public void setSection(String section) {
		this.section = section;
	}
	public String getBuilding() {
		return building;
	}
	public void setBuilding(String building) {
		this.building = building;
	}
	public String getComments() {
		return comments;
	}
	public void setComments(String comments) {
		this.comments = comments;
	}
	public Date getSartDate() {
		return sartDate;
	}
	public void setSartDate(Date sartDate) {
		this.sartDate = sartDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	

	

}

package forms;

import java.util.List;

import time.Date;

/**
 * 
 * @author Yifei Zhu
 */
public class Course {
	//Course Info
	private String department;
	private String courseName;
	private String section;
	private String building;
	private String comments;
	//Date
	private Date sartDate;
	private Date endDate;
	private List<DayOfWeek> dayOfWeek;
	
	public Course(String d,String c,String sec,String b,String com,Date s, Date e, List<DayOfWeek> l)
	{
		department=d;courseName=c;section=sec;building=b;comments=com;sartDate=s;
		endDate=e;dayOfWeek=l;
	}
	
	public String getDepartment() {
		return department;
	}
	public void setDepartment(String department) {
		this.department = department;
	}
	public String getCourseName() {
		return courseName;
	}
	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}
	public String getSection() {
		return section;
	}
	public void setSection(String section) {
		this.section = section;
	}
	public String getBuilding() {
		return building;
	}
	public void setBuilding(String building) {
		this.building = building;
	}
	public String getComments() {
		return comments;
	}
	public void setComments(String comments) {
		this.comments = comments;
	}
	public Date getSartDate() {
		return sartDate;
	}
	public void setSartDate(Date sartDate) {
		this.sartDate = sartDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public List<DayOfWeek> getDayOfWeek() {
		return dayOfWeek;
	}

	public void setDayOfWeek(List<DayOfWeek> dayOfWeek) {
		this.dayOfWeek = dayOfWeek;
	}
	
	

	

}

update Course.java again...