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:
ComponentOption, FieldConfigSchemeOption, GroupOption, IssueConstantOption, ProjectOption, TextOption, UserOption, VersionOption

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()
           
 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

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 Collections.EMPTY_LIST if no children

Specified by:
getChildOptions in interface Option
Returns:
List of Option objects. Collections.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-2008 Atlassian. All Rights Reserved.