public class LazyLoadedOption extends Object implements Option, Comparable<Option>
| Constructor and Description |
|---|
LazyLoadedOption(org.ofbiz.core.entity.GenericValue gv,
OptionsManager optionsManager,
FieldConfigManager fieldManager) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Option o) |
boolean |
equals(Object o) |
List<Option> |
getChildOptions()
Return a list of options that exist under this option (i.e.
|
Boolean |
getDisabled()
Get the disabled status.
|
org.ofbiz.core.entity.GenericValue |
getGenericValue() |
Long |
getOptionId()
The ID of the option or null if it currently does not have one.
|
Option |
getParentOption() |
FieldConfig |
getRelatedCustomField() |
Long |
getSequence() |
String |
getValue()
The current value of the option.
|
int |
hashCode() |
List<Option> |
retrieveAllChildren(List<Option> listToAddTo) |
void |
setDisabled(Boolean disabled) |
void |
setSequence(Long sequence) |
void |
setValue(String value) |
void |
store() |
String |
toString() |
public LazyLoadedOption(org.ofbiz.core.entity.GenericValue gv,
OptionsManager optionsManager,
FieldConfigManager fieldManager)
public FieldConfig getRelatedCustomField()
getRelatedCustomField in interface Optionpublic Option getParentOption()
getParentOption in interface Option@Nonnull public List<Option> getChildOptions()
OptionNOTE: This method is here is keep the API checker happy (JRADEV-23901).
getChildOptions in interface OptiongetChildOptions in interface SimpleOption<Option>public List<Option> retrieveAllChildren(@Nullable List<Option> listToAddTo)
retrieveAllChildren in interface Optionpublic Long getOptionId()
OptionNOTE: This method is here is keep the API checker happy (see JRADEV-23901).
getOptionId in interface OptiongetOptionId in interface SimpleOption<Option>public Long getSequence()
getSequence in interface Optionpublic String getValue()
OptionNOTE: This method is here is keep the API checker happy (JRADEV-23901).
getValue in interface OptiongetValue in interface SimpleOption<Option>public Boolean getDisabled()
OptiongetDisabled in interface Optionpublic void setSequence(Long sequence)
setSequence in interface Optionpublic void setDisabled(Boolean disabled)
setDisabled in interface Optionpublic org.ofbiz.core.entity.GenericValue getGenericValue()
getGenericValue in interface Optionpublic int compareTo(Option o)
compareTo in interface Comparable<Option>Copyright © 2002-2016 Atlassian. All Rights Reserved.