1 package com.itbconsult.amqp;
 2 
 3 import java.io.Serializable;
 4 
 5 /**
 6  * A model class for a big, imaginary, expensive operation
 7  * that a user submits via the web, but is processed async
 8  * by a worker.
 9  */
10 public class BigOperation implements Serializable {
11 
12     private String name;
13 
14     private String matrixId;
15     
16     private String userId;
17     
18     public String getUserId() {
19         return userId;
20     }
21 
22     public void setUserId(String userId) {
23         this.userId = userId;
24     }
25 
26     public String getMatrixId() {
27         return matrixId;
28     }
29 
30     public void setMatrixId(String matrixId) {
31         this.matrixId = matrixId;
32     }
33 
34     public BigOperation() {
35     }
36 
37     public BigOperation(String name) {
38         this.name = name;
39     }
40 
41     public void setName(String name) {
42         this.name = name;
43     }
44 
45     public String getName() {
46         return name;
47     }
48 
49     @Override
50     public String toString() {
51         return "BigOperation{" +
52                 "name='" + name + '\'' +
53                 '}';
54     }
55 }