cz.muni.fi.pclis.domain
Class Seminar

java.lang.Object
  extended by cz.muni.fi.pclis.commons.domain.DomainObject
      extended by cz.muni.fi.pclis.domain.Educatable
          extended by cz.muni.fi.pclis.domain.Seminar
Direct Known Subclasses:
EditCourseSeminarsController.RemovableSeminar

public class Seminar
extends Educatable

Seminar implementation of the Educatable interface User: Ľuboš Pecho Date: 6.7.2009 Time: 22:24:41


Field Summary
private  Course course
          course which this seminar belongs to
private  String ordinalNumber
          ordinal number of the seminar
private  Term term
          Term in which is this seminar taught
 
Constructor Summary
Seminar()
           
 
Method Summary
 String getCode()
          Returns the code
 Course getCourse()
           
 String getOrdinalNumber()
           
 Term getTerm()
           
 void setCourse(Course course)
          Sets the course
 void setOrdinalNumber(String ordinalNumber)
          Sets the ordinal number
 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 which this seminar belongs to


ordinalNumber

private String ordinalNumber
ordinal number of the seminar


term

private Term term
Term in which is this seminar taught

Constructor Detail

Seminar

public Seminar()
Method Detail

getCode

public String getCode()
Returns the code

Specified by:
getCode in class Educatable
Returns:

getCourse

public Course getCourse()
Returns:
course

setCourse

public void setCourse(Course course)
Sets the course

Parameters:
course -

getOrdinalNumber

public String getOrdinalNumber()
Returns:
ordinal number

setOrdinalNumber

public void setOrdinalNumber(String ordinalNumber)
Sets the ordinal number

Parameters:
ordinalNumber -

getTerm

public Term getTerm()
Returns:
term

setTerm

public void setTerm(Term term)
Sets the term

Parameters:
term -
Throws:
IllegalArgumentException - if course is not null and this course is not available in given term


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