public class MethodDescriptorImpl extends ElementDescriptorImpl implements MethodDescriptor, ProcedureDescriptor
MethodDescriptor
implementation.elementClass, metaBean
Modifier | Constructor and Description |
---|---|
protected |
MethodDescriptorImpl(Class<?> elementClass,
Validation[] validations)
Create a new MethodDescriptorImpl instance.
|
protected |
MethodDescriptorImpl(MetaBean metaBean,
Validation[] validations)
Create a new MethodDescriptorImpl instance.
|
Modifier and Type | Method and Description |
---|---|
List<ParameterDescriptor> |
getParameterDescriptors()
Get the
ParameterDescriptor s for this MethodDescriptor . |
boolean |
isCascaded()
Learn whether the referenced method should be validated.
|
void |
setCascaded(boolean cascaded)
Set whether this procedure should be validated.
|
findConstraints, getConstraintDescriptors, getConstraintDescriptors, getElementClass, getMetaBean, getMutableConstraintDescriptors, hasConstraints, setConstraintDescriptors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
getMetaBean
protected MethodDescriptorImpl(MetaBean metaBean, Validation[] validations)
metaBean
- validations
- protected MethodDescriptorImpl(Class<?> elementClass, Validation[] validations)
elementClass
- validations
- public List<ParameterDescriptor> getParameterDescriptors()
ParameterDescriptor
s for this MethodDescriptor
.getParameterDescriptors
in interface MethodDescriptor
getParameterDescriptors
in interface ProcedureDescriptor
List
of ParameterDescriptor
public boolean isCascaded()
isCascaded
in interface MethodDescriptor
public void setCascaded(boolean cascaded)
setCascaded
in interface ProcedureDescriptor
Copyright © 2010–2016 The Apache Software Foundation. All rights reserved.