cn.featherfly.conversion.convertors.Proxy Maven / Gradle / Ivy
package cn.featherfly.conversion.convertors;
import cn.featherfly.common.bean.BeanProperty;
import cn.featherfly.common.lang.GenericType;
/**
*
* Proxy
*
*
* @author zhongj
*/
public class Proxy implements GenericType {
private BeanProperty> proxy;
private Class proxyType;
/**
* @param proxy
* @param proxyType
*/
public Proxy(BeanProperty> proxy, Class proxyType) {
super();
this.proxy = proxy;
this.proxyType = proxyType;
}
/**
* {@inheritDoc}
*/
@Override
public Class getType() {
return proxyType;
}
/**
* 返回beanProperty
*
* @return beanProperty
*/
public BeanProperty> getProxy() {
return proxy;
}
}