- All Known Subinterfaces:
 BeanDescriptor,ConstructorDescriptor,ContainerElementTypeDescriptor,CrossParameterDescriptor,ExecutableDescriptor,MethodDescriptor,ParameterDescriptor,PropertyDescriptor,ReturnValueDescriptor
public interface ElementDescriptor
Describes a validated element (class, property, method etc.).
- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDeclares restrictions on retrieved constraints. - 
Method Summary
Modifier and TypeMethodDescriptionFinds constraints and potentially restricts them to certain criteria.Returns all constraint descriptors for this element in the class hierarchy or an emptySetif none are present.Class<?> boolean 
- 
Method Details
- 
hasConstraints
boolean hasConstraints()- Returns:
 - returns 
trueif at least one constraint declaration is present for this element in the class hierarchy,falseotherwise 
 - 
getElementClass
Class<?> getElementClass()- Returns:
 - the statically defined returned type
 
 - 
getConstraintDescriptors
Set<ConstraintDescriptor<?>> getConstraintDescriptors()Returns all constraint descriptors for this element in the class hierarchy or an emptySetif none are present.- Returns:
 Setof constraint descriptors for this element
 - 
findConstraints
ElementDescriptor.ConstraintFinder findConstraints()Finds constraints and potentially restricts them to certain criteria.- Returns:
 ConstraintFinderobject
 
 -