Class EntityCollectionFieldDelegate<C extends com.vaadin.flow.component.AbstractField<?,Set<T>> & SupportsMetaClass,T,V>
java.lang.Object
io.jmix.flowui.component.delegate.AbstractComponentDelegate<C>
io.jmix.flowui.component.delegate.AbstractValueComponentDelegate<C,T,V>
io.jmix.flowui.component.delegate.AbstractFieldDelegate<C,Collection<V>,Set<T>>
io.jmix.flowui.component.delegate.EntityCollectionFieldDelegate<C,T,V>
- All Implemented Interfaces:
ValueBindingDelegate<Collection<V>>
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Component("flowui_EntityCollectionFieldDelegate")
@Scope("prototype")
public class EntityCollectionFieldDelegate<C extends com.vaadin.flow.component.AbstractField<?,Set<T>> & SupportsMetaClass,T,V>
extends AbstractFieldDelegate<C,Collection<V>,Set<T>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.flowui.component.delegate.ValueBindingDelegate
ValueBindingDelegate.ValueBindingChangeEvent<T>
-
Field Summary
Fields inherited from class io.jmix.flowui.component.delegate.AbstractFieldDelegate
applicationContext, conversionInvalid, datatype, errorMessage, explicitlyInvalid, messages, metadataTools, PROPERTY_INVALID, requiredMessage, statusChangeHandler, toModelConverter, uiComponentProperties, validators
Fields inherited from class io.jmix.flowui.component.delegate.AbstractValueComponentDelegate
valueBinding
Fields inherited from class io.jmix.flowui.component.delegate.AbstractComponentDelegate
component
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvertToModel
(Set<V> presentationValue) convertToModel
(Set<V> presentationValue, Stream<V> options) protected Collection<V>
convertToModelInternal
(Stream<V> items) convertToPresentation
(Collection<V> modelValue) protected AbstractValueBinding<Collection<V>>
createValueBinding
(ValueSource<Collection<V>> valueSource) boolean
equalCollections
(Collection<V> a, Collection<V> b) void
setMetaClass
(MetaClass metaClass) Methods inherited from class io.jmix.flowui.component.delegate.AbstractFieldDelegate
addValidator, applyDefaultValueFormat, executeValidators, formatMessage, getComponentValue, getDatatype, getErrorMessage, getMessage, getRequiredErrorMessage, getRequiredMessage, isEmptyAndRequired, isInvalid, isInvalidInternal, setApplicationContext, setComponentRequiredErrorState, setConversionInvalid, setDatatype, setErrorMessage, setInvalid, setInvalidInternal, setMessages, setMetadataTools, setRequiredMessage, setStatusChangeHandler, setToModelConverter, setUiComponentProperties, updateInvalidState, validatorsPassed
Methods inherited from class io.jmix.flowui.component.delegate.AbstractValueComponentDelegate
addValueBindingChangeListener, getEventBus, getValueBinding, getValueSource, setupProperties, setValueSource, valueBindingChanged
Methods inherited from class io.jmix.flowui.component.delegate.AbstractComponentDelegate
getComponent
-
Field Details
-
metaClass
-
-
Constructor Details
-
EntityCollectionFieldDelegate
-
-
Method Details
-
getMetaClass
-
setMetaClass
-
convertToModel
-
convertToModel
-
convertToModelInternal
-
convertToPresentation
-
equalCollections
-
createValueBinding
protected AbstractValueBinding<Collection<V>> createValueBinding(ValueSource<Collection<V>> valueSource) - Specified by:
createValueBinding
in classAbstractValueComponentDelegate<C extends com.vaadin.flow.component.AbstractField<?,
Set<T>> & SupportsMetaClass, Collection<V>, Set<T>>
-