Package io.jmix.flowui.component.factory
Record Class EffectiveLookupConfig
java.lang.Object
java.lang.Record
io.jmix.flowui.component.factory.EffectiveLookupConfig
- Record Components:
componentType- resolved component intent, ornullif no@LookupFieldappliesfieldLevel-trueif the component config came from a field-level annotationactions- resolved action ids (field annotation, then property, then class annotation)itemsMode- items behavior for aDROPDOWN; ignored forVIEWquery- explicit JPQL forEffectiveLookupConfig.ItemsMode.QUERYsearchStringFormat- search-string format forEffectiveLookupConfig.ItemsMode.QUERYescapeValueForLike- escape flag forEffectiveLookupConfig.ItemsMode.QUERYfetchPlanName- optional fetch plan name for lazy items
public record EffectiveLookupConfig(@Nullable LookupType componentType, boolean fieldLevel, List<String> actions, EffectiveLookupConfig.ItemsMode itemsMode, @Nullable String query, @Nullable String searchStringFormat, boolean escapeValueForLike, @Nullable String fetchPlanName)
extends Record
The effective, precedence-resolved
@LookupField configuration for one entity reference.
Produced by LookupFieldSupport; consumed by EntityFieldCreationSupport (live
component) and ComponentXmlFactory (XML descriptor).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumHow the items of aDROPDOWNare loaded. -
Constructor Summary
ConstructorsConstructorDescriptionEffectiveLookupConfig(@Nullable LookupType componentType, boolean fieldLevel, List<String> actions, EffectiveLookupConfig.ItemsMode itemsMode, @Nullable String query, @Nullable String searchStringFormat, boolean escapeValueForLike, @Nullable String fetchPlanName) Creates an instance of aEffectiveLookupConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionactions()Returns the value of theactionsrecord component.@Nullable LookupTypeReturns the value of thecomponentTyperecord component.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theescapeValueForLikerecord component.@Nullable StringReturns the value of thefetchPlanNamerecord component.booleanReturns the value of thefieldLevelrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theitemsModerecord component.@Nullable Stringquery()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
-
EffectiveLookupConfig
public EffectiveLookupConfig(@Nullable LookupType componentType, boolean fieldLevel, List<String> actions, EffectiveLookupConfig.ItemsMode itemsMode, @Nullable String query, @Nullable String searchStringFormat, boolean escapeValueForLike, @Nullable String fetchPlanName) Creates an instance of aEffectiveLookupConfigrecord class.- Parameters:
componentType- the value for thecomponentTyperecord componentfieldLevel- the value for thefieldLevelrecord componentactions- the value for theactionsrecord componentitemsMode- the value for theitemsModerecord componentquery- the value for thequeryrecord componentsearchStringFormat- the value for thesearchStringFormatrecord componentescapeValueForLike- the value for theescapeValueForLikerecord componentfetchPlanName- the value for thefetchPlanNamerecord 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 '=='. -
componentType
Returns the value of thecomponentTyperecord component.- Returns:
- the value of the
componentTyperecord component
-
fieldLevel
public boolean fieldLevel()Returns the value of thefieldLevelrecord component.- Returns:
- the value of the
fieldLevelrecord component
-
actions
Returns the value of theactionsrecord component.- Returns:
- the value of the
actionsrecord component
-
itemsMode
Returns the value of theitemsModerecord component.- Returns:
- the value of the
itemsModerecord component
-
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
-
fetchPlanName
Returns the value of thefetchPlanNamerecord component.- Returns:
- the value of the
fetchPlanNamerecord component
-