KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > sandesha > storage > CallbackData


1 /*
2  * Created on Apr 15, 2005
3  *
4  * To change the template for this generated file go to
5  * Window>Preferences>Java>Code Generation>Code and Comments
6  */

7 package org.apache.sandesha.storage;
8
9 import org.apache.axis.AxisFault;
10
11 /**
12  * @author root
13  * <p/>
14  * To change the template for this generated type comment go to
15  * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
16  */

17 public class CallbackData {
18
19     private int messageType;
20     private String JavaDoc action;
21     private long messageNumber;
22     private String JavaDoc messageId;
23     private String JavaDoc sequenceId;
24
25     public AxisFault getFault() {
26         return fault;
27     }
28
29     public void setFault(AxisFault fault) {
30         this.fault = fault;
31     }
32
33     private long ackStart;
34     private long ackEnd;
35     private AxisFault fault;
36
37
38     /**
39      * @return Returns the action.
40      */

41     public String JavaDoc getAction() {
42         return action;
43     }
44
45     /**
46      * @param action The action to set.
47      */

48     public void setAction(String JavaDoc action) {
49         this.action = action;
50     }
51
52     public CallbackData() {
53     }
54
55
56     /**
57      * @return
58      */

59     public long getAckEnd() {
60         return ackEnd;
61     }
62
63     /**
64      * @return
65      */

66     public long getAckStart() {
67         return ackStart;
68     }
69
70     /**
71      * @return
72      */

73     public String JavaDoc getMessageId() {
74         return messageId;
75     }
76
77     /**
78      * @return
79      */

80     public long getMessageNumber() {
81         return messageNumber;
82     }
83
84     /**
85      * @return
86      */

87     public int getMessageType() {
88         return messageType;
89     }
90
91     /**
92      * @return
93      */

94     public String JavaDoc getSequenceId() {
95         return sequenceId;
96     }
97
98     /**
99      * @param l
100      */

101     public void setAckEnd(long l) {
102         ackEnd = l;
103     }
104
105     /**
106      * @param l
107      */

108     public void setAckStart(long l) {
109         ackStart = l;
110     }
111
112     /**
113      * @param string
114      */

115     public void setMessageId(String JavaDoc string) {
116         messageId = string;
117     }
118
119     /**
120      * @param l
121      */

122     public void setMessageNumber(long l) {
123         messageNumber = l;
124     }
125
126     /**
127      * @param i
128      */

129     public void setMessageType(int i) {
130         messageType = i;
131     }
132
133     /**
134      * @param string
135      */

136     public void setSequenceId(String JavaDoc string) {
137         sequenceId = string;
138     }
139
140 }
141
Popular Tags