eschool.data
Class Lecture

java.lang.Object
  extended byeschool.data.Lecture

public class Lecture
extends java.lang.Object


Constructor Summary
Lecture()
          Creates a new lecture with default settings for all inner fields.
Lecture(int lectureid, int courseid, java.lang.String title, java.lang.String content, int editedfrom_id, java.lang.String editedwhen, int lecture_num)
          Creates a new lecture with provided values for all inner fields.
 
Method Summary
 java.lang.String getContent()
           
 int getCourseid()
           
 int getEditedfrom()
           
 java.lang.String getEditedwhen()
           
 int getLecture_num()
           
 int getLectureid()
           
 java.lang.String getTitle()
           
 void setContent(java.lang.String content)
           
 void setCourseid(int courseid)
           
 void setEditedfrom(int editedfrom_id)
          Sets value for lecturer created the lecture
 void setEditedwhen(java.lang.String editedwhen)
          Sets value for date when the lecture has been created
 void setLecture_num(int lecture_num)
           
 void setLectureid(int lectureid)
           
 void setTitle(java.lang.String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lecture

public Lecture()
Creates a new lecture with default settings for all inner fields.


Lecture

public Lecture(int lectureid,
               int courseid,
               java.lang.String title,
               java.lang.String content,
               int editedfrom_id,
               java.lang.String editedwhen,
               int lecture_num)
Creates a new lecture with provided values for all inner fields.

Parameters:
lectureid - id of the lecture
courseid - id of the course to which the lecture belons
title - title of the lecture
content - content of the lecture
editedfrom_id - id of lecturer, created the lecture
editedwhen - date of creation of the lecture
lecture_num - unique number of lecture of the course
Method Detail

getLecture_num

public int getLecture_num()
Returns:
lecture number

setLecture_num

public void setLecture_num(int lecture_num)
Parameters:
lecture_num -

getContent

public java.lang.String getContent()
Returns:
content of the lecture

setContent

public void setContent(java.lang.String content)

getCourseid

public int getCourseid()
Returns:
id of the course to which the lecture belongs

setCourseid

public void setCourseid(int courseid)

getLectureid

public int getLectureid()
Returns:
id of the lecture

setLectureid

public void setLectureid(int lectureid)

getTitle

public java.lang.String getTitle()
Returns:
title of the lecture

setTitle

public void setTitle(java.lang.String title)

getEditedfrom

public int getEditedfrom()
Returns:
id of lecturer, created the lecture

setEditedfrom

public void setEditedfrom(int editedfrom_id)
Sets value for lecturer created the lecture

Parameters:
editedfrom_id -

getEditedwhen

public java.lang.String getEditedwhen()
Returns:
date when the lecture has been created

setEditedwhen

public void setEditedwhen(java.lang.String editedwhen)
Sets value for date when the lecture has been created

Parameters:
editedwhen -