]> source.dussan.org Git - vaadin-framework.git/commit
Rename Binder methods
authorPekka Hyvönen <pekka@vaadin.com>
Tue, 25 Oct 2016 12:28:11 +0000 (15:28 +0300)
committerPekka Hyvönen <pekka@vaadin.com>
Wed, 26 Oct 2016 11:20:09 +0000 (14:20 +0300)
commit54e1edcfe045604729c2f16cece87ae754c0036c
tree33ecbdd7e0e9ed1c38e9cee6438801f6315c7590
parentf981521a52d4ee386b6d2ba5133fd1c1cd0c5450
Rename Binder methods

save -> writeBean, saveIfValid -> writeBeanIfValid,
load -> readBean, bind -> setBean, unbind -> removeBean.

Now setBean accepts null to reset the bean instead of throwing NPE.

Closes vaadin/framework8-issues#91

Change-Id: I42cbad5856cac11a03bfcefd0fa91a02c41b7234
18 files changed:
documentation/datamodel/datamodel-forms.asciidoc
server/src/main/java/com/vaadin/data/Binder.java
server/src/main/java/com/vaadin/data/StatusChangeEvent.java
server/src/main/java/com/vaadin/data/ValidationException.java
server/src/test/java/com/vaadin/data/BeanBinderInstanceFieldTest.java
server/src/test/java/com/vaadin/data/BeanBinderTest.java
server/src/test/java/com/vaadin/data/BinderBookOfVaadinTest.java
server/src/test/java/com/vaadin/data/BinderComponentTest.java
server/src/test/java/com/vaadin/data/BinderConverterValidatorTest.java
server/src/test/java/com/vaadin/data/BinderMultiSelectTest.java
server/src/test/java/com/vaadin/data/BinderSingleSelectTest.java
server/src/test/java/com/vaadin/data/BinderStatusChangeTest.java
server/src/test/java/com/vaadin/data/BinderTest.java
server/src/test/java/com/vaadin/data/BinderValidationStatusTest.java
server/src/test/java/com/vaadin/data/Jsr303Test.java
uitest/src/main/java/com/vaadin/tests/components/calendar/CalendarTest.java
uitest/src/main/java/com/vaadin/tests/components/slider/SliderValueFromDataSource.java
uitest/src/main/java/com/vaadin/tests/themes/valo/CalendarTest.java