Package io.jmix.ui.component.factory
Class JpqlFilterComponentGenerationContext
java.lang.Object
io.jmix.ui.component.ComponentGenerationContext
io.jmix.ui.component.factory.JpqlFilterComponentGenerationContext
-
Field Summary
Fields inherited from class io.jmix.ui.component.ComponentGenerationContext
metaClass, options, property, targetClass, valueSource, xmlDescriptor
-
Constructor Summary
ConstructorDescriptionJpqlFilterComponentGenerationContext
(MetaClass metaClass, String property, boolean hasInExpression, Class parameterClass) Creates an instance of ComponentGenerationContext. -
Method Summary
Methods inherited from class io.jmix.ui.component.ComponentGenerationContext
getMetaClass, getOptions, getProperty, getTargetClass, getValueSource, getXmlDescriptor, setOptions, setTargetClass, setValueSource, setXmlDescriptor
-
Field Details
-
parameterClass
-
hasInExpression
protected final boolean hasInExpression
-
-
Constructor Details
-
JpqlFilterComponentGenerationContext
public JpqlFilterComponentGenerationContext(MetaClass metaClass, String property, boolean hasInExpression, @Nullable Class parameterClass) Creates an instance of ComponentGenerationContext.- Parameters:
metaClass
- the entity for which the component is createdproperty
- the entity attribute for which the component is createdhasInExpression
- whether the query condition has an IN expression and the value is a collectionparameterClass
- the component value type
-
-
Method Details
-
getParameterClass
-
hasInExpression
public boolean hasInExpression()
-