-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathBatchReply.java
More file actions
48 lines (39 loc) · 916 Bytes
/
BatchReply.java
File metadata and controls
48 lines (39 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package co.writepath;
import java.util.List;
/**
* Batched job server reply container
*/
public class BatchReply {
/**
* set to either "ok" or "error". If an error occurs, check
* {@link co.writepath.Response#errorCode} and
* {@link co.writepath.Response#errorMessage}
*/
private String opStatus;
/**
* Container for server return values
*/
private List<Response> response;
/**
* Container for server return batch ID
*/
private String batchId;
public String getBatchId() {
return batchId;
}
public void setBatchId(String bId) {
this.batchId = bId;
}
public String getOpStatus() {
return opStatus;
}
public void setOpStatus(String opStatus) {
this.opStatus = opStatus;
}
public List<Response> getResponse() {
return response;
}
public void setResponse(List<Response> response) {
this.response = response;
}
}