org.hibernate.validator.internal.metadata.descriptor
Class ParameterDescriptorImpl
java.lang.Object
org.hibernate.validator.internal.metadata.descriptor.ElementDescriptorImpl
org.hibernate.validator.internal.metadata.descriptor.ParameterDescriptorImpl
- All Implemented Interfaces:
- Serializable, ElementDescriptor, ParameterDescriptor
public class ParameterDescriptorImpl
- extends ElementDescriptorImpl
- implements ParameterDescriptor
Describes a validated method parameter.
- Author:
- Gunnar Morling, Hardy Ferentschik
- See Also:
- Serialized Form
ParameterDescriptorImpl
public ParameterDescriptorImpl(Type type,
int index,
String name,
Set<ConstraintDescriptorImpl<?>> constraints,
boolean isCascaded,
boolean defaultGroupSequenceRedefined,
List<Class<?>> defaultGroupSequence)
isCascaded
public boolean isCascaded()
- Specified by:
isCascaded in interface ParameterDescriptor
getIndex
public int getIndex()
- Specified by:
getIndex in interface ParameterDescriptor
getName
public String getName()
- Specified by:
getName in interface ParameterDescriptor
getKind
public ElementDescriptor.Kind getKind()
- Specified by:
getKind in interface ElementDescriptor- Specified by:
getKind in class ElementDescriptorImpl
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved