Class JavaBeanGetter
java.lang.Object
org.hibernate.validator.internal.properties.javabean.JavaBeanExecutable<Method>
org.hibernate.validator.internal.properties.javabean.JavaBeanMethod
org.hibernate.validator.internal.properties.javabean.JavaBeanGetter
- All Implemented Interfaces:
Callable
,Constrainable
,Getter
,JavaBeanAnnotatedConstrainable
,JavaBeanAnnotatedElement
,Property
- Author:
- Marko Bekhta
-
Field Summary
Fields inherited from class org.hibernate.validator.internal.properties.javabean.JavaBeanExecutable
executable
-
Constructor Summary
ConstructorDescriptionJavaBeanGetter
(Class<?> declaringClass, Method method, String propertyName, String resolvedPropertyName) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Class<?>
getParameterName
(ExecutableParameterNameProvider parameterNameProvider, int parameterIndex) int
hashCode()
boolean
boolean
Methods inherited from class org.hibernate.validator.internal.properties.javabean.JavaBeanMethod
getTypeParameters
Methods inherited from class org.hibernate.validator.internal.properties.javabean.JavaBeanExecutable
getAnnotatedType, getAnnotation, getDeclaredAnnotations, getGenericType, getName, getParameterCount, getParameterGenericType, getParameters, getParameterTypes, getSignature, getType, getTypeForValidatorResolution, isPrivate, isResolvedToSameMethodInHierarchy, overrides, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hibernate.validator.internal.properties.Constrainable
as, getName, getType, getTypeForValidatorResolution
Methods inherited from interface org.hibernate.validator.internal.properties.javabean.JavaBeanAnnotatedElement
isAnnotationPresent
-
Constructor Details
-
JavaBeanGetter
-
-
Method Details
-
getPropertyName
- Specified by:
getPropertyName
in interfaceProperty
-
getResolvedPropertyName
- Specified by:
getResolvedPropertyName
in interfaceProperty
-
hasReturnValue
public boolean hasReturnValue()- Specified by:
hasReturnValue
in interfaceCallable
- Overrides:
hasReturnValue
in classJavaBeanExecutable<Method>
-
hasParameters
public boolean hasParameters()- Specified by:
hasParameters
in interfaceCallable
- Overrides:
hasParameters
in classJavaBeanExecutable<Method>
-
getParameterName
public String getParameterName(ExecutableParameterNameProvider parameterNameProvider, int parameterIndex) - Specified by:
getParameterName
in interfaceCallable
- Overrides:
getParameterName
in classJavaBeanExecutable<Method>
-
getDeclaringClass
- Specified by:
getDeclaringClass
in interfaceConstrainable
- Overrides:
getDeclaringClass
in classJavaBeanExecutable<Method>
-
getConstrainedElementKind
- Specified by:
getConstrainedElementKind
in interfaceConstrainable
- Specified by:
getConstrainedElementKind
in interfaceGetter
- Overrides:
getConstrainedElementKind
in classJavaBeanMethod
-
createAccessor
- Specified by:
createAccessor
in interfaceProperty
-
equals
- Overrides:
equals
in classJavaBeanExecutable<Method>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classJavaBeanExecutable<Method>
-