All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.juffrou.reflect.JuffrouPropertyDescriptor Maven / Gradle / Ivy

There is a newer version: 2.1.9
Show newest version
package net.sf.juffrou.reflect;

import java.beans.IntrospectionException;
import java.beans.PropertyDescriptor;

import net.sf.juffrou.reflect.internal.BeanFieldHandler;

/**
 * Spring framework's property descriptor for Juffrou BeanWrapper's properties
 * @author cemartins
 *
 */
public class JuffrouPropertyDescriptor extends PropertyDescriptor {
	
	public JuffrouPropertyDescriptor(Class beanClass, BeanFieldHandler beanFieldHandler) throws IntrospectionException {
		super(beanFieldHandler.getField().getName(), beanFieldHandler.getReadMethod(beanClass), beanFieldHandler.getWriteMethod(beanClass));
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy