summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSun Zhe <31067185+ZheSun88@users.noreply.github.com>2018-11-15 13:20:23 +0200
committerGitHub <noreply@github.com>2018-11-15 13:20:23 +0200
commit0e1738ee89369ea047eac1bfaaa8587ac571af59 (patch)
tree53e19374752bf0827a6c28d2febd02d82568369b /server
parent55864a333a053d7a70dafa235bd5f236d641319f (diff)
downloadvaadin-framework-0e1738ee89369ea047eac1bfaaa8587ac571af59.tar.gz
vaadin-framework-0e1738ee89369ea047eac1bfaaa8587ac571af59.zip
Add javadoc for validate() call in Binder (#11318)
* Add javadoc for validate() call in Binder
Diffstat (limited to 'server')
-rw-r--r--server/src/main/java/com/vaadin/data/Binder.java6
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