Package org.nuiton.util.beans
Class PropertyDiff
java.lang.Object
org.nuiton.util.beans.PropertyDiff
public class PropertyDiff
extends java.lang.Object
TODO
- Since:
- 2.4
- Author:
- Brendan Le Ny - bleny@codelutin.com
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Class<?>propertyTypeprotected java.lang.StringsourcePropertyprotected java.lang.ObjectsourceValueprotected java.lang.StringtargetPropertyprotected java.lang.ObjecttargetValue -
Constructor Summary
Constructors Constructor Description PropertyDiff()PropertyDiff(java.lang.String sourceProperty, java.lang.Object sourceValue, java.lang.String targetProperty, java.lang.Object targetValue, java.lang.Class<?> propertyType) -
Method Summary
Modifier and Type Method Description java.lang.Class<?>getPropertyType()java.lang.StringgetSourceProperty()java.lang.ObjectgetSourceValue()java.lang.StringgetTargetProperty()java.lang.ObjectgetTargetValue()voidsetPropertyType(java.lang.Class<?> propertyType)voidsetSourceProperty(java.lang.String sourceProperty)voidsetSourceValue(java.lang.Object sourceValue)voidsetTargetProperty(java.lang.String targetProperty)voidsetTargetValue(java.lang.Object targetValue)
-
Field Details
-
propertyType
protected java.lang.Class<?> propertyType -
sourceProperty
protected java.lang.String sourceProperty -
sourceValue
protected java.lang.Object sourceValue -
targetProperty
protected java.lang.String targetProperty -
targetValue
protected java.lang.Object targetValue
-
-
Constructor Details
-
PropertyDiff
public PropertyDiff() -
PropertyDiff
public PropertyDiff(java.lang.String sourceProperty, java.lang.Object sourceValue, java.lang.String targetProperty, java.lang.Object targetValue, java.lang.Class<?> propertyType)
-
-
Method Details
-
getSourceProperty
public java.lang.String getSourceProperty() -
setSourceProperty
public void setSourceProperty(java.lang.String sourceProperty) -
getSourceValue
public java.lang.Object getSourceValue() -
setSourceValue
public void setSourceValue(java.lang.Object sourceValue) -
getTargetProperty
public java.lang.String getTargetProperty() -
setTargetProperty
public void setTargetProperty(java.lang.String targetProperty) -
getTargetValue
public java.lang.Object getTargetValue() -
setTargetValue
public void setTargetValue(java.lang.Object targetValue) -
getPropertyType
public java.lang.Class<?> getPropertyType() -
setPropertyType
public void setPropertyType(java.lang.Class<?> propertyType)
-