com.atlassian.jira.issue.link
Class IssueLinkTypeImpl
java.lang.Object
com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
com.atlassian.jira.issue.link.IssueLinkTypeImpl
- All Implemented Interfaces:
- IssueLinkType, OfBizValueWrapper, Comparable<IssueLinkType>
public class IssueLinkTypeImpl
- extends AbstractOfBizValueWrapper
- implements IssueLinkType
Constructor Summary |
IssueLinkTypeImpl(org.ofbiz.core.entity.GenericValue genericValue)
Creates an IssueLinkType from the given GenericValue. |
IssueLinkTypeImpl
public IssueLinkTypeImpl(org.ofbiz.core.entity.GenericValue genericValue)
- Creates an IssueLinkType from the given GenericValue.
- Parameters:
genericValue
- the GenericValue
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-2012 Atlassian. All Rights Reserved.