Record Class SearchPossibleValueSourceAction.PreparedSearchPossibleValueSourceInput
java.lang.Object
java.lang.Record
com.kingsrook.qqq.backend.core.actions.values.SearchPossibleValueSourceAction.PreparedSearchPossibleValueSourceInput
- Enclosing class:
SearchPossibleValueSourceAction
public static record SearchPossibleValueSourceAction.PreparedSearchPossibleValueSourceInput(Collection<?> inputIdsAsCorrectType, Collection<String> lowerCaseLabels, String searchTerm)
extends Record
record to store "computed" values as part of a possible-value search -
e.g., ids type-convered, and lower-cased labels.
-
Constructor Summary
ConstructorsConstructorDescriptionPreparedSearchPossibleValueSourceInput(Collection<?> inputIdsAsCorrectType, Collection<String> lowerCaseLabels, String searchTerm) Creates an instance of aPreparedSearchPossibleValueSourceInputrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Collection<?> Returns the value of theinputIdsAsCorrectTyperecord component.Returns the value of thelowerCaseLabelsrecord component.Returns the value of thesearchTermrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PreparedSearchPossibleValueSourceInput
public PreparedSearchPossibleValueSourceInput(Collection<?> inputIdsAsCorrectType, Collection<String> lowerCaseLabels, String searchTerm) Creates an instance of aPreparedSearchPossibleValueSourceInputrecord class.- Parameters:
inputIdsAsCorrectType- the value for theinputIdsAsCorrectTyperecord componentlowerCaseLabels- the value for thelowerCaseLabelsrecord componentsearchTerm- the value for thesearchTermrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
inputIdsAsCorrectType
Returns the value of theinputIdsAsCorrectTyperecord component.- Returns:
- the value of the
inputIdsAsCorrectTyperecord component
-
lowerCaseLabels
Returns the value of thelowerCaseLabelsrecord component.- Returns:
- the value of the
lowerCaseLabelsrecord component
-
searchTerm
Returns the value of thesearchTermrecord component.- Returns:
- the value of the
searchTermrecord component
-