From 0e1738ee89369ea047eac1bfaaa8587ac571af59 Mon Sep 17 00:00:00 2001 From: Sun Zhe <31067185+ZheSun88@users.noreply.github.com> Date: Thu, 15 Nov 2018 13:20:23 +0200 Subject: Add javadoc for validate() call in Binder (#11318) * Add javadoc for validate() call in Binder --- server/src/main/java/com/vaadin/data/Binder.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'server/src') diff --git a/server/src/main/java/com/vaadin/data/Binder.java b/server/src/main/java/com/vaadin/data/Binder.java index d2aff412f6..22ef7d7782 100644 --- a/server/src/main/java/com/vaadin/data/Binder.java +++ b/server/src/main/java/com/vaadin/data/Binder.java @@ -139,7 +139,13 @@ public class Binder implements Serializable { * Validates the field value and returns a {@code ValidationStatus} * instance representing the outcome of the validation. * + * Note: Calling this method will not trigger the value + * update in the bean automatically. This method will attempt to + * temporarily apply all current changes to the bean and run full bean + * validation for it. The changes are reverted after bean validation. + * * @see #validate() + * @see Binder#validate() * * @param fireEvent * {@code true} to fire status event; {@code false} to not -- cgit v1.2.3