Serializable
, Cloneable
, Comparable<Entity>
, Entity
public class IssueRelation extends AbstractEntity
Modifier and Type | Class | Description |
---|---|---|
static class |
IssueRelation.Type |
AbstractEntity.CreateDateComparator, AbstractEntity.IdComparator, AbstractEntity.LastModifiedDateComparator
CREATE_DATE_COMPARATOR, ID_COMPARATOR, LAST_MODIFIED_DATE_COMPARATOR
Constructor | Description |
---|---|
IssueRelation() |
Default constructor (required by Hibernate).
|
IssueRelation(Issue issue,
Issue relatedIssue,
IssueRelation.Type relationType) |
Modifier and Type | Method | Description |
---|---|---|
Issue |
getIssue() |
|
Integer |
getMatchingRelationId() |
|
Issue |
getRelatedIssue() |
|
IssueRelation.Type |
getRelationType() |
|
void |
setIssue(Issue issue) |
|
void |
setMatchingRelationId(Integer matchingRelationId) |
|
void |
setRelatedIssue(Issue relatedIssue) |
|
void |
setRelationType(IssueRelation.Type type) |
|
String |
toString() |
clone, compareTo, equals, getCreateDate, getId, getLastModifiedDate, hashCode, isNew, setCreateDate, setId, setLastModifiedDate
public IssueRelation()
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 IssueRelation(Issue issue, Issue relatedIssue, IssueRelation.Type relationType)
public Issue getIssue()
public void setIssue(Issue issue)
public Issue getRelatedIssue()
public void setRelatedIssue(Issue relatedIssue)
public IssueRelation.Type getRelationType()
public void setRelationType(IssueRelation.Type type)
public Integer getMatchingRelationId()
public void setMatchingRelationId(Integer matchingRelationId)
Copyright © 2002–2019 itracker. All rights reserved.