com.atlassian.jira.issue.link
Class IssueLinkImpl

java.lang.Object
  extended by com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
      extended by com.atlassian.jira.issue.link.IssueLinkImpl
All Implemented Interfaces:
IssueLink, OfBizValueWrapper

public class IssueLinkImpl
extends AbstractOfBizValueWrapper
implements IssueLink


Field Summary
 
Fields inherited from class com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
genericValue
 
Constructor Summary
IssueLinkImpl(org.ofbiz.core.entity.GenericValue genericValue, IssueLinkTypeManager issueLinkTypeManager, IssueManager issueManager)
           
 
Method Summary
 Long getDestinationId()
          Get the issue ID (ie.
 Issue getDestinationObject()
          Get the destination Issue of the link.
 Long getId()
           
 IssueLinkType getIssueLinkType()
           
 Long getLinkTypeId()
           
 Long getSequence()
           
 Long getSourceId()
          Get the Issue ID (ie.
 Issue getSourceObject()
          Get the source Issue of the link.
 boolean isSystemLink()
          Checks if this link's type is a System Link type.
 
Methods inherited from class com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
equals, getGenericValue, getLong, getString, getTimestamp, hashCode, store
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.ofbiz.OfBizValueWrapper
getGenericValue, getLong, getString, getTimestamp, store
 

Constructor Detail

IssueLinkImpl

public IssueLinkImpl(org.ofbiz.core.entity.GenericValue genericValue,
                     IssueLinkTypeManager issueLinkTypeManager,
                     IssueManager issueManager)
Method Detail

getId

public Long getId()
Specified by:
getId in interface IssueLink

getLinkTypeId

public Long getLinkTypeId()
Specified by:
getLinkTypeId in interface IssueLink

getSourceId

public Long getSourceId()
Get the Issue ID (ie. Issue.getId()) of the linked-from issue.

Specified by:
getSourceId in interface IssueLink

getDestinationId

public Long getDestinationId()
Get the issue ID (ie. Issue.getId()) of the linked-to issue.

Specified by:
getDestinationId in interface IssueLink

getSequence

public Long getSequence()
Specified by:
getSequence in interface IssueLink

getIssueLinkType

public IssueLinkType getIssueLinkType()
Specified by:
getIssueLinkType in interface IssueLink

getSourceObject

public Issue getSourceObject()
Get the source Issue of the link.

Specified by:
getSourceObject in interface IssueLink

getDestinationObject

public Issue getDestinationObject()
Get the destination Issue of the link.

Specified by:
getDestinationObject in interface IssueLink

isSystemLink

public boolean isSystemLink()
Checks if this link's type is a System Link type. A System Link Type is a link type that is used by JIRA to denote special relationships. For example, a sub-task is linked to its parent issue using a link type that is a System Link Type.

Specified by:
isSystemLink in interface IssueLink


Copyright © 2002-2012 Atlassian. All Rights Reserved.