public class Option
extends AbstractUIElement
A pojo representing an option element for a select element
  • Field Details

    • value

      private String value
      The value attribute of the option element
    • optionName

      private String optionName
      The inner content of the option element
  • Constructor Details

  • Method Details

    • builder

      public static Option.OptionBuilder builder()
    • getValue

      public String getValue()
    • getOptionName

      public String getOptionName()
    • setValue

      public void setValue​(String value)
    • setOptionName

      public void setOptionName​(String optionName)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual​(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object