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

java.lang.Object
  extended by com.atlassian.jira.issue.fields.option.AbstractOption
      extended by com.atlassian.jira.issue.fields.option.ProjectOption
All Implemented Interfaces:
Option, Comparable

public class ProjectOption
extends AbstractOption
implements Option


Field Summary
static org.apache.commons.collections.Transformer TRANSFORMER
           
 
Constructor Summary
ProjectOption(org.ofbiz.core.entity.GenericValue project)
           
ProjectOption(org.ofbiz.core.entity.GenericValue project, List childOptions)
           
 
Method Summary
 List getChildOptions()
          Returns a list of dependent child options.
 String getDescription()
           
 String getId()
           
 String getName()
           
 
Methods inherited from class com.atlassian.jira.issue.fields.option.AbstractOption
compareTo, equals, getCssClass, getImagePath, getImagePathHtml, 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
getCssClass, getImagePath, getImagePathHtml
 

Field Detail

TRANSFORMER

public static final org.apache.commons.collections.Transformer TRANSFORMER
Constructor Detail

ProjectOption

public ProjectOption(org.ofbiz.core.entity.GenericValue project)

ProjectOption

public ProjectOption(org.ofbiz.core.entity.GenericValue project,
                     List childOptions)
Method Detail

getId

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

getName

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

getDescription

public String getDescription()
Specified by:
getDescription 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
Overrides:
getChildOptions in class AbstractOption
Returns:
List of Option objects. (empty list if no children)


Copyright © 2002-2012 Atlassian. All Rights Reserved.