类 BeanPropertyDescriptor
- java.lang.Object
-
- net.sinodawn.framework.beans.BeanPropertyDescriptor
-
public class BeanPropertyDescriptor extends Object
-
-
构造器概要
构造器 限定符 构造器 说明 protectedBeanPropertyDescriptor()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object target)<T extends Annotation>
TgetAnnotationIfPresent(Class<T> annotationClass)Class<?>getDeclaringType()StringgetName()FieldgetProperty()Class<?>getPropertyType()<T,V>
VgetPropertyValue(T item)MethodgetReadMethod()MethodgetWriteMethod()<T extends Annotation>
booleanisAnnotationPresent(Class<T> annotationClass)booleanisExt$BeanProperty()booleanisValidBeanProperty()static BeanPropertyDescriptorof(Class<?> type, String propertyName)static BeanPropertyDescriptorof(Field property)<T> voidpassValue(T source, T target)<T,V>
voidsetPropertyValue(T item, V value)
-
-
-
方法详细资料
-
of
public static BeanPropertyDescriptor of(Class<?> type, String propertyName)
-
of
public static BeanPropertyDescriptor of(Field property)
-
getDeclaringType
public Class<?> getDeclaringType()
-
getProperty
public Field getProperty()
-
getReadMethod
public Method getReadMethod()
-
getWriteMethod
public Method getWriteMethod()
-
getName
public String getName()
-
getPropertyType
public Class<?> getPropertyType()
-
isValidBeanProperty
public boolean isValidBeanProperty()
-
isExt$BeanProperty
public boolean isExt$BeanProperty()
-
getAnnotationIfPresent
public <T extends Annotation> T getAnnotationIfPresent(Class<T> annotationClass)
-
isAnnotationPresent
public <T extends Annotation> boolean isAnnotationPresent(Class<T> annotationClass)
-
passValue
public <T> void passValue(T source, T target)
-
getPropertyValue
public <T,V> V getPropertyValue(T item)
-
setPropertyValue
public <T,V> void setPropertyValue(T item, V value)
-
-