001: /*
002: * JOnAS: Java(TM) Open Application Server
003: * Copyright (C) 1999 Bull S.A.
004: * Contact: jonas-team@objectweb.org
005: *
006: * This library is free software; you can redistribute it and/or
007: * modify it under the terms of the GNU Lesser General Public
008: * License as published by the Free Software Foundation; either
009: * version 2.1 of the License, or any later version.
010: *
011: * This library is distributed in the hope that it will be useful,
012: * but WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
014: * Lesser General Public License for more details.
015: *
016: * You should have received a copy of the GNU Lesser General Public
017: * License along with this library; if not, write to the Free Software
018: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
019: * USA
020: *
021: * --------------------------------------------------------------------------
022: * $Id: TxRecovery.java 6487 2005-03-30 17:20:15Z tonyortiz $
023: * --------------------------------------------------------------------------
024: */
025:
026: package org.objectweb.jonas.webapp.jonasadmin.service.jtm;
027:
028: import org.objectweb.jonas.webapp.jonasadmin.common.NameItem;
029:
030: /**
031: * @author Tony Ortiz
032: */
033: public class TxRecovery implements NameItem {
034:
035: // --------------------------------------------------------- Properties variables
036:
037: private String name = null;
038: private String date = null;
039: private String fulltrans = null;
040: private String transaction = null;
041: private String state = null;
042: private String xidcount = null;
043:
044: // --------------------------------------------------------- Public Methods
045:
046: public TxRecovery(String p_FullTrans, String p_Transaction,
047: String p_Date, String p_Xidcount) {
048: setFulltrans(p_FullTrans);
049: setTransaction(p_Transaction);
050: setDate(p_Date);
051: setXidcount(p_Xidcount);
052: }
053:
054: // --------------------------------------------------------- Properties Methods
055:
056: public String getName() {
057: return name;
058: }
059:
060: public void setName(String name) {
061: this .name = name;
062: }
063:
064: public String getDate() {
065: return date;
066: }
067:
068: public void setDate(String date) {
069: this .date = date;
070: }
071:
072: public String getFulltrans() {
073: return fulltrans;
074: }
075:
076: public void setFulltrans(String fulltrans) {
077: this .fulltrans = fulltrans;
078: }
079:
080: public String getTransaction() {
081: return transaction;
082: }
083:
084: public void setTransaction(String transaction) {
085: this .transaction = transaction;
086: }
087:
088: public String getState() {
089: return state;
090: }
091:
092: public void setState(String state) {
093: this .state = state;
094: }
095:
096: public String getXidcount() {
097: return xidcount;
098: }
099:
100: public void setXidcount(String xidcount) {
101: this.xidcount = xidcount;
102: }
103:
104: }
|