diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2012-09-24 14:48:13 +0300 |
---|---|---|
committer | Johannes Dahlström <johannesd@vaadin.com> | 2012-09-24 15:02:12 +0300 |
commit | 1d97c958748ebdf06abd28a0f2acec8c179e9d1d (patch) | |
tree | 8eeb542e39cd8ddaeedf038fad805ad2c0b6b9ad /server/src/com/vaadin/data/Validatable.java | |
parent | dda62594f56e12590c5a3517585ad529e2df5c56 (diff) | |
download | vaadin-framework-1d97c958748ebdf06abd28a0f2acec8c179e9d1d.tar.gz vaadin-framework-1d97c958748ebdf06abd28a0f2acec8c179e9d1d.zip |
Add removeAllValidators() to Validatable (#9542)
Diffstat (limited to 'server/src/com/vaadin/data/Validatable.java')
-rw-r--r-- | server/src/com/vaadin/data/Validatable.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/server/src/com/vaadin/data/Validatable.java b/server/src/com/vaadin/data/Validatable.java index 724a688efb..a91afa1f4d 100644 --- a/server/src/com/vaadin/data/Validatable.java +++ b/server/src/com/vaadin/data/Validatable.java @@ -58,6 +58,13 @@ public interface Validatable extends Serializable { void removeValidator(Validator validator); /** + * Removes all validators from this object, as if + * {@link #removeValidator(Validator) removeValidator} was called for each + * registered validator. + */ + void removeAllValidators(); + + /** * <p> * Returns a collection of all validators currently registered for the * object. The collection may be immutable and it may not be safe to call |