|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MethodDescriptor
Describes a method and the constraints associated with it.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface javax.validation.metadata.ElementDescriptor |
---|
ElementDescriptor.ConstraintFinder |
Method Summary | |
---|---|
String |
getMethodName()
Returns the name of the method represented by this descriptor. |
List<ParameterDescriptor> |
getParameterDescriptors()
Returns a list with descriptors for this method's parameters. |
boolean |
isCascaded()
Whether a cascaded validation for this method's return value shall be performed or not. |
Methods inherited from interface javax.validation.metadata.ElementDescriptor |
---|
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints |
Method Detail |
---|
String getMethodName()
List<ParameterDescriptor> getParameterDescriptors()
Returns a list with descriptors for this method's parameters.
The size of this list corresponds with the number of this method's parameters.
boolean isCascaded()
Valid
annotation) either locally or in the inheritance hierarchy.
True
, if this method's return value shall be
validated recursively, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |