Record Class AbstractParametersProvider.ParametersSource

java.lang.Object
java.lang.Record
io.helidon.declarative.codegen.http.webserver.AbstractParametersProvider.ParametersSource
Record Components:
accessor - expression prefix used to access the parameter collection
filterEmptyStringValues - whether empty strings should be ignored for list values
mapperQualifier - mapper qualifier to use for mapped values from this source
Enclosing class:
AbstractParametersProvider

protected static record AbstractParametersProvider.ParametersSource(String accessor, boolean filterEmptyStringValues, String mapperQualifier) extends Record
Information about the parameter source the generated code should read from.
  • Constructor Details

    • ParametersSource

      protected ParametersSource(String accessor, boolean filterEmptyStringValues, String mapperQualifier)
      Creates an instance of a ParametersSource record class.
      Parameters:
      accessor - the value for the accessor record component
      filterEmptyStringValues - the value for the filterEmptyStringValues record component
      mapperQualifier - the value for the mapperQualifier record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • accessor

      public String accessor()
      Returns the value of the accessor record component.
      Returns:
      the value of the accessor record component
    • filterEmptyStringValues

      public boolean filterEmptyStringValues()
      Returns the value of the filterEmptyStringValues record component.
      Returns:
      the value of the filterEmptyStringValues record component
    • mapperQualifier

      public String mapperQualifier()
      Returns the value of the mapperQualifier record component.
      Returns:
      the value of the mapperQualifier record component