org.itracker.model
Class IssueRelation
java.lang.Object
org.itracker.model.AbstractEntity
org.itracker.model.IssueRelation
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<Entity>, Entity
public class IssueRelation
- extends AbstractEntity
A relation between issues.
- Author:
- ready
- See Also:
- Serialized Form
| Methods inherited from class org.itracker.model.AbstractEntity |
clone, compareTo, equals, getCreateDate, getId, getLastModifiedDate, hashCode, isNew, setCreateDate, setId, setLastModifiedDate |
IssueRelation
public IssueRelation()
- 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.
IssueRelation
public IssueRelation(Issue issue,
Issue relatedIssue,
int relationType)
getIssue
public Issue getIssue()
setIssue
public void setIssue(Issue issue)
getRelatedIssue
public Issue getRelatedIssue()
setRelatedIssue
public void setRelatedIssue(Issue relatedIssue)
getRelationType
public int getRelationType()
setRelationType
public void setRelationType(int type)
getMatchingRelationId
public Integer getMatchingRelationId()
setMatchingRelationId
public void setMatchingRelationId(Integer matchingRelationId)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2002-2012 itracker. All Rights Reserved.