Class RootOption

  • All Implemented Interfaces:
    Serializable

    public final class RootOption
    extends Object
    implements Serializable
    POJO model for a root option that can be added to a form of value descriptors. Optional entries can be removed and added as the users sees fit.
    Since:
    8.5.0
    See Also:
    Serialized Form
    • Method Detail

      • getAccessor

        public IValueAccessor<?> getAccessor()
        Gets the accessor for the root value.
        Returns:
        The accessor.
      • getDescriptor

        public IValueDescriptor<?,​?> getDescriptor()
        Gets the descriptor for the root value.
        Returns:
        The descriptor.
      • getIndex

        public Object getIndex()
        Gets the index of this option in the list of options.
        Returns:
        The index.
      • getLabel

        public String getLabel()
        Gets the label to display for this option.
        Returns:
        The label.