Class DataForm.Option

    • Constructor Detail

      • Option

        public Option​(String value)
        Creates an option.
        Parameters:
        value - The option value.
      • Option

        public Option​(String value,
                      String label)
        Creates an option.
        Parameters:
        value - The option value.
        label - A human-readable name for the option.
    • Method Detail

      • getLabel

        public final String getLabel()
        Gets the label.
        Returns:
        The label.
      • getValue

        public final String getValue()
        Gets the value of the option.
        Returns:
        The option.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object