1
|
package eu.dnetlib.domain.functionality.validator;
|
2
|
|
3
|
|
4
|
import java.util.List;
|
5
|
import java.util.Map;
|
6
|
import java.util.Set;
|
7
|
|
8
|
public class StoredJob extends JobForValidation{
|
9
|
private String contentJobStatus, usageJobStatus, started, ended, duration, error;
|
10
|
private String validationType, jobType, guidelinesShortName;
|
11
|
|
12
|
private String validationStatus;
|
13
|
|
14
|
private int recordsTested, id, contentJobScore, usageJobScore;
|
15
|
|
16
|
private Set<Integer> rules;
|
17
|
private List<JobResultEntry> resultEntries;
|
18
|
private Map<String, Integer> filteredScores;
|
19
|
|
20
|
public StoredJob() {
|
21
|
super();
|
22
|
}
|
23
|
|
24
|
public StoredJob(JobForValidation job) {
|
25
|
super(job);
|
26
|
}
|
27
|
|
28
|
public Map<String, Integer> getFilteredScores() {
|
29
|
return filteredScores;
|
30
|
}
|
31
|
|
32
|
public void setFilteredScores(Map<String, Integer> filteredScores) {
|
33
|
this.filteredScores = filteredScores;
|
34
|
}
|
35
|
|
36
|
public List<JobResultEntry> getResultEntries() {
|
37
|
return resultEntries;
|
38
|
}
|
39
|
|
40
|
public void setResultEntries(List<JobResultEntry> resultEntries) {
|
41
|
this.resultEntries = resultEntries;
|
42
|
}
|
43
|
|
44
|
public String getDuration() {
|
45
|
return duration;
|
46
|
}
|
47
|
|
48
|
public void setDuration(String duration) {
|
49
|
this.duration = duration;
|
50
|
}
|
51
|
|
52
|
public int getId() {
|
53
|
return id;
|
54
|
}
|
55
|
|
56
|
public void setId(int id) {
|
57
|
this.id = id;
|
58
|
}
|
59
|
|
60
|
public String getStarted() {
|
61
|
return started;
|
62
|
}
|
63
|
|
64
|
public void setStarted(String started) {
|
65
|
this.started = started;
|
66
|
}
|
67
|
|
68
|
public String getEnded() {
|
69
|
return ended;
|
70
|
}
|
71
|
|
72
|
public void setEnded(String ended) {
|
73
|
this.ended = ended;
|
74
|
}
|
75
|
|
76
|
public String getError() {
|
77
|
return error;
|
78
|
}
|
79
|
|
80
|
public void setError(String error) {
|
81
|
this.error = error;
|
82
|
}
|
83
|
|
84
|
public Set<Integer> getRules() {
|
85
|
return rules;
|
86
|
}
|
87
|
|
88
|
public void setRules(Set<Integer> rules) {
|
89
|
this.rules = rules;
|
90
|
}
|
91
|
|
92
|
public String getValidationType() {
|
93
|
return validationType;
|
94
|
}
|
95
|
|
96
|
public void setValidationType(String validationType) {
|
97
|
this.validationType = validationType;
|
98
|
}
|
99
|
|
100
|
public String getJobType() {
|
101
|
return jobType;
|
102
|
}
|
103
|
|
104
|
public void setJobType(String jobType) {
|
105
|
this.jobType = jobType;
|
106
|
}
|
107
|
|
108
|
public String getContentJobStatus() {
|
109
|
return contentJobStatus;
|
110
|
}
|
111
|
|
112
|
public void setContentJobStatus(String contentJobStatus) {
|
113
|
this.contentJobStatus = contentJobStatus;
|
114
|
}
|
115
|
|
116
|
public String getUsageJobStatus() {
|
117
|
return usageJobStatus;
|
118
|
}
|
119
|
|
120
|
public void setUsageJobStatus(String usageJobStatus) {
|
121
|
this.usageJobStatus = usageJobStatus;
|
122
|
}
|
123
|
|
124
|
public int getContentJobScore() {
|
125
|
return contentJobScore;
|
126
|
}
|
127
|
|
128
|
public void setContentJobScore(int contentJobScore) {
|
129
|
this.contentJobScore = contentJobScore;
|
130
|
}
|
131
|
|
132
|
public int getUsageJobScore() {
|
133
|
return usageJobScore;
|
134
|
}
|
135
|
|
136
|
public void setUsageJobScore(int usageJobScore) {
|
137
|
this.usageJobScore = usageJobScore;
|
138
|
}
|
139
|
|
140
|
public int getRecordsTested() {
|
141
|
return recordsTested;
|
142
|
}
|
143
|
|
144
|
public void setRecordsTested(int recordsTested) {
|
145
|
this.recordsTested = recordsTested;
|
146
|
}
|
147
|
|
148
|
public String getGuidelinesShortName() {
|
149
|
return guidelinesShortName;
|
150
|
}
|
151
|
|
152
|
public void setGuidelinesShortName(String guidelinesShortName) {
|
153
|
this.guidelinesShortName = guidelinesShortName;
|
154
|
}
|
155
|
|
156
|
public String getValidationStatus() {
|
157
|
return validationStatus;
|
158
|
}
|
159
|
|
160
|
public void setValidationStatus(String validationStatus) {
|
161
|
this.validationStatus = validationStatus;
|
162
|
}
|
163
|
}
|