public class ConstructorDescriptorImpl extends InvocableElementDescriptor implements javax.validation.metadata.ConstructorDescriptor, ProcedureDescriptor
ConstructorDescriptor
implementation.elementClass, metaBean
Modifier | Constructor and Description |
---|---|
|
ConstructorDescriptorImpl(MetaBean metaBean,
MetaConstructor metaMethod) |
protected |
ConstructorDescriptorImpl(MetaBean metaBean,
Validation[] validations)
Create a new ConstructorDescriptorImpl instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
boolean |
hasConstrainedParameters() |
boolean |
hasConstrainedReturnValue() |
boolean |
hasConstraints()
return true if at least one constraint declaration is
present on the element.
|
findConstraints, getConstraintDescriptors, getCrossParameterDescriptor, getParameterDescriptors, getReturnValueDescriptor, setCrossParameterDescriptor, setReturnValueDescriptor
addGroupConversion, addGroupMapping, getConstraintDescriptors, getElementClass, getGroupConversions, getMetaBean, getMutableConstraintDescriptors, isCascaded, isValidated, mapGroup, setCascaded, setConstraintDescriptors, setValidated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findConstraints, getConstraintDescriptors, getCrossParameterDescriptor, getParameterDescriptors, getReturnValueDescriptor
addGroupMapping, getMetaBean, getParameterDescriptors, mapGroup, setCascaded
protected ConstructorDescriptorImpl(MetaBean metaBean, Validation[] validations)
metaBean
- validations
- public ConstructorDescriptorImpl(MetaBean metaBean, MetaConstructor metaMethod)
public String getName()
getName
in interface javax.validation.metadata.ExecutableDescriptor
public boolean hasConstraints()
ElementDescriptorImpl
hasConstraints
in interface javax.validation.metadata.ElementDescriptor
hasConstraints
in interface javax.validation.metadata.ExecutableDescriptor
hasConstraints
in class ElementDescriptorImpl
public boolean hasConstrainedParameters()
hasConstrainedParameters
in interface javax.validation.metadata.ExecutableDescriptor
hasConstrainedParameters
in class InvocableElementDescriptor
public boolean hasConstrainedReturnValue()
hasConstrainedReturnValue
in interface javax.validation.metadata.ExecutableDescriptor
hasConstrainedReturnValue
in class InvocableElementDescriptor
Copyright © 2010–2024 The Apache Software Foundation. All rights reserved.