cz.muni.fi.pclis.domain.feedback
Class UserBlogLocation

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

public class UserBlogLocation
extends DomainObject

Entity for Location of User Blog User: Ľuboš Pecho Date: 18.9.2009 Time: 13:31:38


Field Summary
private  String blogUrlString
          Url to RSS Feed of the blog
private  Course course
          Course in which is the blog usable
private  Term term
          Term in which is the blog location valid
private  User user
          Owner of the blog
 
Constructor Summary
UserBlogLocation()
           
 
Method Summary
 URL getBlogUrl()
          Returns URL of the blog RSS feed
 String getBlogUrlString()
           
 Course getCourse()
           
 Term getTerm()
           
 User getUser()
           
 void setBlogUrlString(String blogUrlString)
          Set the blog url string
 void setCourse(Course course)
          Sets the course
 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

user

private User user
Owner of the blog


course

private Course course
Course in which is the blog usable


term

private Term term
Term in which is the blog location valid


blogUrlString

private String blogUrlString
Url to RSS Feed of the blog

Constructor Detail

UserBlogLocation

public UserBlogLocation()
Method Detail

getUser

public User getUser()
Returns:
user

setUser

public void setUser(User user)
Sets the user

Parameters:
user -

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 -

getBlogUrlString

public String getBlogUrlString()
Returns:
blog url string

setBlogUrlString

public void setBlogUrlString(String blogUrlString)
                      throws MalformedURLException
Set the blog url string

Parameters:
blogUrlString -
Throws:
MalformedURLException - if the given url is not valid

getBlogUrl

public URL getBlogUrl()
               throws MalformedURLException
Returns URL of the blog RSS feed

Returns:
Throws:
MalformedURLException


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