|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectza.org.coefficient.modules.issueTracker.DiscussionData
public class DiscussionData
Field Summary | |
---|---|
private java.util.List |
children
|
private java.lang.String |
comments
|
private java.lang.Long |
id
|
private Role |
maxReadRole
|
private Role |
maxWriteRole
|
private DiscussionData |
parent
|
private java.util.Date |
postDate
|
private Project |
project
|
private int |
replies
|
private java.lang.String |
subject
|
private java.lang.String |
type
|
private CoefficientUser |
user
|
Constructor Summary | |
---|---|
DiscussionData()
|
Method Summary | |
---|---|
void |
addChild(DiscussionData child)
|
boolean |
equals(java.lang.Object other)
|
java.util.List |
getChildren()
|
int |
getChildrenCount()
|
java.lang.String |
getComments()
Gets the value of name |
java.lang.Long |
getId()
Gets the value of id |
Role |
getMaxReadRole()
|
Role |
getMaxWriteRole()
|
DiscussionData |
getParent()
|
java.util.Date |
getPostDate()
Gets the value of description |
Project |
getProject()
|
int |
getReplies()
Gets the value of description |
java.lang.String |
getSubject()
Gets the value of description |
java.lang.String |
getType()
Gets the value of type: forum or discussion |
CoefficientUser |
getUser()
|
void |
removeChild(DiscussionData child)
|
void |
setAllMaxReadRoles(Role maxReadRole)
|
void |
setAllMaxWriteRoles(Role maxWriteRole)
|
void |
setChildren(java.util.List argList)
|
void |
setComments(java.lang.String argComments)
|
void |
setId(java.lang.Long argId)
|
void |
setMaxReadRole(Role maxReadRole)
|
void |
setMaxWriteRole(Role maxWriteRole)
|
void |
setParent(DiscussionData data)
|
void |
setPostDate(java.util.Date argPostDate)
|
void |
setProject(Project argProject)
|
void |
setReplies(int argReplies)
|
void |
setSubject(java.lang.String argSubject)
|
void |
setType(java.lang.String type)
Sets the different type of discussions:(forum or discussion) |
void |
setUser(CoefficientUser argUser)
|
void |
validate()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private CoefficientUser user
private java.util.Date postDate
private DiscussionData parent
private java.util.List children
private java.lang.Long id
private Project project
private Role maxReadRole
private Role maxWriteRole
private java.lang.String comments
private java.lang.String subject
private java.lang.String type
private int replies
Constructor Detail |
---|
public DiscussionData()
Method Detail |
---|
public void setAllMaxReadRoles(Role maxReadRole)
public void setAllMaxWriteRoles(Role maxWriteRole)
public void setChildren(java.util.List argList)
public java.util.List getChildren()
public int getChildrenCount()
public void setComments(java.lang.String argComments)
public java.lang.String getComments()
public void setId(java.lang.Long argId)
public java.lang.Long getId()
public void setMaxReadRole(Role maxReadRole)
public Role getMaxReadRole()
public void setMaxWriteRole(Role maxWriteRole)
public Role getMaxWriteRole()
public void setParent(DiscussionData data)
public DiscussionData getParent()
public void setPostDate(java.util.Date argPostDate)
public java.util.Date getPostDate()
public void setProject(Project argProject)
public Project getProject()
public void setReplies(int argReplies)
public int getReplies()
public void setSubject(java.lang.String argSubject)
public java.lang.String getSubject()
public void setType(java.lang.String type)
active
- Value to assign to this.typepublic java.lang.String getType()
public void setUser(CoefficientUser argUser)
public CoefficientUser getUser()
public void addChild(DiscussionData child)
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public void removeChild(DiscussionData child)
public void validate() throws net.sf.hibernate.ValidationFailure
validate
in interface net.sf.hibernate.Validatable
net.sf.hibernate.ValidationFailure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |