javax.validation.metadata
Interface ConstructorDescriptor
- All Superinterfaces:
- ElementDescriptor
public interface ConstructorDescriptor
- extends ElementDescriptor
Describes a validated constructor.
- Author:
- Gunnar Morling
getParameterDescriptors
List<ParameterDescriptor> getParameterDescriptors()
Returns a list with descriptors for this constructor parameters. The size
of this list corresponds to the number of this constructor parameters.
- Returns:
- A list with descriptors for this constructor's parameters. An
empty list will be returned if this constructor has no
parameters, but never
null
.
getReturnValueDescriptor
ReturnValueDescriptor getReturnValueDescriptor()
- Returns a descriptor for this constructor's return value.
- Returns:
- A descriptor for this constructor's return value.
Copyright © 2007-2012. All Rights Reserved.