org.sciplore.resources
Class Feedback
java.lang.Object
org.sciplore.resources.Resource
org.sciplore.resources.Feedback
@Entity
public class Feedback
- extends Resource
| Methods inherited from class org.sciplore.resources.Resource |
save |
Feedback
public Feedback()
Feedback
public Feedback(int id)
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)