org.apache.bval.jsr303.extensions
Interface ParameterDescriptor

All Superinterfaces:
ElementDescriptor
All Known Implementing Classes:
ParameterDescriptorImpl

public interface ParameterDescriptor
extends ElementDescriptor

Description: This class will disappear when such functionality is part of the JSR303 specification.


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.validation.metadata.ElementDescriptor
ElementDescriptor.ConstraintFinder
 
Method Summary
 int getIndex()
          Get the index of the referenced parameter.
 boolean isCascaded()
          Is the parameter marked by the @Valid annotation.
 
Methods inherited from interface javax.validation.metadata.ElementDescriptor
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
 

Method Detail

isCascaded

boolean isCascaded()
Is the parameter marked by the @Valid annotation.

Returns:
true if the annotation is present, false otherwise.

getIndex

int getIndex()
Get the index of the referenced parameter.

Returns:
int


Copyright © 2010-2012 Apache Software Foundation. All Rights Reserved.