summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/data/Validatable.java
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2012-09-24 14:48:13 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2012-09-24 15:02:12 +0300
commit1d97c958748ebdf06abd28a0f2acec8c179e9d1d (patch)
tree8eeb542e39cd8ddaeedf038fad805ad2c0b6b9ad /server/src/com/vaadin/data/Validatable.java
parentdda62594f56e12590c5a3517585ad529e2df5c56 (diff)
downloadvaadin-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.java7
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