Rev | Line | |
---|
[33] | 1 | package omq.common.message; |
---|
| 2 | |
---|
| 3 | import java.io.Serializable; |
---|
| 4 | |
---|
| 5 | public class Response implements Serializable { |
---|
| 6 | |
---|
| 7 | /** |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | private static final long serialVersionUID = 3368363997012527189L; |
---|
| 11 | |
---|
| 12 | private String id; |
---|
| 13 | private String idOmq; |
---|
| 14 | private Object result; |
---|
| 15 | |
---|
| 16 | public Response() { |
---|
| 17 | } |
---|
| 18 | |
---|
| 19 | public Response(String id, String idOmq, Object result) { |
---|
| 20 | this.id = id; |
---|
| 21 | this.idOmq = idOmq; |
---|
| 22 | this.result = result; |
---|
| 23 | } |
---|
| 24 | |
---|
| 25 | public String getId() { |
---|
| 26 | return id; |
---|
| 27 | } |
---|
| 28 | |
---|
| 29 | public void setId(String id) { |
---|
| 30 | this.id = id; |
---|
| 31 | } |
---|
| 32 | |
---|
| 33 | public String getIdOmq() { |
---|
| 34 | return idOmq; |
---|
| 35 | } |
---|
| 36 | |
---|
| 37 | public void setIdOmq(String idOmq) { |
---|
| 38 | this.idOmq = idOmq; |
---|
| 39 | } |
---|
| 40 | |
---|
| 41 | public Object getResult() { |
---|
| 42 | return result; |
---|
| 43 | } |
---|
| 44 | |
---|
| 45 | public void setResult(Object result) { |
---|
| 46 | this.result = result; |
---|
| 47 | } |
---|
| 48 | |
---|
| 49 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.