org.sciplore.resources
Class Feedback

java.lang.Object
  extended by org.sciplore.resources.Resource
      extended by org.sciplore.resources.Feedback

@Entity
public class Feedback
extends Resource


Constructor Summary
Feedback()
           
Feedback(int id)
           
 
Method Summary
 Set<Feedback> getChildren()
           
 Date getCreated()
           
 Document getDocument()
           
 Integer getId()
           
 Feedback getParent()
           
 Short getRating()
           
 String getText()
           
 String getTitle()
           
 Short getType()
           
 User getUser()
           
 Short getValid()
           
 void setChildren(Set<Feedback> children)
           
 void setCreated(Date created)
           
 void setDocument(Document document)
           
 void setId(Integer id)
           
 void setParent(Feedback parent)
           
 void setRating(Short rating)
           
 void setText(String text)
           
 void setTitle(String title)
           
 void setType(Short type)
           
 void setUser(User user)
           
 void setValid(Short valid)
           
static Feedback sync(Feedback feedback)
           
 
Methods inherited from class org.sciplore.resources.Resource
save
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Feedback

public Feedback()

Feedback

public Feedback(int id)
Method Detail

getId

public Integer getId()
Returns:
the id

setId

public void setId(Integer id)
Parameters:
id - the id to set

getDocument

public Document getDocument()
Returns:
the document

setDocument

public void setDocument(Document document)
Parameters:
document - the document to set

getUser

public User getUser()
Returns:
the user

setUser

public void setUser(User user)
Parameters:
user - the user to set

getParent

public Feedback getParent()
Returns:
the parent

setParent

public void setParent(Feedback parent)
Parameters:
parent - the parent to set

getType

public Short getType()
Returns:
the type

setType

public void setType(Short type)
Parameters:
type - the type to set

getText

public String getText()
Returns:
the text

setText

public void setText(String text)
Parameters:
text - the text to set

getCreated

public Date getCreated()
Returns:
the created

setCreated

public void setCreated(Date created)
Parameters:
created - the created to set

getValid

public Short getValid()
Returns:
the valid

setValid

public void setValid(Short valid)
Parameters:
valid - the valid to set

getTitle

public String getTitle()
Returns:
the title

setTitle

public void setTitle(String title)
Parameters:
title - the title to set

getChildren

public Set<Feedback> getChildren()
Returns:
the children

setChildren

public void setChildren(Set<Feedback> children)
Parameters:
children - the children to set

getRating

public Short getRating()
Returns:
the rating

setRating

public void setRating(Short rating)
Parameters:
rating - the rating to set

sync

public static Feedback sync(Feedback feedback)