org.itracker.model
Class Issue
java.lang.Object
org.itracker.model.AbstractEntity
org.itracker.model.Issue
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<Entity>, Entity
public class Issue
- extends AbstractEntity
- implements Comparable<Entity>
A project issue.
This class contains the core of the information we're managing.
- Author:
- ready
- See Also:
- Serialized Form
|
Constructor Summary |
Issue()
Default constructor (required by Hibernate). |
| Methods inherited from class org.itracker.model.AbstractEntity |
clone, compareTo, equals, getCreateDate, getId, getLastModifiedDate, hashCode, isNew, setCreateDate, setId, setLastModifiedDate |
STATUS_COMPARATOR
public static final Comparator<Issue> STATUS_COMPARATOR
PROJECT_AND_STATUS_COMPARATOR
public static final Comparator<Issue> PROJECT_AND_STATUS_COMPARATOR
OWNER_AND_STATUS_COMPARATOR
public static final Comparator<Issue> OWNER_AND_STATUS_COMPARATOR
SEVERITY_COMPARATOR
public static final Comparator<Issue> SEVERITY_COMPARATOR
Issue
public Issue()
- Default constructor (required by Hibernate).
PENDING: should be private so that it can only be used
by Hibernate, to ensure that the fields which form an instance's
identity are always initialized/never null.
getActivities
public List<IssueActivity> getActivities()
setActivities
public void setActivities(List<IssueActivity> activities)
getAttachments
public List<IssueAttachment> getAttachments()
setAttachments
public void setAttachments(List<IssueAttachment> attachments)
getComponents
public List<Component> getComponents()
setComponents
public void setComponents(List<Component> components)
getCreator
public User getCreator()
setCreator
public void setCreator(User creator)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getFields
public List<IssueField> getFields()
setFields
public void setFields(List<IssueField> fields)
getHistory
public List<IssueHistory> getHistory()
setHistory
public void setHistory(List<IssueHistory> history)
getNotifications
public List<Notification> getNotifications()
setNotifications
public void setNotifications(List<Notification> notifications)
getOwner
public User getOwner()
setOwner
public void setOwner(User owner)
getProject
public Project getProject()
setProject
public void setProject(Project project)
getRelations
public List<IssueRelation> getRelations()
setRelations
public void setRelations(List<IssueRelation> relations)
getResolution
public String getResolution()
setResolution
public void setResolution(String resolution)
getSeverity
public Integer getSeverity()
setSeverity
public void setSeverity(Integer severity)
getStatus
public Integer getStatus()
setStatus
public void setStatus(int status)
getTargetVersion
public Version getTargetVersion()
setTargetVersion
public void setTargetVersion(Version targetVersion)
getVersions
public List<Version> getVersions()
setVersions
public void setVersions(List<Version> versions)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2002-2012 itracker. All Rights Reserved.