|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ElementDescriptor
Describes a validated element (class, field or property).
Nested Class Summary | |
---|---|
static interface |
ElementDescriptor.ConstraintFinder
Declare restrictions on retrieved constraints. |
Method Summary | |
---|---|
ElementDescriptor.ConstraintFinder |
findConstraints()
Find constraints and potentially restricts them to certain criteria. |
java.util.Set<ConstraintDescriptor<?>> |
getConstraintDescriptors()
Return all constraint descriptors for this element in the class hierarchy or an empty Set if none are present. |
java.lang.Class<?> |
getElementClass()
|
boolean |
hasConstraints()
Return true if at least one constraint declaration is present
for this element in the class hierarchy, false otherwise. |
Method Detail |
---|
boolean hasConstraints()
true
if at least one constraint declaration is present
for this element in the class hierarchy, false
otherwise.
java.lang.Class<?> getElementClass()
java.util.Set<ConstraintDescriptor<?>> getConstraintDescriptors()
Set
if none are present.
Set
of constraint descriptors for this elementElementDescriptor.ConstraintFinder findConstraints()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 4-June-2010 04:34