com.atlassian.jira.issue.customfields.option
Class LazyLoadedOption

java.lang.Object
  extended by com.atlassian.jira.issue.customfields.option.LazyLoadedOption
All Implemented Interfaces:
Option, Comparable<Option>

public class LazyLoadedOption
extends Object
implements Option, Comparable<Option>


Constructor Summary
LazyLoadedOption(org.ofbiz.core.entity.GenericValue gv, OptionsManager optionsManager, FieldConfigManager fieldManager)
           
 
Method Summary
 int compareTo(Option o)
           
 boolean equals(Object o)
           
 List<Option> getChildOptions()
           
 Boolean getDisabled()
          Get the disabled status.
 org.ofbiz.core.entity.GenericValue getGenericValue()
           
 Long getOptionId()
           
 Option getParentOption()
           
 FieldConfig getRelatedCustomField()
           
 Long getSequence()
           
 String getValue()
           
 int hashCode()
           
 List<Option> retrieveAllChildren(List<Option> listToAddTo)
           
 void setDisabled(Boolean disabled)
           
 void setSequence(Long sequence)
           
 void setValue(String value)
           
 void store()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LazyLoadedOption

public LazyLoadedOption(org.ofbiz.core.entity.GenericValue gv,
                        OptionsManager optionsManager,
                        FieldConfigManager fieldManager)
Method Detail

getRelatedCustomField

public FieldConfig getRelatedCustomField()
Specified by:
getRelatedCustomField in interface Option

getParentOption

public Option getParentOption()
Specified by:
getParentOption in interface Option

getChildOptions

public List<Option> getChildOptions()
Specified by:
getChildOptions in interface Option

retrieveAllChildren

public List<Option> retrieveAllChildren(@Nullable
                                        List<Option> listToAddTo)
Specified by:
retrieveAllChildren in interface Option

getOptionId

public Long getOptionId()
Specified by:
getOptionId in interface Option

getSequence

public Long getSequence()
Specified by:
getSequence in interface Option

getValue

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

getDisabled

public Boolean getDisabled()
Description copied from interface: Option
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.

Specified by:
getDisabled in interface Option

setValue

public void setValue(String value)
Specified by:
setValue in interface Option

setSequence

public void setSequence(Long sequence)
Specified by:
setSequence in interface Option

setDisabled

public void setDisabled(Boolean disabled)
Specified by:
setDisabled in interface Option

store

public void store()
Specified by:
store in interface Option

getGenericValue

public org.ofbiz.core.entity.GenericValue getGenericValue()
Specified by:
getGenericValue in interface Option

compareTo

public int compareTo(Option o)
Specified by:
compareTo in interface Comparable<Option>

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2012 Atlassian. All Rights Reserved.