cz.muni.fi.pclis.domain.team
Class ProjectPackage

java.lang.Object
  extended by cz.muni.fi.pclis.commons.domain.DomainObject
      extended by cz.muni.fi.pclis.commons.domain.NamedDomainObject
          extended by cz.muni.fi.pclis.domain.team.ProjectPackage

public class ProjectPackage
extends NamedDomainObject

Package of team project with same purpose User: Ľuboš Pecho Date: 25.3.2010 Time: 12:12:19


Field Summary
private  Course course
          course for which is this package
private  Set<TeamProject> projects
          Team projects contained in this package
private  boolean studentsCanAddProject
          flag if students can add their own projects
private  Term term
          term for which is this package
 
Constructor Summary
ProjectPackage()
           
 
Method Summary
 Course getCourse()
           
 Set<TeamProject> getProjects()
          Returns contained team projects
 Term getTerm()
           
 boolean isStudentsCanAddProject()
          Returns true if students can add their own projects to this package
 void setCourse(Course course)
          Sets the course
 void setProjects(Set<TeamProject> projects)
          Sets contained team projects
 void setStudentsCanAddProject(boolean studentsCanAddProject)
          Sets if students can add their own projects to this package
 void setTerm(Term term)
          Sets the term
 
Methods inherited from class cz.muni.fi.pclis.commons.domain.NamedDomainObject
getName, setName
 
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 for which is this package


term

private Term term
term for which is this package


studentsCanAddProject

private boolean studentsCanAddProject
flag if students can add their own projects


projects

private Set<TeamProject> projects
Team projects contained in this package

Constructor Detail

ProjectPackage

public ProjectPackage()
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 -

isStudentsCanAddProject

public boolean isStudentsCanAddProject()
Returns true if students can add their own projects to this package

Returns:

setStudentsCanAddProject

public void setStudentsCanAddProject(boolean studentsCanAddProject)
Sets if students can add their own projects to this package

Parameters:
studentsCanAddProject -

getProjects

public Set<TeamProject> getProjects()
Returns contained team projects

Returns:
projects

setProjects

public void setProjects(Set<TeamProject> projects)
Sets contained team projects

Parameters:
projects -


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