za.org.coefficient.modules.issueTracker
Class IssueData

java.lang.Object
  extended by za.org.coefficient.modules.issueTracker.IssueData
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Field Summary
private  java.util.List affectedVersions
           
private  CoefficientUser assignedTo
           
private  CoefficientUser author
           
private  boolean completed
           
private  java.util.Date createDate
           
private  DiscussionData discussion
           
private  java.util.Map duplicatedBy
           
private  java.util.Map duplicates
           
private  java.lang.String environment
           
private  java.util.List fixVersions
           
private  java.lang.Long id
           
private  java.util.Map incorporates
           
private  java.util.List issueComponents
           
private  java.util.Map partOf
           
private  int percentComplete
           
private  java.lang.String priority
           
private  Project project
           
private  java.util.Map relatedTo
           
private  java.util.Map relatesTo
           
private  java.lang.String resolution
           
private  java.lang.String status
           
private  java.lang.String summary
           
private  java.util.Date taskEndDate
           
private  int taskEstimatedHours
           
private  java.util.Date taskStartDate
           
private  java.lang.String type
           
private  java.util.Date updatedDate
           
private  ProjectFolderItem uploads
           
private  VoteData vote
           
private  java.util.List watchers
           
 
Constructor Summary
IssueData()
           
 
Method Summary
 void addDuplicatedBy(java.lang.Long id, java.lang.String desc)
           
 void addDuplicates(java.lang.Long id, java.lang.String desc)
           
 void addIncorporates(java.lang.Long id, java.lang.String desc)
           
 void addPartOf(java.lang.Long id, java.lang.String desc)
           
 void addRelatedTo(java.lang.Long id, java.lang.String desc)
           
 void addRelatesTo(java.lang.Long id, java.lang.String desc)
           
 void addWatcher(CoefficientUser user)
           
 java.util.List getAffectedVersions()
          Gets the value of affectedVersions
 CoefficientUser getAssignedTo()
          Gets the value of name
 CoefficientUser getAuthor()
          Gets the value of name
 boolean getCompleted()
          Gets the value of completed
 java.util.Date getCreateDate()
          Gets the value of createDate
 DiscussionData getDiscussion()
          Gets the value of discussion
 java.util.Map getDuplicatedBy()
          Gets the value of duplicatedBy
 java.util.Map getDuplicates()
          Gets the value of duplicates
 java.lang.String getEnvironment()
          Gets the value of environment
 java.util.List getFixVersions()
          Gets the value of fixVersions
 java.lang.Long getId()
          Gets the value of id
 java.util.Map getIncorporates()
          Gets the value of incorporates
 java.util.List getIssueComponents()
          Gets the value of issueComponents
 java.util.Map getPartOf()
          Gets the value of partOf
 int getPercentComplete()
          Gets the value of percentComplete
 java.lang.String getPriority()
          Gets the value of priority
 Project getProject()
          Gets the value of project
 java.util.Map getRelatedTo()
          Gets the value of relatedTo
 java.util.Map getRelatesTo()
          Gets the value of relatesTo
 java.lang.String getResolution()
          Gets the value of resolution
 java.lang.String getStatus()
          Gets the value of status
 java.lang.String getSummary()
          Gets the value of summary
 java.util.Date getTaskEndDate()
          Gets the value of taskEndDate
 int getTaskEstimatedHours()
          Gets the value of estimatedHours
 java.util.Date getTaskStartDate()
          Gets the value of taskStartDate
 java.lang.String getType()
          Gets the value of type
 java.util.Date getUpdatedDate()
          Gets the value of updatedDate
 ProjectFolderItem getUploads()
          Gets the value of uploads
 VoteData getVote()
          Gets the value of vote
 java.util.List getWatchers()
          Gets the value of watchers
 void removeDuplicatedBy(java.lang.Long id)
           
 void removeDuplicates(java.lang.Long id)
           
 void removeIncorporates(java.lang.Long id)
           
 void removePartOf(java.lang.Long id)
           
 void removeRelatedTo(java.lang.Long id)
           
 void removeRelatesTo(java.lang.Long id)
           
 void removeWatcher(CoefficientUser user)
           
 void setAffectedVersions(java.util.List affectedVersions)
          Sets the value of affectedVersions
 void setAssignedTo(CoefficientUser assignedTo)
           
 void setAuthor(CoefficientUser author)
           
 void setCompleted(boolean completed)
          Sets the value of completed
 void setCreateDate(java.util.Date argCreateDate)
          Sets the value of createDate
 void setDiscussion(DiscussionData discussion)
          Sets the value of discussion
 void setDuplicatedBy(java.util.Map argDuplicatedBy)
          Sets the value of duplicatedBy
 void setDuplicates(java.util.Map argDuplicates)
          Sets the value of duplicates
 void setEnvironment(java.lang.String environment)
          Sets the value of environment
 void setFixVersions(java.util.List fixVersions)
          Sets the value of fixVersions
 void setId(java.lang.Long argId)
          Sets the value of id
 void setIncorporates(java.util.Map argIncorporates)
          Sets the value of incorporates
 void setIssueComponents(java.util.List issueComponents)
          Sets the value of issueComponents
 void setPartOf(java.util.Map argPartOf)
          Sets the value of partOf
 void setPercentComplete(int percentComplete)
          Sets the value of percentComplete
 void setPriority(java.lang.String priority)
          Sets the value of priority
 void setProject(Project project)
          Sets the value of project
 void setRelatedTo(java.util.Map argRelatedTo)
          Sets the value of relatedTo
 void setRelatesTo(java.util.Map argRelatesTo)
          Sets the value of relatesTo
 void setResolution(java.lang.String resolution)
          Sets the value of resolution
 void setStatus(java.lang.String status)
          Sets the value of status
 void setSummary(java.lang.String summary)
          Sets the value of summary
 void setTaskEndDate(java.util.Date argTaskEndDate)
          Sets the value of taskEndDate
 void setTaskEstimatedHours(int argTaskEstimatedHours)
          Sets the value of taskEstimatedHours
 void setTaskStartDate(java.util.Date argTaskStartDate)
          Sets the value of taskStartDate
 void setType(java.lang.String type)
          Sets the value of type
 void setUpdatedDate(java.util.Date argUpdatedDate)
          Sets the value of updatedDate
 void setUploads(ProjectFolderItem uploads)
          Sets the value of uploads
 void setVote(VoteData vote)
          Sets the value of vote
 void setWatchers(java.util.List argWatchers)
          Sets the value of watchers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

