bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r999708 - /incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/model/FeaturesCapable.java
Date Wed, 22 Sep 2010 01:09:08 GMT
Author: mbenson
Date: Wed Sep 22 01:09:08 2010
New Revision: 999708

URL: http://svn.apache.org/viewvc?rev=999708&view=rev
Log:
make it possible to explicitly replace the validations defined on a FeaturesCapable/meta-object

Modified:
    incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/model/FeaturesCapable.java

Modified: incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/model/FeaturesCapable.java
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/model/FeaturesCapable.java?rev=999708&r1=999707&r2=999708&view=diff
==============================================================================
--- incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/model/FeaturesCapable.java
(original)
+++ incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/model/FeaturesCapable.java
Wed Sep 22 01:09:08 2010
@@ -169,6 +169,15 @@ public abstract class FeaturesCapable im
     }
 
     /**
+     * Set the validations for this {@link FeaturesCapable}.
+     * 
+     * @param validations
+     */
+    public void setValidations(Validation[] validations) {
+        this.validations = validations;
+    }
+
+    /**
      * Add a validation to this {@link FeaturesCapable}.
      * 
      * @param validation



Mime
View raw message