public class JavaBeanGetter extends JavaBeanMethod implements Getter
executable
Constructor and Description |
---|
JavaBeanGetter(Class<?> declaringClass,
Method method,
String propertyName,
String resolvedPropertyName) |
Modifier and Type | Method and Description |
---|---|
PropertyAccessor |
createAccessor() |
boolean |
equals(Object o) |
ConstrainedElement.ConstrainedElementKind |
getConstrainedElementKind() |
Class<?> |
getDeclaringClass() |
String |
getParameterName(ExecutableParameterNameProvider parameterNameProvider,
int parameterIndex) |
String |
getPropertyName() |
String |
getResolvedPropertyName() |
int |
hashCode() |
boolean |
hasParameters() |
boolean |
hasReturnValue() |
getTypeParameters
getAnnotatedType, getAnnotation, getDeclaredAnnotations, getGenericType, getName, getParameterCount, getParameterGenericType, getParameters, getParameterTypes, getSignature, getType, getTypeForValidatorResolution, isPrivate, isResolvedToSameMethodInHierarchy, overrides, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
as, getName, getType, getTypeForValidatorResolution
isAnnotationPresent
public String getPropertyName()
getPropertyName
in interface Property
public String getResolvedPropertyName()
getResolvedPropertyName
in interface Property
public boolean hasReturnValue()
hasReturnValue
in interface Callable
hasReturnValue
in class JavaBeanExecutable<Method>
public boolean hasParameters()
hasParameters
in interface Callable
hasParameters
in class JavaBeanExecutable<Method>
public String getParameterName(ExecutableParameterNameProvider parameterNameProvider, int parameterIndex)
getParameterName
in interface Callable
getParameterName
in class JavaBeanExecutable<Method>
public Class<?> getDeclaringClass()
getDeclaringClass
in interface Constrainable
getDeclaringClass
in class JavaBeanExecutable<Method>
public ConstrainedElement.ConstrainedElementKind getConstrainedElementKind()
getConstrainedElementKind
in interface Constrainable
getConstrainedElementKind
in interface Getter
getConstrainedElementKind
in class JavaBeanMethod
public PropertyAccessor createAccessor()
createAccessor
in interface Property
public boolean equals(Object o)
equals
in class JavaBeanExecutable<Method>
public int hashCode()
hashCode
in class JavaBeanExecutable<Method>
Copyright © 2007-2021 Red Hat, Inc. All Rights Reserved