T - the generic bean typeV - the generic property value typepublic class BeanPropertySupplierImpl<T,V> extends java.lang.Object implements BeanPropertySupplier<T,V>
| Constructor and Description |
|---|
BeanPropertySupplierImpl(java.lang.Class<T> beanType,
java.lang.Class<V> propertyType,
V propertyValue,
java.lang.String propertyName)
Instantiates a new bean property supplier impl.
|
| Modifier and Type | Method and Description |
|---|---|
V |
get() |
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 BeanPropertySupplierImpl(java.lang.Class<T> beanType, java.lang.Class<V> propertyType, V propertyValue, java.lang.String propertyName)
beanType - the bean typepropertyType - the property typepropertyValue - the property valuepropertyName - the property namepublic java.lang.Class<T> getInstanceType()
getInstanceType in interface BeanPropertyDescriptor<T,V>getInstanceType in interface BeanPropertySupplier<T,V>public java.lang.String getName()
getName in interface BeanPropertyDescriptor<T,V>getName in interface BeanPropertySupplier<T,V>public java.lang.Class<V> getType()
BeanPropertySuppliergetType in interface BeanPropertyDescriptor<T,V>getType in interface BeanPropertySupplier<T,V>