diff options
author | Sun Zhe <31067185+ZheSun88@users.noreply.github.com> | 2018-11-15 13:20:23 +0200 |
---|---|---|
committer | Sun Zhe <31067185+ZheSun88@users.noreply.github.com> | 2018-11-27 18:05:33 +0200 |
commit | 2442ae27313522b7d53c7846c77539001001e5dc (patch) | |
tree | 3158c0a723233d07447ee165329b9a2b984f3ef0 | |
parent | fdb6b3cd9c5002cd3bb7d68fbcd0523fadbdac29 (diff) | |
download | vaadin-framework-2442ae27313522b7d53c7846c77539001001e5dc.tar.gz vaadin-framework-2442ae27313522b7d53c7846c77539001001e5dc.zip |
Add javadoc for validate() call in Binder (#11318)
* Add javadoc for validate() call in Binder
-rw-r--r-- | server/src/main/java/com/vaadin/data/Binder.java | 6 |
1 files changed, 6 insertions, 0 deletions
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<BEAN> implements Serializable { * Validates the field value and returns a {@code ValidationStatus} * instance representing the outcome of the validation. * + * <strong>Note:</strong> 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 |