Record Class NrichSearchProperties.StringSearchProperties
java.lang.Object
java.lang.Record
net.croz.nrich.search.starter.properties.NrichSearchProperties.StringSearchProperties
- Record Components:
 dateFormatList- List of date formats used byDefaultStringToTypeConverterto convert string to date values.decimalNumberFormatList- List of decimal formats used byDefaultStringToTypeConverterto convert string to decimal value.booleanTrueRegexPattern- Regexp pattern that is used byDefaultStringToTypeConverterto match boolean true values.booleanFalseRegexPattern- Regexp pattern that is used byDefaultStringToTypeConverterto match boolean false values.
- Enclosing class:
 - NrichSearchProperties
 
public static record NrichSearchProperties.StringSearchProperties(@DefaultValue({"dd.MM.yyyy.","dd.MM.yyyy.\'T\'HH:mm","dd.MM.yyyy.\'T\'HH:mm\'Z\'"}) List<String> dateFormatList, @DefaultValue({"#0.00","#0,00"}) List<String> decimalNumberFormatList, @DefaultValue("^(?i)\\s*(true|yes|da)\\s*$") String booleanTrueRegexPattern, @DefaultValue("^(?i)\\s*(false|no|ne)\\s*$") String booleanFalseRegexPattern)
extends Record
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebooleanFalseRegexPatternrecord component.Returns the value of thebooleanTrueRegexPatternrecord component.Returns the value of thedateFormatListrecord component.Returns the value of thedecimalNumberFormatListrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class. 
- 
Constructor Details
- 
StringSearchProperties
public StringSearchProperties(@DefaultValue({"dd.MM.yyyy.","dd.MM.yyyy.\'T\'HH:mm","dd.MM.yyyy.\'T\'HH:mm\'Z\'"}) List<String> dateFormatList, @DefaultValue({"#0.00","#0,00"}) List<String> decimalNumberFormatList, @DefaultValue("^(?i)\\s*(true|yes|da)\\s*$") String booleanTrueRegexPattern, @DefaultValue("^(?i)\\s*(false|no|ne)\\s*$") String booleanFalseRegexPattern) Creates an instance of aStringSearchPropertiesrecord class.- Parameters:
 dateFormatList- the value for thedateFormatListrecord componentdecimalNumberFormatList- the value for thedecimalNumberFormatListrecord componentbooleanTrueRegexPattern- the value for thebooleanTrueRegexPatternrecord componentbooleanFalseRegexPattern- the value for thebooleanFalseRegexPatternrecord 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. All components in this record class are compared withObjects::equals(Object,Object). - 
dateFormatList
Returns the value of thedateFormatListrecord component.- Returns:
 - the value of the 
dateFormatListrecord component 
 - 
decimalNumberFormatList
Returns the value of thedecimalNumberFormatListrecord component.- Returns:
 - the value of the 
decimalNumberFormatListrecord component 
 - 
booleanTrueRegexPattern
Returns the value of thebooleanTrueRegexPatternrecord component.- Returns:
 - the value of the 
booleanTrueRegexPatternrecord component 
 - 
booleanFalseRegexPattern
Returns the value of thebooleanFalseRegexPatternrecord component.- Returns:
 - the value of the 
booleanFalseRegexPatternrecord component 
 
 -