[hibernate-commits] Hibernate SVN: r17624 - beanvalidation/api/trunk/src/main/java/javax/validation/metadata.
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Mon Oct 5 11:33:16 EDT 2009
Author: epbernard
Date: 2009-10-05 11:33:16 -0400 (Mon, 05 Oct 2009)
New Revision: 17624
Modified:
beanvalidation/api/trunk/src/main/java/javax/validation/metadata/ElementDescriptor.java
Log:
Enhance JavaDoc
Modified: beanvalidation/api/trunk/src/main/java/javax/validation/metadata/ElementDescriptor.java
===================================================================
--- beanvalidation/api/trunk/src/main/java/javax/validation/metadata/ElementDescriptor.java 2009-10-05 14:39:55 UTC (rev 17623)
+++ beanvalidation/api/trunk/src/main/java/javax/validation/metadata/ElementDescriptor.java 2009-10-05 15:33:16 UTC (rev 17624)
@@ -29,8 +29,8 @@
public interface ElementDescriptor {
/**
- * @return <code>true</code> if at least one constraint declaration is
- * present on the element, <code>false</code> otherwise.
+ * Return <code>true</code> if at least one constraint declaration is present
+ * for this element in the class hierarchy, <code>false</code> otherwise.
*/
boolean hasConstraints();
@@ -40,8 +40,8 @@
Class<?> getElementClass();
/**
- * Return all constraint descriptors for this element or an
- * empty <code>Set</code> if none are present.
+ * Return all constraint descriptors for this element in the class hierarchy
+ * or an empty <code>Set</code> if none are present.
*
* @return <code>Set</code> of constraint descriptors for this element
*/
More information about the hibernate-commits
mailing list