01: package org.objectweb.jonas.webapp.jonasadmin.jonasmqconnect.util;
02:
03: public class ItemMdb implements java.io.Serializable {
04: private String name;
05: private String objectName;
06: private String mqDestination;
07: private int numberMsg;
08:
09: public ItemMdb(String name, String objectName,
10: String mqDestination, int numberMsg) {
11: this .name = name;
12: this .objectName = objectName;
13: this .mqDestination = mqDestination;
14: this .numberMsg = numberMsg;
15: }
16:
17: /**
18: * @return Returns the name.
19: */
20: public String getName() {
21: return name;
22: }
23:
24: /**
25: * @param name The name to set.
26: */
27: public void setName(String name) {
28: this .name = name;
29: }
30:
31: /**
32: * @return Returns the object name.
33: */
34: public String getObjectName() {
35: return objectName;
36: }
37:
38: /**
39: * @param objectName The object name to set.
40: */
41: public void setObjectName(String objectName) {
42: this .objectName = objectName;
43: }
44:
45: /**
46: * @return Returns the mq destination name.
47: */
48: public String getMqDestination() {
49: return mqDestination;
50: }
51:
52: /**
53: * @param mqDestination The mq destination name to set.
54: */
55: public void setMqDestination(String mqDestination) {
56: this .mqDestination = mqDestination;
57: }
58:
59: /**
60: * @return Returns number of received message.
61: */
62: public int getNumberMsg() {
63: return numberMsg;
64: }
65:
66: /**
67: * @param numberMsg number of received message to set.
68: */
69: public void setNumberMsg(int numberMsg) {
70: this.numberMsg = numberMsg;
71: }
72: }
|