author

private CoefficientUser author

assignedTo

private CoefficientUser assignedTo

discussion

private DiscussionData discussion

uploads

private ProjectFolderItem uploads

vote

private VoteData vote

createDate

private java.util.Date createDate

updatedDate

private java.util.Date updatedDate

taskStartDate

private java.util.Date taskStartDate

taskEndDate

private java.util.Date taskEndDate

issueComponents

private java.util.List issueComponents

affectedVersions

private java.util.List affectedVersions

fixVersions

private java.util.List fixVersions

watchers

private java.util.List watchers

duplicates

private java.util.Map duplicates

duplicatedBy

private java.util.Map duplicatedBy

incorporates

private java.util.Map incorporates

partOf

private java.util.Map partOf

relatesTo

private java.util.Map relatesTo

relatedTo

private java.util.Map relatedTo

id

private java.lang.Long id

project

private Project project

environment

private java.lang.String environment

priority

private java.lang.String priority

summary

private java.lang.String summary

type

private java.lang.String type

status

private java.lang.String status

resolution

private java.lang.String resolution

percentComplete

private int percentComplete

completed

private boolean completed

taskEstimatedHours

private int taskEstimatedHours
Constructor Detail

IssueData

public IssueData()
Method Detail

setAuthor

public void setAuthor(CoefficientUser author)

getAuthor

public CoefficientUser getAuthor()
Gets the value of name

Returns:
the value of name

setAssignedTo

public void setAssignedTo(CoefficientUser assignedTo)

getAssignedTo

public CoefficientUser getAssignedTo()
Gets the value of name

Returns:
the value of name

setCreateDate

public void setCreateDate(java.util.Date argCreateDate)
Sets the value of createDate

Parameters:
argId - Value to assign to this.createDate

getCreateDate

public java.util.Date getCreateDate()
Gets the value of createDate

Returns:
the value of createDate

