Package 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>
-
Field Summary
FieldsFields inherited from class com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
genericValueFields inherited from interface com.atlassian.jira.issue.link.IssueLinkType
INWARD_FIELD_NAME, NAME_FIELD_NAME, OUTWARD_FIELD_NAME, STYLE_FIELD_NAME -
Constructor Summary
ConstructorsConstructorDescriptionIssueLinkTypeImpl(org.ofbiz.core.entity.GenericValue genericValue) Creates an IssueLinkType from the given GenericValue. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(IssueLinkType other) Compare on name (in alphabetical order)getId()getName()getStyle()booleanbooleanChecks if this link type is a System Link type.Methods inherited from class com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
equals, getGenericValue, getLong, getString, getTimestamp, hashCode, storeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.ofbiz.OfBizValueWrapper
getGenericValue, getLong, getString, getTimestamp, store
-
Field Details
-
SYSTEM_LINK_TYPE_PREFIX
- See Also:
-
-
Constructor Details
-
IssueLinkTypeImpl
public IssueLinkTypeImpl(org.ofbiz.core.entity.GenericValue genericValue) Creates an IssueLinkType from the given GenericValue.- Parameters:
genericValue- the GenericValue
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceIssueLinkType- Returns:
- the id of this IssueLinkType
-
getName
- Specified by:
getNamein interfaceIssueLinkType- Returns:
- the name of this IssueLinkType
-
getOutward
- Specified by:
getOutwardin interfaceIssueLinkType- Returns:
- the outward name of this IssueLinkType
-
getInward
- Specified by:
getInwardin interfaceIssueLinkType- Returns:
- the inward name of this IssueLinkType
-
getStyle
- Specified by:
getStylein interfaceIssueLinkType- Returns:
- the style name of this IssueLinkType
-
compareTo
Compare on name (in alphabetical order)- Specified by:
compareToin interfaceComparable<IssueLinkType>- Parameters:
other- the other IssueLinkType to compare to
-
isSubTaskLinkType
public boolean isSubTaskLinkType()- Specified by:
isSubTaskLinkTypein interfaceIssueLinkType- 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:
isSystemLinkTypein interfaceIssueLinkType- Returns:
- true if this is a System Link Type
-