com.atlassian.jira.issue.link
Class IssueLinkType

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

public class IssueLinkType
extends AbstractOfBizValueWrapper
implements Comparable


Field Summary
(package private) static String INWARD_FIELD_NAME
           
(package private) static String NAME_FIELD_NAME
           
(package private) static String OUTWARD_FIELD_NAME
           
(package private) static String STYLE_FIELD_NAME
           
 
Fields inherited from class com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
genericValue
 
Constructor Summary
IssueLinkType(org.ofbiz.core.entity.GenericValue genericValue)
          Creates an IssueLinkType from the given GenericValue.
IssueLinkType(org.ofbiz.core.entity.GenericValue genericValue, IssueLinkTypeManager issueLinkTypeManager)
          Deprecated. use IssueLinkType(GenericValue) we don't need the ILTM.
 
Method Summary
 int compareTo(Object o)
          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.
(package private)  void setInward(String inward)
           
(package private)  void setName(String name)
           
(package private)  void setOutward(String outward)
           
(package private)  void setStyle(String style)
           
 
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

NAME_FIELD_NAME

static final String NAME_FIELD_NAME
See Also:
Constant Field Values

OUTWARD_FIELD_NAME

static final String OUTWARD_FIELD_NAME
See Also:
Constant Field Values

INWARD_FIELD_NAME

static final String INWARD_FIELD_NAME
See Also:
Constant Field Values

STYLE_FIELD_NAME

static final String STYLE_FIELD_NAME
See Also:
Constant Field Values
Constructor Detail

IssueLinkType

public IssueLinkType(org.ofbiz.core.entity.GenericValue genericValue,
                     IssueLinkTypeManager issueLinkTypeManager)
Deprecated. use IssueLinkType(GenericValue) we don't need the ILTM.

Parameters:
genericValue -
issueLinkTypeManager -

IssueLinkType

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

Parameters:
genericValue -
Method Detail

getId

public Long getId()

getName

public String getName()

getOutward

public String getOutward()

getInward

public String getInward()

getStyle

public String getStyle()

setName

void setName(String name)

setOutward

void setOutward(String outward)

setInward

void setInward(String inward)

setStyle

void setStyle(String style)

compareTo

public int compareTo(Object o)
Compare on name (in alphabetical order)

Specified by:
compareTo in interface Comparable
Parameters:
o -

isSubTaskLinkType

public boolean isSubTaskLinkType()

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.



Copyright © 2002-2006 Atlassian. All Rights Reserved.