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 Option
public Option getParentOption()
getParentOption
in interface Option
@Nonnull public List<Option> getChildOptions()
Option
NOTE: This method is here is keep the API checker happy (JRADEV-23901).
getChildOptions
in interface Option
getChildOptions
in interface SimpleOption<Option>
public List<Option> retrieveAllChildren(@Nullable List<Option> listToAddTo)
retrieveAllChildren
in interface Option
public Long getOptionId()
Option
NOTE: This method is here is keep the API checker happy (see JRADEV-23901).
getOptionId
in interface Option
getOptionId
in interface SimpleOption<Option>
public Long getSequence()
getSequence
in interface Option
public String getValue()
Option
NOTE: This method is here is keep the API checker happy (JRADEV-23901).
getValue
in interface Option
getValue
in interface SimpleOption<Option>
public Boolean getDisabled()
Option
getDisabled
in interface Option
public void setSequence(Long sequence)
setSequence
in interface Option
public void setDisabled(Boolean disabled)
setDisabled
in interface Option
public org.ofbiz.core.entity.GenericValue getGenericValue()
getGenericValue
in interface Option
public int compareTo(Option o)
compareTo
in interface Comparable<Option>
Copyright © 2002-2015 Atlassian. All Rights Reserved.