[hibernate-commits] Hibernate SVN: r16048 - beanvalidation/trunk/validation-api/src/main/java/javax/validation.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Fri Feb 27 09:13:29 EST 2009


Author: hardy.ferentschik
Date: 2009-02-27 09:13:29 -0500 (Fri, 27 Feb 2009)
New Revision: 16048

Modified:
   beanvalidation/trunk/validation-api/src/main/java/javax/validation/BeanDescriptor.java
   beanvalidation/trunk/validation-api/src/main/java/javax/validation/ConstraintDeclarationException.java
   beanvalidation/trunk/validation-api/src/main/java/javax/validation/ConstraintDefinitionException.java
   beanvalidation/trunk/validation-api/src/main/java/javax/validation/ConstraintValidatorContext.java
   beanvalidation/trunk/validation-api/src/main/java/javax/validation/ConstraintViolationException.java
   beanvalidation/trunk/validation-api/src/main/java/javax/validation/GroupDefinitionException.java
   beanvalidation/trunk/validation-api/src/main/java/javax/validation/TraversableResolver.java
Log:
added file headers and updated some javadoc

Modified: beanvalidation/trunk/validation-api/src/main/java/javax/validation/BeanDescriptor.java
===================================================================
--- beanvalidation/trunk/validation-api/src/main/java/javax/validation/BeanDescriptor.java	2009-02-27 13:39:53 UTC (rev 16047)
+++ beanvalidation/trunk/validation-api/src/main/java/javax/validation/BeanDescriptor.java	2009-02-27 14:13:29 UTC (rev 16048)
@@ -1,3 +1,20 @@
+// $Id$
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2008, Red Hat Middleware LLC, and individual contributors
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+* http://www.apache.org/licenses/LICENSE-2.0
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
 package javax.validation;
 
 import java.util.Set;

Modified: beanvalidation/trunk/validation-api/src/main/java/javax/validation/ConstraintDeclarationException.java
===================================================================
--- beanvalidation/trunk/validation-api/src/main/java/javax/validation/ConstraintDeclarationException.java	2009-02-27 13:39:53 UTC (rev 16047)
+++ beanvalidation/trunk/validation-api/src/main/java/javax/validation/ConstraintDeclarationException.java	2009-02-27 14:13:29 UTC (rev 16048)
@@ -1,3 +1,20 @@
+// $Id: Configuration.java 16026 2009-02-24 20:02:35Z epbernard $
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2008, Red Hat Middleware LLC, and individual contributors
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+* http://www.apache.org/licenses/LICENSE-2.0
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
 package javax.validation;
 
 /**

Modified: beanvalidation/trunk/validation-api/src/main/java/javax/validation/ConstraintDefinitionException.java
===================================================================
--- beanvalidation/trunk/validation-api/src/main/java/javax/validation/ConstraintDefinitionException.java	2009-02-27 13:39:53 UTC (rev 16047)
+++ beanvalidation/trunk/validation-api/src/main/java/javax/validation/ConstraintDefinitionException.java	2009-02-27 14:13:29 UTC (rev 16048)
@@ -1,3 +1,20 @@
+// $Id: Configuration.java 16026 2009-02-24 20:02:35Z epbernard $
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2008, Red Hat Middleware LLC, and individual contributors
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+* http://www.apache.org/licenses/LICENSE-2.0
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
 package javax.validation;
 
 /**

Modified: beanvalidation/trunk/validation-api/src/main/java/javax/validation/ConstraintValidatorContext.java
===================================================================
--- beanvalidation/trunk/validation-api/src/main/java/javax/validation/ConstraintValidatorContext.java	2009-02-27 13:39:53 UTC (rev 16047)
+++ beanvalidation/trunk/validation-api/src/main/java/javax/validation/ConstraintValidatorContext.java	2009-02-27 14:13:29 UTC (rev 16048)
@@ -1,3 +1,20 @@
+// $Id$
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2008, Red Hat Middleware LLC, and individual contributors
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+* http://www.apache.org/licenses/LICENSE-2.0
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
 package javax.validation;
 
 /**
@@ -24,16 +41,16 @@
 	/**
 	 * Add a new error message. This error message will be interpolated.
 	 * <p/>
-	 * If isValid returns false, a ConstraintViolation object will be built per error message
-	 * including the default one unless #disableDefaultError() has been called.
+	 * If <code>isValid<code> returns <code>false</code>, a <code>ConstraintViolation</code> object will be built
+	 * per error message including the default one unless {@link #disableDefaultError()} has been called.
 	 * <p/>
-	 * Aside from the error message, ConstraintViolation objects generated from such a call
-	 * contains the same contextual information (root bean, path and so on)
+	 * Aside from the error message, <code>ConstraintViolation</code> objects generated from such a call
+	 * contain the same contextual information (root bean, path and so on)
 	 * <p/>
-	 * This method can be called multiple time. One ConstraintViolation instance per
+	 * This method can be called multiple times. One <code>ConstraintViolation</code> instance per
 	 * call is created.
 	 *
-	 * @param message new uninterpolated error message
+	 * @param message new uninterpolated error message.
 	 */
 	void addError(String message);
 
