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(ElementDescriptor.Kind kind,
Type returnType,
String name,
Set<ConstraintDescriptorImpl<?>> crossParameterValueConstraints,
ReturnValueDescriptor returnValueDescriptor,
List<ParameterDescriptor> parameters,
boolean defaultGroupSequenceRedefined,
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
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
areParametersConstrained
public boolean areParametersConstrained()
- Specified by:
areParametersConstrained in interface ExecutableDescriptor
isReturnValueConstrained
public boolean isReturnValueConstrained()
- Specified by:
isReturnValueConstrained in interface ExecutableDescriptor
Copyright © 2007-2013 Red Hat Middleware, LLC. All Rights Reserved