1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 package org.nuiton.util.beans;
23
24
25
26
27
28
29
30 public class PropertyDiff {
31
32 protected Class<?> propertyType;
33
34 protected String sourceProperty;
35
36 protected Object sourceValue;
37
38 protected String targetProperty;
39
40 protected Object targetValue;
41
42 public PropertyDiff() {
43 }
44
45 public PropertyDiff(String sourceProperty,
46 Object sourceValue,
47 String targetProperty,
48 Object targetValue,
49 Class<?> propertyType) {
50 this.sourceProperty = sourceProperty;
51 this.sourceValue = sourceValue;
52 this.targetProperty = targetProperty;
53 this.targetValue = targetValue;
54 this.propertyType = propertyType;
55 }
56
57 public String getSourceProperty() {
58 return sourceProperty;
59 }
60
61 public void setSourceProperty(String sourceProperty) {
62 this.sourceProperty = sourceProperty;
63 }
64
65 public Object getSourceValue() {
66 return sourceValue;
67 }
68
69 public void setSourceValue(Object sourceValue) {
70 this.sourceValue = sourceValue;
71 }
72
73 public String getTargetProperty() {
74 return targetProperty;
75 }
76
77 public void setTargetProperty(String targetProperty) {
78 this.targetProperty = targetProperty;
79 }
80
81 public Object getTargetValue() {
82 return targetValue;
83 }
84
85 public void setTargetValue(Object targetValue) {
86 this.targetValue = targetValue;
87 }
88
89 public Class<?> getPropertyType() {
90 return propertyType;
91 }
92
93 public void setPropertyType(Class<?> propertyType) {
94 this.propertyType = propertyType;
95 }
96
97 }