com.atlassian.crucible.spi.data
Class ReviewData

java.lang.Object
  extended by com.atlassian.crucible.spi.data.ReviewData
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DetailedReviewData

public class ReviewData
extends java.lang.Object
implements java.io.Serializable

Holds the attributes of a review

See Also:
Serialized Form

Nested Class Summary
static class ReviewData.State
          States of a review.
 
Constructor Summary
ReviewData()
           
ReviewData(ReviewData review)
           
ReviewData(java.lang.String projectKey, java.lang.String name, java.lang.String description, UserData author, UserData moderator, UserData creator, java.lang.String permaId, java.lang.String summary, ReviewData.State state, boolean allowReviewersToJoin, PermId<ReviewData> parentReview, java.util.Date createDate, java.util.Date closeDate, java.util.Date dueDate, int metricsVersion, java.lang.String jiraIssueKey)
           
 
Method Summary
 UserData getAuthor()
           
 java.util.Date getCloseDate()
           
 java.util.Date getCreateDate()
           
 UserData getCreator()
           
 java.lang.String getDescription()
           
 java.util.Date getDueDate()
           
 java.lang.String getJiraIssueKey()
           
 int getMetricsVersion()
           
 UserData getModerator()
           
 java.lang.String getName()
           
 PermId<ReviewData> getParentReview()
           
 PermId<ReviewData> getPermaId()
           
 java.lang.String getProjectKey()
           
 ReviewData.State getState()
           
 java.lang.String getSummary()
           
 boolean isAllowReviewersToJoin()
           
 void setAllowReviewersToJoin(boolean allowReviewersToJoin)
           
 void setAuthor(UserData author)
           
 void setCloseDate(java.util.Date closeDate)
           
 void setCreateDate(java.util.Date createDate)
           
 void setCreator(UserData creator)
           
 void setDescription(java.lang.String description)
           
 void setDueDate(java.util.Date dueDate)
           
 void setJiraIssueKey(java.lang.String jiraIssueKey)
           
 void setMetricsVersion(int metricsVersion)
           
 void setModerator(UserData moderator)
           
 void setName(java.lang.String name)
           
 void setParentReview(PermId<ReviewData> parentReview)
           
 void setPermaId(PermId<ReviewData> permId)
           
 void setPermaIdAsString(java.lang.String permaId)
           
 void setProjectKey(java.lang.String projectKey)
           
 void setState(ReviewData.State state)
           
 void setSummary(java.lang.String summary)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReviewData

public ReviewData()

ReviewData

public ReviewData(java.lang.String projectKey,
                  java.lang.String name,
                  java.lang.String description,
                  UserData author,
                  UserData moderator,
                  UserData creator,
                  java.lang.String permaId,
                  java.lang.String summary,
                  ReviewData.State state,
                  boolean allowReviewersToJoin,
                  PermId<ReviewData> parentReview,
                  java.util.Date createDate,
                  java.util.Date closeDate,
                  java.util.Date dueDate,
                  int metricsVersion,
                  java.lang.String jiraIssueKey)

ReviewData

public ReviewData(ReviewData review)
Method Detail

setName

public void setName(java.lang.String name)

setDescription

public void setDescription(java.lang.String description)

setAuthor

public void setAuthor(UserData author)

setModerator

public void setModerator(UserData moderator)

setCreator

public void setCreator(UserData creator)

setState

public void setState(ReviewData.State state)

getDescription

public java.lang.String getDescription()

getAuthor

public UserData getAuthor()

getModerator

public UserData getModerator()

getCreator

public UserData getCreator()

getPermaId

public PermId<ReviewData> getPermaId()

setPermaId

public void setPermaId(PermId<ReviewData> permId)

getSummary

public java.lang.String getSummary()

setSummary

public void setSummary(java.lang.String summary)

setPermaIdAsString

public void setPermaIdAsString(java.lang.String permaId)

getName

public java.lang.String getName()

getState

public ReviewData.State getState()

isAllowReviewersToJoin

public boolean isAllowReviewersToJoin()

setAllowReviewersToJoin

public void setAllowReviewersToJoin(boolean allowReviewersToJoin)

getProjectKey

public java.lang.String getProjectKey()

setProjectKey

public void setProjectKey(java.lang.String projectKey)

getParentReview

public PermId<ReviewData> getParentReview()

setParentReview

public void setParentReview(PermId<ReviewData> parentReview)

getMetricsVersion

public int getMetricsVersion()

setMetricsVersion

public void setMetricsVersion(int metricsVersion)

getCreateDate

public java.util.Date getCreateDate()

setCreateDate

public void setCreateDate(java.util.Date createDate)

getCloseDate

public java.util.Date getCloseDate()

setCloseDate

public void setCloseDate(java.util.Date closeDate)

getDueDate

public java.util.Date getDueDate()

setDueDate

public void setDueDate(java.util.Date dueDate)

getJiraIssueKey

public java.lang.String getJiraIssueKey()

setJiraIssueKey

public void setJiraIssueKey(java.lang.String jiraIssueKey)