public interface ElementDescriptor
修飾子とタイプ | インタフェースと説明 |
---|---|
static interface |
ElementDescriptor.ConstraintFinder
Declares restrictions on retrieved constraints.
|
修飾子とタイプ | メソッドと説明 |
---|---|
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() |
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
objectCopyright © 2007-2018 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0. Translated by @megascus.