org.apache.bval.jsr303.extensions
Class MethodDescriptorImpl
java.lang.Object
org.apache.bval.jsr303.ElementDescriptorImpl
org.apache.bval.jsr303.extensions.MethodDescriptorImpl
- All Implemented Interfaces:
- ElementDescriptor, MethodDescriptor, ProcedureDescriptor
public class MethodDescriptorImpl
- extends ElementDescriptorImpl
- implements MethodDescriptor, ProcedureDescriptor
Description: MethodDescriptor implementation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodDescriptorImpl
protected MethodDescriptorImpl(MetaBean metaBean,
Validation[] validations)
- Create a new MethodDescriptorImpl instance.
- Parameters:
metaBean - validations -
MethodDescriptorImpl
protected MethodDescriptorImpl(Class<?> elementClass,
Validation[] validations)
- Create a new MethodDescriptorImpl instance.
- Parameters:
elementClass - validations -
getParameterDescriptors
public List<ParameterDescriptor> getParameterDescriptors()
- Get the
ParameterDescriptors for this MethodDescriptor.
- Specified by:
getParameterDescriptors in interface MethodDescriptor- Specified by:
getParameterDescriptors in interface ProcedureDescriptor
- Returns:
List of ParameterDescriptor
isCascaded
public boolean isCascaded()
- Learn whether the referenced method should be validated.
- Specified by:
isCascaded in interface MethodDescriptor
- Returns:
- boolean
setCascaded
public void setCascaded(boolean cascaded)
- Set whether this procedure should be validated.
- Specified by:
setCascaded in interface ProcedureDescriptor
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.