Package org.teamapps.data.extract
Class BeanPropertyExtractor<RECORD>
java.lang.Object
org.teamapps.data.extract.BeanPropertyExtractor<RECORD>
- All Implemented Interfaces:
PropertyExtractor<RECORD>,PropertyProvider<RECORD>
public class BeanPropertyExtractor<RECORD> extends java.lang.Object implements PropertyExtractor<RECORD>
-
Constructor Summary
Constructors Constructor Description BeanPropertyExtractor() -
Method Summary
Modifier and Type Method Description BeanPropertyExtractor<RECORD>addProperty(java.lang.String propertyName, ValueExtractor<RECORD> valueExtractor)java.lang.ObjectgetValue(RECORD record, java.lang.String propertyName)protected ValueExtractor<RECORD>getValueExtractor(java.lang.Class clazz, java.lang.String propertyName)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.teamapps.data.extract.PropertyExtractor
getValues
-
Constructor Details
-
BeanPropertyExtractor
public BeanPropertyExtractor()
-
-
Method Details
-
getValue
- Specified by:
getValuein interfacePropertyExtractor<RECORD>
-
getValueExtractor
protected ValueExtractor<RECORD> getValueExtractor(java.lang.Class clazz, java.lang.String propertyName) -
addProperty
public BeanPropertyExtractor<RECORD> addProperty(java.lang.String propertyName, ValueExtractor<RECORD> valueExtractor)
-