1
|
package eu.dnetlib.data.claims.entity;
|
2
|
|
3
|
import java.util.Date;
|
4
|
|
5
|
/**
|
6
|
* Created by kiatrop on 20/11/2015.
|
7
|
*/
|
8
|
public class Claim {
|
9
|
|
10
|
private String id;
|
11
|
private String userMail;
|
12
|
private Date date;
|
13
|
private String sourceType;
|
14
|
private String targetType;
|
15
|
private String semantics;
|
16
|
private Date curationDate;
|
17
|
private String curatedBy;
|
18
|
private boolean approved;
|
19
|
private OpenaireEntity source;
|
20
|
private OpenaireEntity target;
|
21
|
|
22
|
|
23
|
|
24
|
public OpenaireEntity getTarget() {
|
25
|
return target;
|
26
|
}
|
27
|
|
28
|
public void setTarget(OpenaireEntity target) {
|
29
|
this.target = target;
|
30
|
}
|
31
|
|
32
|
public OpenaireEntity getSource() {
|
33
|
return source;
|
34
|
}
|
35
|
|
36
|
public void setSource(OpenaireEntity source) {
|
37
|
this.source = source;
|
38
|
}
|
39
|
|
40
|
public String getId() {
|
41
|
return id;
|
42
|
}
|
43
|
|
44
|
public void setId(String id) {
|
45
|
this.id = id;
|
46
|
}
|
47
|
|
48
|
public String getUserMail() {
|
49
|
return userMail;
|
50
|
}
|
51
|
|
52
|
public void setUserMail(String userMail) {
|
53
|
this.userMail = userMail;
|
54
|
}
|
55
|
|
56
|
public Date getDate() {
|
57
|
return date;
|
58
|
}
|
59
|
|
60
|
public void setDate(Date date) {
|
61
|
this.date = date;
|
62
|
}
|
63
|
|
64
|
public String getSourceType() {
|
65
|
return sourceType;
|
66
|
}
|
67
|
|
68
|
public void setSourceType(String sourceType) {
|
69
|
this.sourceType = sourceType;
|
70
|
}
|
71
|
|
72
|
public String getTargetType() {
|
73
|
return targetType;
|
74
|
}
|
75
|
|
76
|
public void setTargetType(String targetType) {
|
77
|
this.targetType = targetType;
|
78
|
}
|
79
|
|
80
|
public String getSemantics() {
|
81
|
return semantics;
|
82
|
}
|
83
|
|
84
|
public void setSemantics(String semantics) {
|
85
|
this.semantics = semantics;
|
86
|
}
|
87
|
|
88
|
public Date getCurationDate() {
|
89
|
return curationDate;
|
90
|
}
|
91
|
|
92
|
public void setCurationDate(Date curationDate) {
|
93
|
this.curationDate = curationDate;
|
94
|
}
|
95
|
|
96
|
public String getCuratedBy() {
|
97
|
return curatedBy;
|
98
|
}
|
99
|
|
100
|
public void setCuratedBy(String curatedBy) {
|
101
|
this.curatedBy = curatedBy;
|
102
|
}
|
103
|
|
104
|
public boolean isApproved() {
|
105
|
return approved;
|
106
|
}
|
107
|
|
108
|
public void setApproved(boolean approved) {
|
109
|
this.approved = approved;
|
110
|
}
|
111
|
|
112
|
@Override
|
113
|
public String toString() {
|
114
|
return "Claim{" +
|
115
|
"\nid='" + id + '\'' +
|
116
|
",\n userMail='" + userMail + '\'' +
|
117
|
",\n date=" + date +
|
118
|
",\n sourceType='" + sourceType + '\'' +
|
119
|
",\n targetType='" + targetType + '\'' +
|
120
|
",\n semantics='" + semantics + '\'' +
|
121
|
",\n curationDate='" + curationDate + '\'' +
|
122
|
",\n curatedBy='" + curatedBy + '\'' +
|
123
|
",\n approved=" + approved +
|
124
|
",\ntarget={" + ((target==null)?"null":target.toString())+
|
125
|
"},\n source={" + ((source==null)?"null":source.toString()) +
|
126
|
'}';
|
127
|
}
|
128
|
|
129
|
}
|