T - the generic bean typeV - the generic property value typepublic class BeanPropertyGetterImpl<T,V> extends java.lang.Object implements BeanPropertyGetter<T,V>
| Constructor and Description |
|---|
BeanPropertyGetterImpl(java.lang.Class<T> beanType,
java.lang.Class<V> propertyType,
java.lang.String propertyName)
Instantiates a new bean property supplier impl.
|
| Modifier and Type | Method and Description |
|---|---|
V |
apply(T t) |
java.lang.Class<T> |
getInstanceType()
Gets the bean type.
|
java.lang.String |
getName()
Gets the property name.
|
java.lang.Class<V> |
getType()
Gets the property type.
|
public java.lang.Class<T> getInstanceType()
getInstanceType in interface BeanPropertyDescriptor<T,V>getInstanceType in interface BeanPropertyGetter<T,V>public java.lang.String getName()
getName in interface BeanPropertyDescriptor<T,V>getName in interface BeanPropertyGetter<T,V>public java.lang.Class<V> getType()
BeanPropertyGettergetType in interface BeanPropertyDescriptor<T,V>getType in interface BeanPropertyGetter<T,V>