setTaskStartDate

public void setTaskStartDate(java.util.Date argTaskStartDate)
Sets the value of taskStartDate

Parameters:
argId - Value to assign to this.taskStartDate

getTaskStartDate

public java.util.Date getTaskStartDate()
Gets the value of taskStartDate

Returns:
the value of taskStartDate

setTaskEndDate

public void setTaskEndDate(java.util.Date argTaskEndDate)
Sets the value of taskEndDate

Parameters:
argId - Value to assign to this.taskEndDate

getTaskEndDate

public java.util.Date getTaskEndDate()
Gets the value of taskEndDate

Returns:
the value of taskEndDate

setUpdatedDate

public void setUpdatedDate(java.util.Date argUpdatedDate)
Sets the value of updatedDate

Parameters:
argId - Value to assign to this.updatedDate

getUpdatedDate

public java.util.Date getUpdatedDate()
Gets the value of updatedDate

Returns:
the value of updatedDate

setEnvironment

public void setEnvironment(java.lang.String environment)
Sets the value of environment

Parameters:
argEnvironment - Value to assign to this.environment

getEnvironment

public java.lang.String getEnvironment()
Gets the value of environment

Returns:
the value of environment

setPriority

public void setPriority(java.lang.String priority)
Sets the value of priority

Parameters:
argPriority - Value to assign to this.priority

getPriority

public java.lang.String getPriority()
Gets the value of priority

Returns:
the value of priority

setResolution

public void setResolution(java.lang.String resolution)
Sets the value of resolution

Parameters:
argResolution - Value to assign to this.resolution

getResolution

public java.lang.String getResolution()
Gets the value of resolution

Returns:
the value of resolution

setPercentComplete

public void setPercentComplete(int percentComplete)
Sets the value of percentComplete

Parameters:
argPercentComplete - Value to assign to this.percentComplete

getPercentComplete

public int getPercentComplete()
Gets the value of percentComplete

Returns:
the value of percentComplete

setStatus

public void setStatus(java.lang.String status)
Sets the value of status

Parameters:
argStatus - Value to assign to this.status

getStatus

public java.lang.String getStatus()
Gets the value of status

Returns:
the value of status

getCompleted

public boolean getCompleted()
Gets the value of completed

Returns:
the value of completed

setCompleted

public void setCompleted(boolean completed)
Sets the value of completed

Parameters:
argCompleted - Value to assign to this.completed

setId

public void setId(java.lang.Long argId)
Sets the value of id

Parameters:
argId - Value to assign to this.id

getId

public java.lang.Long getId()
Gets the value of id

Returns:
the value of id

setProject

public void setProject(Project project)
Sets the value of project

Parameters:
argId - Value to assign to this.project

getProject

public Project getProject()
Gets the value of project

Returns:
the value of project

setSummary

public void setSummary(java.lang.String summary)
Sets the value of summary

Parameters:
argSummary - Value to assign to this.summary

getSummary

public java.lang.String getSummary()
Gets the value of summary

Returns:
the value of summary

setType

public void setType(java.lang.String type)
Sets the value of type

Parameters:
argType - Value to assign to this.type

getType

public java.lang.String getType()
Gets the value of type

Returns:
the value of type

setIssueComponents

public void setIssueComponents(java.util.List issueComponents)
Sets the value of issueComponents

Parameters:
issueComponents - Value to assign to this.issueComponents

getIssueComponents

public java.util.List getIssueComponents()
Gets the value of issueComponents

Returns:
the value of issueComponents

setAffectedVersions

public void setAffectedVersions(java.util.List affectedVersions)
Sets the value of affectedVersions

Parameters:
affectedVersions - Value to assign to this.affectedVersions

getAffectedVersions

public java.util.List getAffectedVersions()
Gets the value of affectedVersions

Returns:
the value of affectedVersions

setFixVersions

public void setFixVersions(java.util.List fixVersions)
Sets the value of fixVersions

Parameters:
fixVersions - Value to assign to this.fixVersions

getFixVersions

public java.util.List getFixVersions()
Gets the value of fixVersions

Returns:
the value of fixVersions

setDiscussion

public void setDiscussion(DiscussionData discussion)
Sets the value of discussion

Parameters:
argDiscussion - Value to assign to this.discussion

