cz.muni.fi.pclis.domain.onlineConsultation
Class OnlineConsultation

java.lang.Object
  extended by cz.muni.fi.pclis.commons.domain.DomainObject
      extended by cz.muni.fi.pclis.domain.onlineConsultation.OnlineConsultation

public class OnlineConsultation
extends DomainObject

Entity representing data online consultation User: Ľuboš Pecho Date: 14.2.2010 Time: 11:19:03


Field Summary
private  String annotation
          Annotation of the consultation
private  String consultationTarget
          Target of the consultation
private  Course course
          Course in which is the consultation taking place
private  Date date
          Start of the consultation
private  Date dateTo
          End of the consultation
private  String googleWaveUrl
          Url of the google wave
private  SortedSet<User> students
          students participating in the consultation
private  SortedSet<User> teachers
          teachers participating in the consultation
private  Term term
          Term in which is the consultation taking place
 
Constructor Summary
OnlineConsultation()
           
 
Method Summary
 String getAnnotation()
           
 String getConsultationTarget()
           
 Course getCourse()
           
 Date getDate()
           
 Date getDateTo()
           
 String getGoogleWaveUrl()
           
 SortedSet<User> getStudents()
           
 SortedSet<User> getTeachers()
           
 Term getTerm()
           
 void registerStudent(User user)
          registers new student
 void registerTeacher(User user)
          registers new teacher
 void setAnnotation(String annotation)
          Sets the annotation
 void setConsultationTarget(String consultationTarget)
          Sets the consultation target
 void setCourse(Course course)
          sets the course
 void setDate(Date date)
          Sets the date
 void setDateTo(Date dateTo)
          Sets the dateTo
 void setGoogleWaveUrl(String googleWaveUrl)
          Sets the google wave url
 void setStudents(SortedSet<User> students)
          Sets the students
 void setTeachers(SortedSet<User> teachers)
          Sets the teachers
 void setTerm(Term term)
          Sets the term
 
Methods inherited from class cz.muni.fi.pclis.commons.domain.DomainObject
equals, getId, hashCode, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

course

private Course course
Course in which is the consultation taking place


term

private Term term
Term in which is the consultation taking place


teachers

private SortedSet<User> teachers
teachers participating in the consultation


students

private SortedSet<User> students
students participating in the consultation


date

private Date date
Start of the consultation


dateTo

private Date dateTo
End of the consultation


annotation

private String annotation
Annotation of the consultation


consultationTarget

private String consultationTarget
Target of the consultation


googleWaveUrl

private String googleWaveUrl
Url of the google wave

Constructor Detail

OnlineConsultation

public OnlineConsultation()
Method Detail

getCourse

public Course getCourse()
Returns:
course

setCourse

public void setCourse(Course course)
sets the course

Parameters:
course -

getTerm

public Term getTerm()
Returns:
term

setTerm

public void setTerm(Term term)
Sets the term

Parameters:
term -

getTeachers

public SortedSet<User> getTeachers()
Returns:
teachers

setTeachers

public void setTeachers(SortedSet<User> teachers)
Sets the teachers

Parameters:
teachers -

getStudents

public SortedSet<User> getStudents()
Returns:
students

setStudents

public void setStudents(SortedSet<User> students)
Sets the students

Parameters:
students -

getDate

public Date getDate()
Returns:
date

setDate

public void setDate(Date date)
Sets the date

Parameters:
date -

getDateTo

public Date getDateTo()
Returns:
dateTo

setDateTo

public void setDateTo(Date dateTo)
Sets the dateTo

Parameters:
dateTo -

getConsultationTarget

public String getConsultationTarget()
Returns:
target

setConsultationTarget

public void setConsultationTarget(String consultationTarget)
Sets the consultation target

Parameters:
consultationTarget -

getAnnotation

public String getAnnotation()
Returns:
annotation

setAnnotation

public void setAnnotation(String annotation)
Sets the annotation

Parameters:
annotation -

getGoogleWaveUrl

public String getGoogleWaveUrl()
Returns:
google wave url

setGoogleWaveUrl

public void setGoogleWaveUrl(String googleWaveUrl)
Sets the google wave url

Parameters:
googleWaveUrl -

registerTeacher

public void registerTeacher(User user)
registers new teacher

Parameters:
user -

registerStudent

public void registerStudent(User user)
registers new student

Parameters:
user -


Copyright © 2009-2010 Faculty of Informatics, Masaryk university, Brno. All Rights Reserved.