Package | Description |
---|---|
com.vaadin.flow.data.binder | |
com.vaadin.flow.data.converter | |
com.vaadin.flow.data.validator |
Modifier and Type | Method and Description |
---|---|
protected ValueContext |
Binder.BindingImpl.createValueContext()
Creates a value context from the current state of the binding and its
field.
|
Modifier and Type | Method and Description |
---|---|
ValidationResult |
Validator.apply(T value,
ValueContext context)
Validates the given value.
|
String |
ErrorMessageProvider.apply(ValueContext context)
Returns a generated error message for given
ValueContext . |
Modifier and Type | Method and Description |
---|---|
Result<Date> |
DateToSqlDateConverter.convertToModel(Date value,
ValueContext context) |
Result<Long> |
DateToLongConverter.convertToModel(Date value,
ValueContext context) |
Result<Date> |
LocalDateTimeToDateConverter.convertToModel(LocalDateTime localDate,
ValueContext context) |
Result<Date> |
LocalDateToDateConverter.convertToModel(LocalDate localDate,
ValueContext context) |
Result<MODEL> |
Converter.convertToModel(PRESENTATION value,
ValueContext context)
Converts the given value from presentation type to model type.
|
Result<UUID> |
StringToUuidConverter.convertToModel(String value,
ValueContext context) |
Result<Long> |
StringToLongConverter.convertToModel(String value,
ValueContext context) |
Result<Integer> |
StringToIntegerConverter.convertToModel(String value,
ValueContext context) |
Result<Float> |
StringToFloatConverter.convertToModel(String value,
ValueContext context) |
Result<Double> |
StringToDoubleConverter.convertToModel(String value,
ValueContext context) |
Result<Date> |
StringToDateConverter.convertToModel(String value,
ValueContext context) |
Result<Boolean> |
StringToBooleanConverter.convertToModel(String value,
ValueContext context) |
Result<BigInteger> |
StringToBigIntegerConverter.convertToModel(String value,
ValueContext context) |
Result<BigDecimal> |
StringToBigDecimalConverter.convertToModel(String value,
ValueContext context) |
protected Result<Number> |
AbstractStringToNumberConverter.convertToNumber(String value,
ValueContext context)
Convert the value to a Number using the given locale and
AbstractStringToNumberConverter.getFormat(Locale) . |
String |
StringToBooleanConverter.convertToPresentation(Boolean value,
ValueContext context) |
String |
StringToDateConverter.convertToPresentation(Date value,
ValueContext context) |
LocalDate |
LocalDateToDateConverter.convertToPresentation(Date date,
ValueContext context) |
LocalDateTime |
LocalDateTimeToDateConverter.convertToPresentation(Date date,
ValueContext context) |
Date |
DateToSqlDateConverter.convertToPresentation(Date value,
ValueContext context) |
Date |
DateToLongConverter.convertToPresentation(Long value,
ValueContext context) |
PRESENTATION |
Converter.convertToPresentation(MODEL value,
ValueContext context)
Converts the given value from model type to presentation type.
|
String |
AbstractStringToNumberConverter.convertToPresentation(T value,
ValueContext context) |
String |
StringToUuidConverter.convertToPresentation(UUID value,
ValueContext context) |
protected String |
AbstractStringToNumberConverter.getErrorMessage(ValueContext context)
Gets the error message to use when conversion fails.
|
Modifier and Type | Method and Description |
---|---|
ValidationResult |
BeanValidator.apply(Object value,
ValueContext context)
Validates the given value as if it were the value of the bean property
configured for this validator.
|
ValidationResult |
StringLengthValidator.apply(String value,
ValueContext context) |
ValidationResult |
RegexpValidator.apply(String value,
ValueContext context) |
ValidationResult |
RangeValidator.apply(T value,
ValueContext context)
Returns
Result.ok if the value is within the specified bounds,
Result.error otherwise. |
Copyright © 2025. All rights reserved.