Package com.vaadin.data

Contains interfaces for the data layer, mainly for binding typed data and data collections to components, and for validating data.

Data binding

The package contains a three-tiered structure for typed data objects and collections of them:

  • A Property represents a single, typed data value.
  • An Item embodies a set of Properties. A locally unique (inside the Item) Property identifier corresponds to each Property inside the Item.
  • A Container contains a set of Items, each corresponding to a locally unique Item identifier. Note that Container imposes a few restrictions on the data stored in it, see Container for further information.

For more information on the data model, see the Data model chapter in Book of Vaadin.

Buffering

A Buffered implementor is able to track and buffer changes and commit or discard them later.

Validation

Validator implementations are used to validate data, typically the value of a Field. One or more Validators can be added to a Validatable implementor and then used to validate the value of the Validatable.