cz.muni.fi.pclis.domain
Class UserToEducatableRelation

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

public class UserToEducatableRelation
extends DomainObject

Entity representing relation between user and educatable object representing some academic role User: Ľuboš Pecho Date: 6.7.2009 Time: 22:07:06


Field Summary
private  Educatable educatable
          Educatable
private  AcademicRole role
          role
private  Term term
          Term when is the relation valid
private  User user
          User
 
Constructor Summary
UserToEducatableRelation()
           
 
Method Summary
 Educatable getEducatable()
           
 AcademicRole getRole()
           
 Term getTerm()
           
 User getUser()
           
 void setEducatable(Educatable educatable)
          Sets the educatable
 void setRole(AcademicRole role)
          Sets the role
 void setTerm(Term term)
          Sets the term
 void setUser(User user)
          Sets the user
 
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

term

private Term term
Term when is the relation valid


user

private User user
User


educatable

private Educatable educatable
Educatable


role

private AcademicRole role
role

Constructor Detail

UserToEducatableRelation

public UserToEducatableRelation()
Method Detail

getTerm

public Term getTerm()
Returns:
term

setTerm

public void setTerm(Term term)
Sets the term

Parameters:
term -

getUser

public User getUser()
Returns:
user

setUser

public void setUser(User user)
Sets the user

Parameters:
user -

getEducatable

public Educatable getEducatable()
Returns:
educatable

setEducatable

public void setEducatable(Educatable educatable)
Sets the educatable

Parameters:
educatable -

getRole

public AcademicRole getRole()
Returns:
role

setRole

public void setRole(AcademicRole role)
Sets the role

Parameters:
role -


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