public class JavaClassPropertyAccessor<T> extends java.lang.Object implements PropertyAccessor<T>
| Constructor and Description |
|---|
JavaClassPropertyAccessor(RuntimeContextBuilder runtimeContextBuilder,
com.github.leeonky.util.BeanClass<T> type) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getPropertyNames(T instance) |
java.lang.Object |
getValue(T instance,
java.lang.String name) |
boolean |
isNull(T instance) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValueByDatapublic JavaClassPropertyAccessor(RuntimeContextBuilder runtimeContextBuilder, com.github.leeonky.util.BeanClass<T> type)
public java.lang.Object getValue(T instance, java.lang.String name)
getValue in interface PropertyAccessor<T>public java.util.Set<java.lang.String> getPropertyNames(T instance)
getPropertyNames in interface PropertyAccessor<T>public boolean isNull(T instance)
isNull in interface PropertyAccessor<T>