Serializable
, Cloneable
, Comparable<Entity>
, Entity
public class Issue extends AbstractEntity implements Comparable<Entity>
This class contains the core of the information we're managing.
AbstractEntity.CreateDateComparator, AbstractEntity.IdComparator, AbstractEntity.LastModifiedDateComparator
Modifier and Type | Field | Description |
---|---|---|
static Comparator<Issue> |
OWNER_AND_STATUS_COMPARATOR |
|
static Comparator<Issue> |
PROJECT_AND_STATUS_COMPARATOR |
|
static Comparator<Issue> |
SEVERITY_COMPARATOR |
|
static Comparator<Issue> |
STATUS_COMPARATOR |
CREATE_DATE_COMPARATOR, ID_COMPARATOR, LAST_MODIFIED_DATE_COMPARATOR
Constructor | Description |
---|---|
Issue() |
Default constructor (required by Hibernate).
|
clone, compareTo, equals, getCreateDate, getId, getLastModifiedDate, hashCode, isNew, setCreateDate, setId, setLastModifiedDate
compareTo
public static final Comparator<Issue> STATUS_COMPARATOR
public static final Comparator<Issue> PROJECT_AND_STATUS_COMPARATOR
public static final Comparator<Issue> OWNER_AND_STATUS_COMPARATOR
public static final Comparator<Issue> SEVERITY_COMPARATOR
public Issue()
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.
public List<IssueActivity> getActivities()
public void setActivities(List<IssueActivity> activities)
public List<IssueAttachment> getAttachments()
public void setAttachments(List<IssueAttachment> attachments)
public User getCreator()
public void setCreator(User creator)
public String getDescription()
public void setDescription(String description)
public List<IssueField> getFields()
public void setFields(List<IssueField> fields)
public List<IssueHistory> getHistory()
public void setHistory(List<IssueHistory> history)
public List<Notification> getNotifications()
public void setNotifications(List<Notification> notifications)
public User getOwner()
public void setOwner(User owner)
public Project getProject()
public void setProject(Project project)
public List<IssueRelation> getRelations()
public void setRelations(List<IssueRelation> relations)
public String getResolution()
public void setResolution(String resolution)
public Integer getSeverity()
public void setSeverity(Integer severity)
public Integer getStatus()
public void setStatus(Integer status)
public Version getTargetVersion()
public void setTargetVersion(Version targetVersion)
Copyright © 2002–2019 itracker. All rights reserved.