com.atlassian.jira.issue.link
Class IssueLinkTypeImpl

java.lang.Object
  extended by com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
      extended by com.atlassian.jira.issue.link.IssueLinkTypeImpl
All Implemented Interfaces:
IssueLinkType, OfBizValueWrapper, Comparable<IssueLinkType>

public class IssueLinkTypeImpl
extends AbstractOfBizValueWrapper
implements IssueLinkType


Field Summary
 
Fields inherited from class com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
genericValue
 
Fields inherited from interface com.atlassian.jira.issue.link.IssueLinkType
INWARD_FIELD_NAME, NAME_FIELD_NAME, OUTWARD_FIELD_NAME, STYLE_FIELD_NAME
 
Constructor Summary
IssueLinkTypeImpl(org.ofbiz.core.entity.GenericValue genericValue)
          Creates an IssueLinkType from the given GenericValue.
 
Method Summary
 int compareTo(IssueLinkType other)
          Compare on name (in alphabetical order)
 Long getId()
           
 String getInward()
           
 String getName()
           
 String getOutward()
           
 String getStyle()
           
 boolean isSubTaskLinkType()
           
 boolean isSystemLinkType()
          Checks if this link 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

IssueLinkTypeImpl

public IssueLinkTypeImpl(org.ofbiz.core.entity.GenericValue genericValue)
Creates an IssueLinkType from the given GenericValue.

Parameters:
genericValue - the GenericValue
Method Detail

getId

public Long getId()
Specified by:
getId in interface IssueLinkType
Returns:
the id of this IssueLinkType

getName

public String getName()
Specified by:
getName in interface IssueLinkType
Returns:
the name of this IssueLinkType

getOutward

public String getOutward()
Specified by:
getOutward in interface IssueLinkType
Returns:
the outward name of this IssueLinkType

getInward

public String getInward()
Specified by:
getInward in interface IssueLinkType
Returns:
the inward name of this IssueLinkType

getStyle

public String getStyle()
Specified by:
getStyle in interface IssueLinkType
Returns:
the style name of this IssueLinkType

compareTo

public int compareTo(IssueLinkType other)
Compare on name (in alphabetical order)

Specified by:
compareTo in interface Comparable<IssueLinkType>
Parameters:
other - the other IssueLinkType to compare to

isSubTaskLinkType

public boolean isSubTaskLinkType()
Specified by:
isSubTaskLinkType in interface IssueLinkType
Returns:
true if the link type is a subtask link

isSystemLinkType

public boolean isSystemLinkType()
Checks if this link type is a System Link type. System link types are used by JIRA to denote a special relationship between issues. For example, a sub-task is linked ot its parent issue using a link that is of a system link type.

Specified by:
isSystemLinkType in interface IssueLinkType
Returns:
true if this is a System Link Type


Copyright © 2002-2013 Atlassian. All Rights Reserved.