| Package | Description |
|---|---|
| com.vaadin.data |
Contains interfaces for the data layer, mainly for binding typed
data and data collections to components, and for validating data.
|
| com.vaadin.data.fieldgroup | |
| com.vaadin.data.validator | |
| com.vaadin.ui |
| Modifier and Type | Class and Description |
|---|---|
static class |
Validator.EmptyValueException
A specific type of
Validator.InvalidValueException that indicates that
validation failed because the value was empty. |
| Modifier and Type | Method and Description |
|---|---|
Validator.InvalidValueException[] |
Validator.InvalidValueException.getCauses()
Returns the
InvalidValueExceptions that caused this
exception. |
| Modifier and Type | Method and Description |
|---|---|
void |
Buffered.commit()
Updates all changes since the previous commit to the data source.
|
void |
Validatable.validate()
Checks the validity of the validatable.
|
void |
Validator.validate(Object value)
Checks the given value against this validator.
|
| Constructor and Description |
|---|
InvalidValueException(String message,
Validator.InvalidValueException... causes)
Constructs a new
InvalidValueException with a set of causing
validation exceptions. |
| Modifier and Type | Class and Description |
|---|---|
static class |
FieldGroup.FieldGroupInvalidValueException
Exception which wraps InvalidValueExceptions from all invalid fields in a
FieldGroup
|
| Modifier and Type | Method and Description |
|---|---|
Map<Field<?>,Validator.InvalidValueException> |
FieldGroup.FieldGroupInvalidValueException.getInvalidFields()
Returns a map containing fields which failed validation and the
exceptions the corresponding validators threw.
|
Map<Field<?>,Validator.InvalidValueException> |
FieldGroup.CommitException.getInvalidFields()
Returns a map containing the fields which failed validation and the
exceptions the corresponding validators threw.
|
| Constructor and Description |
|---|
FieldGroupInvalidValueException(Map<Field<?>,Validator.InvalidValueException> invalidValueExceptions)
Constructs a new exception with the specified validation exceptions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NullValidator.validate(Object value)
Validates the data given in value.
|
void |
IntegerValidator.validate(Object value)
Deprecated.
|
void |
DoubleValidator.validate(Object value)
Deprecated.
|
void |
CompositeValidator.validate(Object value)
Validates the given value.
|
void |
BeanValidator.validate(Object value) |
void |
AbstractValidator.validate(Object value) |
| Modifier and Type | Class and Description |
|---|---|
static class |
DateField.UnparsableDateString |
| Modifier and Type | Method and Description |
|---|---|
void |
Form.commit()
Deprecated.
|
void |
AbstractField.commit() |
protected void |
AbstractSelect.setValue(Object newFieldValue,
boolean repaintIsNotNeeded,
boolean ignoreReadOnly)
Sets the visible value of the property.
|
protected void |
AbstractField.setValue(T newFieldValue,
boolean repaintIsNotNeeded,
boolean ignoreReadOnly)
Sets the value of the field.
|
void |
Form.validate()
Deprecated.
Checks the validity of the Form and all of its fields.
|
void |
DateField.validate()
Validates the current value against registered validators if the field is
not empty.
|
void |
AbstractField.validate()
Checks the validity of the Field.
|
protected void |
AbstractField.validate(T fieldValue)
Validates that the given value pass the validators for the field.
|
Copyright © 2019 Vaadin Ltd. All rights reserved.