@@ -41,13 +58,13 @@
 	 * Add a new error message to a given sub property <code>property</code>.
 	 * This error message will be interpolated.
 	 * <p/>
-	 * If isValid returns false, a ConstraintViolation object will be built
-	 * per error message including the default one unless #disableDefaultError()
+	 * If <code>isValid</code> returns <code>false</code>, a <code>ConstraintViolation</code> object will be built
+	 * per error message including the default one unless {@link #disableDefaultError()}
 	 * has been called.
 	 * <p/>
 	 *
-	 * @param message new uninterpolated error message
-	 * @param property property name the ConstraintViolation is targeting
+	 * @param message new uninterpolated error message.
+	 * @param property property name the </code>ConstraintViolation</code> is targeting.
 	 */
 	void addError(String message, String property);
 }

Modified: beanvalidation/trunk/validation-api/src/main/java/javax/validation/ConstraintViolationException.java
===================================================================
--- beanvalidation/trunk/validation-api/src/main/java/javax/validation/ConstraintViolationException.java	2009-02-27 13:39:53 UTC (rev 16047)
+++ beanvalidation/trunk/validation-api/src/main/java/javax/validation/ConstraintViolationException.java	2009-02-27 14:13:29 UTC (rev 16048)
@@ -1,3 +1,20 @@
+// $Id: Configuration.java 16026 2009-02-24 20:02:35Z epbernard $
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2008, Red Hat Middleware LLC, and individual contributors
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+* http://www.apache.org/licenses/LICENSE-2.0
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
 package javax.validation;
 
 import java.util.Set;

Modified: beanvalidation/trunk/validation-api/src/main/java/javax/validation/GroupDefinitionException.java
===================================================================
--- beanvalidation/trunk/validation-api/src/main/java/javax/validation/GroupDefinitionException.java	2009-02-27 13:39:53 UTC (rev 16047)
+++ beanvalidation/trunk/validation-api/src/main/java/javax/validation/GroupDefinitionException.java	2009-02-27 14:13:29 UTC (rev 16048)
@@ -1,3 +1,20 @@
+// $Id: Configuration.java 16026 2009-02-24 20:02:35Z epbernard $
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2008, Red Hat Middleware LLC, and individual contributors
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+* http://www.apache.org/licenses/LICENSE-2.0
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
 package javax.validation;
 
 /**

Modified: beanvalidation/trunk/validation-api/src/main/java/javax/validation/TraversableResolver.java
===================================================================
--- beanvalidation/trunk/validation-api/src/main/java/javax/validation/TraversableResolver.java	2009-02-27 13:39:53 UTC (rev 16047)
+++ beanvalidation/trunk/validation-api/src/main/java/javax/validation/TraversableResolver.java	2009-02-27 14:13:29 UTC (rev 16048)
@@ -1,3 +1,20 @@
+// $Id$
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2008, Red Hat Middleware LLC, and individual contributors
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+* http://www.apache.org/licenses/LICENSE-2.0
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
 package javax.validation;
 
 import java.lang.annotation.ElementType;




More information about the hibernate-commits mailing list