Class SelectResponse<SelectOption extends AbstractSelectOption>

java.lang.Object
fr.tiogars.architecture.select.models.SelectResponse<SelectOption>
Type Parameters:
SelectOption - the type of select option

public class SelectResponse<SelectOption extends AbstractSelectOption> extends Object
Class representing a response for selecting entities.
  • Constructor Details

    • SelectResponse

      public SelectResponse()
      Default constructor initializing an empty list of select options.
  • Method Details

    • getRows

      public List<SelectOption> getRows()
      Get the list of select options.
      Returns:
      the list of select options
    • setRows

      public void setRows(List<SelectOption> rows)
      Set the list of select options.
      Parameters:
      rows - the list of select options to set
    • toString

      public String toString()
      Get the string representation of the response.
      Overrides:
      toString in class Object
      Returns:
      the string representation