00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
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
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
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
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 }