public class PropertyInfo extends Object implements Comparable<PropertyInfo>
Constructor and Description |
---|
PropertyInfo(Class<?> beanClass,
String name,
Field field,
Method readMethod,
Method writeMethod,
boolean isStatic) |
PropertyInfo(Class<?> beanClass,
String name,
Field field,
Method readMethod,
Method writeMethod,
boolean isStatic,
int ordinal) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PropertyInfo property) |
Object |
get(Object target) |
Class<?> |
getBeanClass() |
Field |
getField() |
String |
getName() |
int |
getOrdinal() |
<T extends Annotation> |
getReadAnnotation(Class<T> annotationClass) |
Type |
getReadGenericType() |
Member |
getReadMember() |
Method |
getReadMethod() |
Class<?> |
getReadType() |
<T extends Annotation> |
getWriteAnnotation(Class<T> annotationClass) |
Type |
getWriteGenericType() |
Member |
getWriteMember() |
Method |
getWriteMethod() |
Class<?> |
getWriteType() |
boolean |
isReadable() |
boolean |
isStatic() |
boolean |
isWritable() |
void |
set(Object target,
Object value) |
String |
toString() |
public PropertyInfo(Class<?> beanClass, String name, Field field, Method readMethod, Method writeMethod, boolean isStatic)
public Class<?> getBeanClass()
public String getName()
public boolean isStatic()
public Field getField()
public Method getReadMethod()
public Method getWriteMethod()
public boolean isReadable()
public Member getReadMember()
public Class<?> getReadType()
public Type getReadGenericType()
public <T extends Annotation> T getReadAnnotation(Class<T> annotationClass)
public boolean isWritable()
public Member getWriteMember()
public Class<?> getWriteType()
public Type getWriteGenericType()
public <T extends Annotation> T getWriteAnnotation(Class<T> annotationClass)
public int getOrdinal()
public int compareTo(PropertyInfo property)
compareTo
in interface Comparable<PropertyInfo>
Copyright © 2015. All rights reserved.