}
@Override
public Object getValue(String name, Object target) {
//get property metadata
PropertyMetadata metadata = this.metadataMap.get(name);
Object value = null;
if(metadata != null && metadata.getAccessor() != null) {
String accessor = metadata.getAccessor();
if(metadata.isField()) {
try {
Field field = this.targetClass.getDeclaredField(accessor);
field.setAccessible(true);
value = field.get(target);
} catch (SecurityException e) {