@Component(value="cuba_ValueBinder")
public class ValueBinder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ValueBinder.ValueBindingImpl<V> |
Modifier and Type | Field and Description |
---|---|
protected BeanLocator |
beanLocator |
protected BeanValidation |
beanValidation |
protected MessageTools |
messageTools |
protected MetadataTools |
metadataTools |
static java.lang.String |
NAME |
protected Security |
security |
Constructor and Description |
---|
ValueBinder() |
Modifier and Type | Method and Description |
---|---|
<V> ValueBinding<V> |
bind(HasValue<V> component,
ValueSource<V> valueSource) |
protected void |
initBeanValidator(Field<?> component,
MetaPropertyPath metaPropertyPath) |
protected void |
initRequired(Field<?> component,
MetaPropertyPath metaPropertyPath) |
public static final java.lang.String NAME
@Inject protected MessageTools messageTools
@Inject protected MetadataTools metadataTools
@Inject protected BeanValidation beanValidation
@Inject protected BeanLocator beanLocator
@Inject protected Security security
public <V> ValueBinding<V> bind(HasValue<V> component, ValueSource<V> valueSource)
protected void initRequired(Field<?> component, MetaPropertyPath metaPropertyPath)
protected void initBeanValidator(Field<?> component, MetaPropertyPath metaPropertyPath)