eschool.data
Class Course
java.lang.Object
eschool.data.Course
- public class Course
- extends java.lang.Object
Constructor Summary |
Course()
Creates a new course with default values for courseid, name, ownerid and
summary |
Course(int courseid,
java.lang.String name,
int ownerid,
java.lang.String summary)
Creates a new course with the specified input parameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Course
public Course()
- Creates a new course with default values for courseid, name, ownerid and
summary
Course
public Course(int courseid,
java.lang.String name,
int ownerid,
java.lang.String summary)
- Creates a new course with the specified input parameters
- Parameters:
courseid
- name
- ownerid
- summary
-
getSummary
public java.lang.String getSummary()
- Returns:
- summary information about the course
setSummary
public void setSummary(java.lang.String summary)
- Parameters:
summary
-
getCourseid
public int getCourseid()
- Returns:
- courseid - the id of the course
setCourseid
public void setCourseid(int courseid)
- Parameters:
courseid
-
getName
public java.lang.String getName()
- Returns:
- name of the course
setName
public void setName(java.lang.String name)
- Parameters:
name
-
getOwnerid
public int getOwnerid()
- Returns:
- ownerid - the id of the lecturer who own this course
setOwnerid
public void setOwnerid(int ownerid)
- Parameters:
ownerid
-