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