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, MethodDescriptor
public class ExecutableDescriptorImpl
- extends ElementDescriptorImpl
- implements ConstructorDescriptor, MethodDescriptor
Describes a validated constructor or method.
- Author:
- Gunnar Morling
- See Also:
- Serialized Form
|
Constructor Summary |
ExecutableDescriptorImpl(Type returnType,
Set<ConstraintDescriptorImpl<?>> returnValueConstraints,
ReturnValueDescriptor returnValueDescriptor,
List<ParameterDescriptor> parameters,
boolean defaultGroupSequenceRedefined,
List<Class<?>> defaultGroupSequence)
|
ExecutableDescriptorImpl(Type returnType,
String name,
Set<ConstraintDescriptorImpl<?>> returnValueConstraints,
ReturnValueDescriptor returnValueDescriptor,
List<ParameterDescriptor> parameters,
boolean defaultGroupSequenceRedefined,
List<Class<?>> defaultGroupSequence)
|
ExecutableDescriptorImpl
public ExecutableDescriptorImpl(Type returnType,
Set<ConstraintDescriptorImpl<?>> returnValueConstraints,
ReturnValueDescriptor returnValueDescriptor,
List<ParameterDescriptor> parameters,
boolean defaultGroupSequenceRedefined,
List<Class<?>> defaultGroupSequence)
ExecutableDescriptorImpl
public ExecutableDescriptorImpl(Type returnType,
String name,
Set<ConstraintDescriptorImpl<?>> returnValueConstraints,
ReturnValueDescriptor returnValueDescriptor,
List<ParameterDescriptor> parameters,
boolean defaultGroupSequenceRedefined,
List<Class<?>> defaultGroupSequence)
getName
public String getName()
- Specified by:
getName in interface MethodDescriptor
getParameterDescriptors
public List<ParameterDescriptor> getParameterDescriptors()
- Specified by:
getParameterDescriptors in interface ConstructorDescriptor- Specified by:
getParameterDescriptors in interface MethodDescriptor
getReturnValueDescriptor
public ReturnValueDescriptor getReturnValueDescriptor()
- Specified by:
getReturnValueDescriptor in interface ConstructorDescriptor- Specified by:
getReturnValueDescriptor in interface MethodDescriptor
toString
public String toString()
- Overrides:
toString in class Object
getKind
public ElementDescriptor.Kind getKind()
- Specified by:
getKind in interface ElementDescriptor- Specified by:
getKind in class ElementDescriptorImpl
Copyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved