|
||||||||||
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).
Method Summary | |
---|---|
java.util.Set<ConstraintDescriptor<?>> |
getConstraintDescriptors()
Return all constraint descriptors for this element or an empty Set if none are present. |
java.lang.Class<?> |
getElementClass()
|
java.util.Set<ConstraintDescriptor<?>> |
getUnorderedConstraintDescriptorsMatchingGroups(java.lang.Class<?>... groups)
Return the list of matching constraints for a given set of groups for this element. |
boolean |
hasConstraints()
|
Method Detail |
---|
boolean hasConstraints()
true
if at least one constraint declaration is
present on the element, false
otherwise.java.lang.Class<?> getElementClass()
java.util.Set<ConstraintDescriptor<?>> getConstraintDescriptors()
java.util.Set<ConstraintDescriptor<?>> getUnorderedConstraintDescriptorsMatchingGroups(java.lang.Class<?>... groups)
groups
- groups targeted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |