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 collectionfilterEmptyStringValues- whether empty strings should be ignored for list valuesmapperQualifier- 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 Summary
ConstructorsModifierConstructorDescriptionprotectedParametersSource(String accessor, boolean filterEmptyStringValues, String mapperQualifier) Creates an instance of aParametersSourcerecord class. -
Method Summary
Modifier and TypeMethodDescriptionaccessor()Returns the value of theaccessorrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of thefilterEmptyStringValuesrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themapperQualifierrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParametersSource
protected ParametersSource(String accessor, boolean filterEmptyStringValues, String mapperQualifier) Creates an instance of aParametersSourcerecord class.- Parameters:
accessor- the value for theaccessorrecord componentfilterEmptyStringValues- the value for thefilterEmptyStringValuesrecord componentmapperQualifier- the value for themapperQualifierrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
accessor
Returns the value of theaccessorrecord component.- Returns:
- the value of the
accessorrecord component
-
filterEmptyStringValues
public boolean filterEmptyStringValues()Returns the value of thefilterEmptyStringValuesrecord component.- Returns:
- the value of the
filterEmptyStringValuesrecord component
-
mapperQualifier
Returns the value of themapperQualifierrecord component.- Returns:
- the value of the
mapperQualifierrecord component
-