com.atlassian.jira.issue.link
Class IssueLink

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

public class IssueLink
extends AbstractOfBizValueWrapper


Field Summary
 
Fields inherited from class com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
genericValue
 
Constructor Summary
IssueLink(org.ofbiz.core.entity.GenericValue genericValue, IssueLinkTypeManager issueLinkTypeManager, IssueManager issueManager)
           
 
Method Summary
 org.ofbiz.core.entity.GenericValue getDestination()
          Deprecated. Use getDestinationObject() instead.
 Long getDestinationId()
          Get the issue ID (ie.
 MutableIssue getDestinationObject()
          Get the destination Issue of the link.
 Long getId()
           
 IssueLinkType getIssueLinkType()
           
 Long getLinkTypeId()
           
 Long getSequence()
           
 org.ofbiz.core.entity.GenericValue getSource()
          Deprecated. Use getSourceObject() instead.
 Long getSourceId()
          Get the Issue ID (ie.
 MutableIssue 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
 

Constructor Detail

IssueLink

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

getId

public Long getId()

getLinkTypeId

public Long getLinkTypeId()

getSourceId

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


getDestinationId

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


getSequence

public Long getSequence()

getIssueLinkType

public IssueLinkType getIssueLinkType()

getSourceObject

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


getDestinationObject

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


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.


getSource

public org.ofbiz.core.entity.GenericValue getSource()
Deprecated. Use getSourceObject() instead.


getDestination

public org.ofbiz.core.entity.GenericValue getDestination()
Deprecated. Use getDestinationObject() instead.



Copyright © 2002-2008 Atlassian. All Rights Reserved.