public interface ElementDescriptor
Modifier and Type | Interface and Description |
---|---|
static interface |
ElementDescriptor.ConstraintFinder
Declare restrictions on retrieved constraints.
|
Modifier and Type | Method and Description |
---|---|
ElementDescriptor.ConstraintFinder |
findConstraints()
Find constraints and potentially restricts them to certain criteria.
|
Set<ConstraintDescriptor<?>> |
getConstraintDescriptors()
Return all constraint descriptors for this element in the class hierarchy
or an empty
Set if none are present. |
Class<?> |
getElementClass() |
boolean |
hasConstraints()
Return
true if at least one constraint declaration is present
for this element in the class hierarchy, false otherwise. |
boolean hasConstraints()
true
if at least one constraint declaration is present
for this element in the class hierarchy, false
otherwise.Class<?> getElementClass()
Set<ConstraintDescriptor<?>> getConstraintDescriptors()
Set
if none are present.Set
of constraint descriptors for this elementElementDescriptor.ConstraintFinder findConstraints()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.