Option interface

This document details the methods of the Option interface you can use on any option, such as those returned by the Getters when you access an Option.

Method

Return type

Returns

getChildOptions()

List<Option>

A list of options that exist under this option

getDisabled()

Boolean

True if the option is disabled
getParentOption()OptionThe parent option if any

getOptionId()

Long

The Id of the option

getRelatedCustomField()

FieldConfig

Field configuration of the custom field

getSequence()LongThe sequence of the option
getValue()StringThe value of the option