|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ElementDescriptor
Describes a validated element (class, property, method etc.).
| Nested Class Summary | |
|---|---|
static interface |
ElementDescriptor.ConstraintFinder
Declares restrictions on retrieved constraints. |
| Method Summary | |
|---|---|
ElementDescriptor.ConstraintFinder |
findConstraints()
Finds constraints and potentially restricts them to certain criteria. |
Set<ConstraintDescriptor<?>> |
getConstraintDescriptors()
Returns all constraint descriptors for this element in the class hierarchy or an empty Set if none are present. |
Class<?> |
getElementClass()
|
boolean |
hasConstraints()
|
| Method Detail |
|---|
boolean hasConstraints()
true if at least one constraint declaration is present
for this element in the class hierarchy, false otherwiseClass<?> getElementClass()
Set<ConstraintDescriptor<?>> getConstraintDescriptors()
Set if none are present.
Set of constraint descriptors for this elementElementDescriptor.ConstraintFinder findConstraints()
ConstraintFinder object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||