Class ExecutableDescriptorImpl
java.lang.Object
org.hibernate.validator.internal.metadata.descriptor.ElementDescriptorImpl
org.hibernate.validator.internal.metadata.descriptor.ExecutableDescriptorImpl
- All Implemented Interfaces:
Serializable
,ConstructorDescriptor
,ElementDescriptor
,ExecutableDescriptor
,MethodDescriptor
public class ExecutableDescriptorImpl
extends ElementDescriptorImpl
implements ConstructorDescriptor, MethodDescriptor
Describes a validated constructor or method.
- Author:
- Gunnar Morling
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.validation.metadata.ElementDescriptor
ElementDescriptor.ConstraintFinder
-
Constructor Summary
ConstructorsConstructorDescriptionExecutableDescriptorImpl
(Type returnType, String name, Set<ConstraintDescriptorImpl<?>> crossParameterConstraints, ReturnValueDescriptor returnValueDescriptor, List<ParameterDescriptor> parameters, boolean defaultGroupSequenceRedefined, boolean isGetter, List<Class<?>> defaultGroupSequence) -
Method Summary
Methods inherited from class org.hibernate.validator.internal.metadata.descriptor.ElementDescriptorImpl
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface javax.validation.metadata.ElementDescriptor
getElementClass
Methods inherited from interface javax.validation.metadata.ExecutableDescriptor
findConstraints, getConstraintDescriptors, hasConstraints
-
Constructor Details
-
ExecutableDescriptorImpl
public ExecutableDescriptorImpl(Type returnType, String name, Set<ConstraintDescriptorImpl<?>> crossParameterConstraints, ReturnValueDescriptor returnValueDescriptor, List<ParameterDescriptor> parameters, boolean defaultGroupSequenceRedefined, boolean isGetter, List<Class<?>> defaultGroupSequence)
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceExecutableDescriptor
-
getParameterDescriptors
- Specified by:
getParameterDescriptors
in interfaceExecutableDescriptor
-
getReturnValueDescriptor
- Specified by:
getReturnValueDescriptor
in interfaceExecutableDescriptor
-
hasConstrainedParameters
public boolean hasConstrainedParameters()- Specified by:
hasConstrainedParameters
in interfaceExecutableDescriptor
-
hasConstrainedReturnValue
public boolean hasConstrainedReturnValue()- Specified by:
hasConstrainedReturnValue
in interfaceExecutableDescriptor
-
getCrossParameterDescriptor
- Specified by:
getCrossParameterDescriptor
in interfaceExecutableDescriptor
-
toString
-
isGetter
public boolean isGetter()
-