
cn.featherfly.common.bean.BeanPropertyValue Maven / Gradle / Ivy
/*
* All rights Reserved, Designed By zhongj
* @Title: BeanPropertyValue.java
* @Package cn.featherfly.common.bean
* @Description: BeanPropertyValue
* @author: zhongj
* @date: 2021-12-05 18:45:05
* @Copyright: 2021 www.featherfly.cn Inc. All rights reserved.
*/
package cn.featherfly.common.bean;
/**
* BeanPropertyValue.
*
* @author zhongj
* @param the generic type
*/
public class BeanPropertyValue {
private BeanProperty beanProperty;
private T value;
/**
* Instantiates a new bean property value.
*
* @param beanProperty the bean property
* @param value the value
*/
public BeanPropertyValue(BeanProperty beanProperty, T value) {
super();
this.beanProperty = beanProperty;
this.value = value;
}
/**
* get beanProperty value.
*
* @return beanProperty
*/
public BeanProperty getBeanProperty() {
return beanProperty;
}
/**
* get value value.
*
* @return value
*/
public T getValue() {
return value;
}
/**
* {@inheritDoc}
*/
@Override
public String toString() {
return "[beanProperty=" + beanProperty + ", value=" + value + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy