@PublicApi public interface Option extends SimpleOption<Option>
Modifier and Type | Method and Description |
---|---|
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.
|
List<Option> |
retrieveAllChildren(List<Option> listToAddTo) |
void |
setDisabled(Boolean disabled) |
void |
setSequence(Long sequence) |
void |
setValue(String value) |
void |
store() |
Long getSequence()
Boolean getDisabled()
org.ofbiz.core.entity.GenericValue getGenericValue()
FieldConfig getRelatedCustomField()
Option getParentOption()
void setSequence(Long sequence)
void setValue(String value)
void setDisabled(Boolean disabled)
void store()
@Nullable Long getOptionId()
NOTE: This method is here is keep the API checker happy (see JRADEV-23901).
getOptionId
in interface SimpleOption<Option>
String getValue()
NOTE: This method is here is keep the API checker happy (JRADEV-23901).
getValue
in interface SimpleOption<Option>
@Nonnull List<Option> getChildOptions()
NOTE: This method is here is keep the API checker happy (JRADEV-23901).
getChildOptions
in interface SimpleOption<Option>
Copyright © 2002-2019 Atlassian. All Rights Reserved.