Package io.jmix.flowui.component.factory
Record Class EntityFieldCreationSupport.QueryItemsConfig
java.lang.Object
java.lang.Record
io.jmix.flowui.component.factory.EntityFieldCreationSupport.QueryItemsConfig
- All Implemented Interfaces:
EntityFieldCreationSupport.DropdownItemsConfig
- Enclosing class:
EntityFieldCreationSupport
protected static record EntityFieldCreationSupport.QueryItemsConfig(String query, @Nullable String searchStringFormat, boolean escapeValueForLike, @Nullable FetchPlan fetchPlan)
extends Record
implements EntityFieldCreationSupport.DropdownItemsConfig
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQueryItemsConfig(String query, @Nullable String searchStringFormat, boolean escapeValueForLike, @Nullable FetchPlan fetchPlan) Creates an instance of aQueryItemsConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theescapeValueForLikerecord component.@Nullable FetchPlanReturns the value of thefetchPlanrecord component.final inthashCode()Returns a hash code value for this object.query()Returns the value of thequeryrecord component.@Nullable StringReturns the value of thesearchStringFormatrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QueryItemsConfig
protected QueryItemsConfig(String query, @Nullable String searchStringFormat, boolean escapeValueForLike, @Nullable FetchPlan fetchPlan) Creates an instance of aQueryItemsConfigrecord class.- Parameters:
query- the value for thequeryrecord componentsearchStringFormat- the value for thesearchStringFormatrecord componentescapeValueForLike- the value for theescapeValueForLikerecord componentfetchPlan- the value for thefetchPlanrecord 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 '=='. -
query
Returns the value of thequeryrecord component.- Returns:
- the value of the
queryrecord component
-
searchStringFormat
Returns the value of thesearchStringFormatrecord component.- Returns:
- the value of the
searchStringFormatrecord component
-
escapeValueForLike
public boolean escapeValueForLike()Returns the value of theescapeValueForLikerecord component.- Returns:
- the value of the
escapeValueForLikerecord component
-
fetchPlan
Returns the value of thefetchPlanrecord component.- Specified by:
fetchPlanin interfaceEntityFieldCreationSupport.DropdownItemsConfig- Returns:
- the value of the
fetchPlanrecord component
-