TxItem.java

00001 /*
00002  * JOnAS: Java(TM) Open Application Server
00003  * Copyright (C) 1999 Bull S.A.
00004  * Contact: jonas-team@objectweb.org
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
00019  * USA
00020  *
00021  * --------------------------------------------------------------------------
00022  * $Id: TxItem.java,v 1.1 2004/06/08 21:29:59 tonyortiz Exp $
00023  * --------------------------------------------------------------------------
00024  */
00025 
00026 package org.objectweb.jonas.webapp.jonasadmin.service.jtm;
00027 
00028 import org.objectweb.jonas.webapp.jonasadmin.common.NameItem;
00029 
00030 import java.util.List;
00031 
00035 public class TxItem implements NameItem {
00036 
00037 // --------------------------------------------------------- Properties variables
00038 
00039     private String date = null;
00040     private String name = null;
00041     private String transaction = null;
00042     private String resource = null;
00043     private String state = null;
00044 
00045 // --------------------------------------------------------- Public Methods
00046 
00047     public TxItem(String p_Date, String p_Transaction, String p_Resource, String p_State) {
00048         setDate(p_Date);
00049         setTransaction(p_Transaction);
00050         setResource(p_Resource);
00051         setState(p_State);
00052     }
00053 
00054 // --------------------------------------------------------- Properties Methods
00055 
00056     public String getName() {
00057         return name;
00058     }
00059 
00060     public void setName(String name) {
00061         this.name = name;
00062     }
00063 
00064     public String getDate() {
00065         return date;
00066     }
00067 
00068     public void setDate(String date) {
00069         this.date = date;
00070     }
00071 
00072     public String getTransaction() {
00073         return transaction;
00074     }
00075 
00076     public void setTransaction(String transaction) {
00077         this.transaction = transaction;
00078     }
00079 
00080     public String getResource() {
00081         return resource;
00082     }
00083 
00084     public void setResource(String resource) {
00085         this.resource = resource;
00086     }
00087 
00088     public String getState() {
00089         return state;
00090     }
00091 
00092     public void setState(String state) {
00093         this.state = state;
00094     }
00095 
00096 }

Generated on Tue Feb 15 15:05:33 2005 for JOnAS by  doxygen 1.3.9.1