getDiscussion

public DiscussionData getDiscussion()
Gets the value of discussion

Returns:
the value of discussion

setUploads

public void setUploads(ProjectFolderItem uploads)
Sets the value of uploads

Parameters:
argUploads - Value to assign to this.uploads

getUploads

public ProjectFolderItem getUploads()
Gets the value of uploads

Returns:
the value of uploads

setVote

public void setVote(VoteData vote)
Sets the value of vote

Parameters:
argVote - Value to assign to this.vote

getVote

public VoteData getVote()
Gets the value of vote

Returns:
the value of vote

setWatchers

public void setWatchers(java.util.List argWatchers)
Sets the value of watchers

Parameters:
argWatchers - Value to assign to this.watchers

getWatchers

public java.util.List getWatchers()
Gets the value of watchers

Returns:
the value of watchers

addWatcher

public void addWatcher(CoefficientUser user)

removeWatcher

public void removeWatcher(CoefficientUser user)

setDuplicates

public void setDuplicates(java.util.Map argDuplicates)
Sets the value of duplicates

Parameters:
argDuplicates - Value to assign to this.duplicates

getDuplicates

public java.util.Map getDuplicates()
Gets the value of duplicates

Returns:
the value of duplicates

addDuplicates

public void addDuplicates(java.lang.Long id,
                          java.lang.String desc)

removeDuplicates

public void removeDuplicates(java.lang.Long id)

setDuplicatedBy

public void setDuplicatedBy(java.util.Map argDuplicatedBy)
Sets the value of duplicatedBy

Parameters:
argDuplicatedBy - Value to assign to this.duplicatedBy

getDuplicatedBy

public java.util.Map getDuplicatedBy()
Gets the value of duplicatedBy

Returns:
the value of duplicatedBy

addDuplicatedBy

public void addDuplicatedBy(java.lang.Long id,
                            java.lang.String desc)

removeDuplicatedBy

public void removeDuplicatedBy(java.lang.Long id)

setIncorporates

public void setIncorporates(java.util.Map argIncorporates)
Sets the value of incorporates

Parameters:
argIncorporates - Value to assign to this.incorporates

getIncorporates

public java.util.Map getIncorporates()
Gets the value of incorporates

Returns:
the value of incorporates

addIncorporates

public void addIncorporates(java.lang.Long id,
                            java.lang.String desc)

removeIncorporates

public void removeIncorporates(java.lang.Long id)

setPartOf

public void setPartOf(java.util.Map argPartOf)
Sets the value of partOf

Parameters:
argPartOf - Value to assign to this.partOf

getPartOf

public java.util.Map getPartOf()
Gets the value of partOf

Returns:
the value of partOf

addPartOf

public void addPartOf(java.lang.Long id,
                      java.lang.String desc)

removePartOf

public void removePartOf(java.lang.Long id)

setRelatesTo

public void setRelatesTo(java.util.Map argRelatesTo)
Sets the value of relatesTo

Parameters:
argRelatesTo - Value to assign to this.relatesTo

getRelatesTo

public java.util.Map getRelatesTo()
Gets the value of relatesTo

Returns:
the value of relatesTo

addRelatesTo

public void addRelatesTo(java.lang.Long id,
                         java.lang.String desc)

removeRelatesTo

public void removeRelatesTo(java.lang.Long id)

setRelatedTo

public void setRelatedTo(java.util.Map argRelatedTo)
Sets the value of relatedTo

Parameters:
argRelatedTo - Value to assign to this.relatedTo

getRelatedTo

public java.util.Map getRelatedTo()
Gets the value of relatedTo

Returns:
the value of relatedTo

addRelatedTo

public void addRelatedTo(java.lang.Long id,
                         java.lang.String desc)

removeRelatedTo

public void removeRelatedTo(java.lang.Long id)

getTaskEstimatedHours

public int getTaskEstimatedHours()
Gets the value of estimatedHours

Returns:
the value of estimatedHours

setTaskEstimatedHours

public void setTaskEstimatedHours(int argTaskEstimatedHours)
Sets the value of taskEstimatedHours

Parameters:
argId - Value to assign to this.taskEstimatedHours


Copyright CSIR. All Rights Reserved.