KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > webapp > jonasadmin > service > jtm > TxRecovery


1 /*
2  * JOnAS: Java(TM) Open Application Server
3  * Copyright (C) 1999 Bull S.A.
4  * Contact: jonas-team@objectweb.org
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19  * USA
20  *
21  * --------------------------------------------------------------------------
22  * $Id: TxRecovery.java,v 1.1 2005/03/30 17:09:18 tonyortiz Exp $
23  * --------------------------------------------------------------------------
24  */

25
26 package org.objectweb.jonas.webapp.jonasadmin.service.jtm;
27
28 import org.objectweb.jonas.webapp.jonasadmin.common.NameItem;
29
30 /**
31  * @author Tony Ortiz
32  */

33 public class TxRecovery implements NameItem {
34
35 // --------------------------------------------------------- Properties variables
36

37     private String JavaDoc name = null;
38     private String JavaDoc date = null;
39     private String JavaDoc fulltrans = null;
40     private String JavaDoc transaction = null;
41     private String JavaDoc state = null;
42     private String JavaDoc xidcount = null;
43
44 // --------------------------------------------------------- Public Methods
45

46     public TxRecovery(String JavaDoc p_FullTrans, String JavaDoc p_Transaction, String JavaDoc p_Date, String JavaDoc p_Xidcount) {
47         setFulltrans(p_FullTrans);
48         setTransaction(p_Transaction);
49         setDate(p_Date);
50         setXidcount(p_Xidcount);
51     }
52
53 // --------------------------------------------------------- Properties Methods
54

55     public String JavaDoc getName() {
56         return name;
57     }
58
59     public void setName(String JavaDoc name) {
60         this.name = name;
61     }
62
63     public String JavaDoc getDate() {
64         return date;
65     }
66
67     public void setDate(String JavaDoc date) {
68         this.date = date;
69     }
70     
71     public String JavaDoc getFulltrans() {
72         return fulltrans;
73     }
74
75     public void setFulltrans(String JavaDoc fulltrans) {
76         this.fulltrans = fulltrans;
77     }
78
79     public String JavaDoc getTransaction() {
80         return transaction;
81     }
82
83     public void setTransaction(String JavaDoc transaction) {
84         this.transaction = transaction;
85     }
86
87     public String JavaDoc getState() {
88         return state;
89     }
90
91     public void setState(String JavaDoc state) {
92         this.state = state;
93     }
94
95     public String JavaDoc getXidcount() {
96         return xidcount;
97     }
98
99     public void setXidcount(String JavaDoc xidcount) {
100         this.xidcount = xidcount;
101     }
102
103 }
Popular Tags