com.atlassian.jira.issue.fields.option
Class AbstractOption

java.lang.Object
  extended by com.atlassian.jira.issue.fields.option.AbstractOption
All Implemented Interfaces:
Option, Comparable
Direct Known Subclasses:
AbstractChildOption, ComponentOption, FieldConfigSchemeOption, GroupOption, IssueConstantOption, ProjectOption, TextOption, VersionOption

@Internal
public abstract class AbstractOption
extends Object
implements Option, Comparable


Constructor Summary
AbstractOption()
           
 
Method Summary
 int compareTo(Object obj)
           
 boolean equals(Object o)
           
 List getChildOptions()
          Returns a list of dependent child options.
 String getCssClass()
           
 String getImagePath()
           
 String getImagePathHtml()
          Returns the HTML-encoded image path for this Option.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.issue.fields.option.Option
getDescription, getId, getName
 

Constructor Detail

AbstractOption

public AbstractOption()
Method Detail

getImagePath

public String getImagePath()
Specified by:
getImagePath in interface Option

getImagePathHtml

public String getImagePathHtml()
Description copied from interface: Option
Returns the HTML-encoded image path for this Option.

Specified by:
getImagePathHtml in interface Option
Returns:
an HTML-encoded image path
See Also:
Option.getImagePath()

getCssClass

public String getCssClass()
Specified by:
getCssClass in interface Option

getChildOptions

public List getChildOptions()
Description copied from interface: Option
Returns a list of dependent child options. Returns empty list if no children

Specified by:
getChildOptions in interface Option
Returns:
List of Option objects. (empty list if no children)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

compareTo

public int compareTo(Object obj)
Specified by:
compareTo in interface Comparable

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2013 Atlassian. All Rights Reserved.