Form and Grid databinding code generator for Vaadin Flow

We’ve just released our Annotation Processor with support for Databinding in Vaadin 14.

It allows to declaratively bind the object model to the userinterface, for example a JPA datamodel to either a Vaadin Form or Grid. The plugin greatly reduces the need to write repetitive boilerplate-code.

Basically what it does is adding a declarative way of binding attributes with good readability. It also takes into account if an attribute is mandatory and marks it as required in the form.
Declaration is straightforward, for example:

@SeifeClass
class Model {
   @SeifeField
   private boolean attribute;
}

class MyForm extends Composite<Div> {
   @SeifeBinding
   private Checkbox attribute;
}

The checkbox above is automatically detected and bound to the field, for grids a checkbox is added to the column instead of rendering ‘true’ or ‘false’ as text. This can be done for custom types as well.

The tool aims to support large projects and helps to streamline the codebase. It allows to define custom code templates for particular types and has some real useful features added due to real-world requirements.

If you are interested to try it out and have a look at an example:
[https://uc-mobileapps.com/model-binding-vaadin-flow-ui-grid/]
(https://uc-mobileapps.com/model-binding-vaadin-flow-ui-grid/)

We are also happy for any feedback on new features or in case you are missing support for another UI control.
Don’t hesitate to contact us if you have further questions.