public class JavaBeanField extends Object implements Field, JavaBeanAnnotatedConstrainable
Constructor and Description |
---|
JavaBeanField(Field field,
String resolvedPropertyName) |
Modifier and Type | Method and Description |
---|---|
PropertyAccessor |
createAccessor() |
boolean |
equals(Object o) |
AnnotatedType |
getAnnotatedType() |
<A extends Annotation> |
getAnnotation(Class<A> annotationClass) |
Annotation[] |
getDeclaredAnnotations() |
Class<?> |
getDeclaringClass() |
Type |
getGenericType() |
String |
getName() |
String |
getPropertyName() |
String |
getResolvedPropertyName() |
Type |
getType() |
Type |
getTypeForValidatorResolution() |
TypeVariable<?>[] |
getTypeParameters() |
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getConstrainedElementKind
as
isAnnotationPresent
public String getName()
getName
in interface Constrainable
public Class<?> getDeclaringClass()
getDeclaringClass
in interface Constrainable
public Type getType()
getType
in interface Constrainable
getType
in interface JavaBeanAnnotatedElement
public Type getTypeForValidatorResolution()
getTypeForValidatorResolution
in interface Constrainable
public String getPropertyName()
getPropertyName
in interface Property
public String getResolvedPropertyName()
getResolvedPropertyName
in interface Property
public AnnotatedType getAnnotatedType()
getAnnotatedType
in interface JavaBeanAnnotatedElement
public Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface JavaBeanAnnotatedElement
public <A extends Annotation> A getAnnotation(Class<A> annotationClass)
getAnnotation
in interface JavaBeanAnnotatedElement
public Type getGenericType()
getGenericType
in interface JavaBeanAnnotatedElement
public TypeVariable<?>[] getTypeParameters()
getTypeParameters
in interface JavaBeanAnnotatedElement
public PropertyAccessor createAccessor()
createAccessor
in interface Property
Copyright © 2007-2021 Red Hat, Inc. All Rights Reserved