public class Form
extends AbstractUIElement
A pojo representing a form element
  • Field Details

    • fields

      private List<Input> fields
      The input fields within the form
    • method

      private String method
      The method attribute of the form
    • action

      private String action
      The action attribute of the form
  • Constructor Details

  • Method Details

    • builder

      public static Form.FormBuilder builder()
    • setMethod

      public void setMethod​(String method)
    • setAction

      public void setAction​(String action)
    • getFields

      public List<Input> getFields()
    • 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
    • getMethod

      public String getMethod()
    • getAction

      public String getAction()