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 aPreparedSearchPossibleValueSourceInput
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Collection
<?> Returns the value of theinputIdsAsCorrectType
record component.Returns the value of thelowerCaseLabels
record component.Returns the value of thesearchTerm
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
PreparedSearchPossibleValueSourceInput
public PreparedSearchPossibleValueSourceInput(Collection<?> inputIdsAsCorrectType, Collection<String> lowerCaseLabels, String searchTerm) Creates an instance of aPreparedSearchPossibleValueSourceInput
record class.- Parameters:
inputIdsAsCorrectType
- the value for theinputIdsAsCorrectType
record componentlowerCaseLabels
- the value for thelowerCaseLabels
record componentsearchTerm
- the value for thesearchTerm
record 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 theinputIdsAsCorrectType
record component.- Returns:
- the value of the
inputIdsAsCorrectType
record component
-
lowerCaseLabels
Returns the value of thelowerCaseLabels
record component.- Returns:
- the value of the
lowerCaseLabels
record component
-
searchTerm
Returns the value of thesearchTerm
record component.- Returns:
- the value of the
searchTerm
record component
-