public class ExecutableDescriptorImpl extends ElementDescriptorImpl implements javax.validation.metadata.ConstructorDescriptor, javax.validation.metadata.MethodDescriptor
Constructor and Description |
---|
ExecutableDescriptorImpl(java.lang.reflect.Type returnType,
java.lang.String name,
java.util.Set<ConstraintDescriptorImpl<?>> crossParameterConstraints,
javax.validation.metadata.ReturnValueDescriptor returnValueDescriptor,
java.util.List<javax.validation.metadata.ParameterDescriptor> parameters,
boolean defaultGroupSequenceRedefined,
boolean isGetter,
java.util.List<java.lang.Class<?>> defaultGroupSequence) |
Modifier and Type | Method and Description |
---|---|
javax.validation.metadata.CrossParameterDescriptor |
getCrossParameterDescriptor() |
java.lang.String |
getName() |
java.util.List<javax.validation.metadata.ParameterDescriptor> |
getParameterDescriptors() |
javax.validation.metadata.ReturnValueDescriptor |
getReturnValueDescriptor() |
boolean |
hasConstrainedParameters() |
boolean |
hasConstrainedReturnValue() |
boolean |
isGetter() |
java.lang.String |
toString() |
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public ExecutableDescriptorImpl(java.lang.reflect.Type returnType, java.lang.String name, java.util.Set<ConstraintDescriptorImpl<?>> crossParameterConstraints, javax.validation.metadata.ReturnValueDescriptor returnValueDescriptor, java.util.List<javax.validation.metadata.ParameterDescriptor> parameters, boolean defaultGroupSequenceRedefined, boolean isGetter, java.util.List<java.lang.Class<?>> defaultGroupSequence)
public java.lang.String getName()
getName
in interface javax.validation.metadata.ExecutableDescriptor
public java.util.List<javax.validation.metadata.ParameterDescriptor> getParameterDescriptors()
getParameterDescriptors
in interface javax.validation.metadata.ExecutableDescriptor
public javax.validation.metadata.ReturnValueDescriptor getReturnValueDescriptor()
getReturnValueDescriptor
in interface javax.validation.metadata.ExecutableDescriptor
public boolean hasConstrainedParameters()
hasConstrainedParameters
in interface javax.validation.metadata.ExecutableDescriptor
public boolean hasConstrainedReturnValue()
hasConstrainedReturnValue
in interface javax.validation.metadata.ExecutableDescriptor
public javax.validation.metadata.CrossParameterDescriptor getCrossParameterDescriptor()
getCrossParameterDescriptor
in interface javax.validation.metadata.ExecutableDescriptor
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isGetter()
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved