org.hibernate.validator.internal.metadata.descriptor
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:
- Serialized Form
ExecutableDescriptorImpl
public ExecutableDescriptorImpl(Type returnType,
String name,
Set<ConstraintDescriptorImpl<?>> crossParameterConstraints,
ReturnValueDescriptor returnValueDescriptor,
List<ParameterDescriptor> parameters,
boolean defaultGroupSequenceRedefined,
boolean isGetter,
List<Class<?>> defaultGroupSequence)
getName
public String getName()
- Specified by:
getName in interface ExecutableDescriptor
getParameterDescriptors
public List<ParameterDescriptor> getParameterDescriptors()
- Specified by:
getParameterDescriptors in interface ExecutableDescriptor
getReturnValueDescriptor
public ReturnValueDescriptor getReturnValueDescriptor()
- Specified by:
getReturnValueDescriptor in interface ExecutableDescriptor
hasConstrainedParameters
public boolean hasConstrainedParameters()
- Specified by:
hasConstrainedParameters in interface ExecutableDescriptor
hasConstrainedReturnValue
public boolean hasConstrainedReturnValue()
- Specified by:
hasConstrainedReturnValue in interface ExecutableDescriptor
getCrossParameterDescriptor
public CrossParameterDescriptor getCrossParameterDescriptor()
- Specified by:
getCrossParameterDescriptor in interface ExecutableDescriptor
toString
public String toString()
- Overrides:
toString in class Object
isGetter
public boolean isGetter()
Copyright © 2007-2013 Red Hat, Inc. All Rights Reserved