com.atlassian.jira.issue.link
Class IssueLink

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

public class IssueLink
extends AbstractOfBizValueWrapper


Field Summary
(package private) static String DESTINATION_ID_LINK_NAME
           
(package private) static String LINK_TYPE_ID_FIELD_NAME
           
(package private) static String SEQUENCE_FIELD_NAME
           
(package private) static String SOURCE_ID_FIELD_NAME
           
 
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.
(package private)  void setIssueLinkType(IssueLinkType issueLinkType)
           
(package private)  void setSequence(Long sequence)
           
 
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
 

Field Detail

LINK_TYPE_ID_FIELD_NAME

static final String LINK_TYPE_ID_FIELD_NAME
See Also:
Constant Field Values

SOURCE_ID_FIELD_NAME

static final String SOURCE_ID_FIELD_NAME
See Also:
Constant Field Values

DESTINATION_ID_LINK_NAME

static final String DESTINATION_ID_LINK_NAME
See Also:
Constant Field Values

SEQUENCE_FIELD_NAME

static final String SEQUENCE_FIELD_NAME
See Also:
Constant Field Values
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()

setSequence

void setSequence(Long sequence)

setIssueLinkType

void setIssueLinkType(IssueLinkType issueLinkType)

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-2007 Atlassian. All Rights Reserved.