public class

LazyLoadedOption

extends Object
implements Option Comparable<T>
java.lang.Object
   ↳ com.atlassian.jira.issue.customfields.option.LazyLoadedOption

Summary

Public Constructors
LazyLoadedOption(GenericValue gv, OptionsManager optionsManager, FieldConfigManager fieldManager)
Public Methods
int compareTo(Option o)
boolean equals(Object o)
@Nonnull List<Option> getChildOptions()
Return a list of options that exist under this option (i.e.

NOTE: This method is here is keep the API checker happy (JRADEV-23901).

Boolean getDisabled()
Get the disabled status.
GenericValue getGenericValue()
Long getOptionId()
The ID of the option or null if it currently does not have one.

NOTE: This method is here is keep the API checker happy (see JRADEV-23901).

Option getParentOption()
FieldConfig getRelatedCustomField()
Long getSequence()
String getValue()
The current value of the option.

NOTE: This method is here is keep the API checker happy (JRADEV-23901).

int hashCode()
List<Option> retrieveAllChildren(List<Option> listToAddTo)
void setDisabled(Boolean disabled)
void setSequence(Long sequence)
void setValue(String value)
void store()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.customfields.option.Option
From interface com.atlassian.jira.issue.customfields.option.SimpleOption
From interface java.lang.Comparable

Public Constructors

public LazyLoadedOption (GenericValue gv, OptionsManager optionsManager, FieldConfigManager fieldManager)

Public Methods

public int compareTo (Option o)

public boolean equals (Object o)

@Nonnull public List<Option> getChildOptions ()

Return a list of options that exist under this option (i.e. its children).

NOTE: This method is here is keep the API checker happy (JRADEV-23901).

Returns
  • the list of options that exist under this option. An empty list is returned when such options exist.

public Boolean getDisabled ()

Get the disabled status. A disabled option will is not available to be assigned to this associated custom field, It remains valid historically and for searching with.

public GenericValue getGenericValue ()

public Long getOptionId ()

The ID of the option or null if it currently does not have one.

NOTE: This method is here is keep the API checker happy (see JRADEV-23901).

Returns
  • the ID of the option or null if it does not have one.

public Option getParentOption ()

public FieldConfig getRelatedCustomField ()

public Long getSequence ()

public String getValue ()

The current value of the option. This is the option displayed to the user.

NOTE: This method is here is keep the API checker happy (JRADEV-23901).

Returns
  • the value of the option.

public int hashCode ()

public List<Option> retrieveAllChildren (List<Option> listToAddTo)

public void setDisabled (Boolean disabled)

public void setSequence (Long sequence)

public void setValue (String value)

public void store ()

public String toString ()