1 25 26 package org.objectweb.jonas.webapp.jonasadmin.service.jtm; 27 28 import org.objectweb.jonas.webapp.jonasadmin.common.NameItem; 29 30 33 public class TxItem implements NameItem { 34 35 37 private String name = null; 38 private String date = null; 39 private String transaction = null; 40 private String resource = null; 41 private String state = null; 42 43 45 public TxItem(String p_Date, String p_Transaction, String p_Resource, String p_State) { 46 setDate(p_Date); 47 setTransaction(p_Transaction); 48 setResource(p_Resource); 49 setState(p_State); 50 } 51 52 54 public String getName() { 55 return name; 56 } 57 58 public void setName(String name) { 59 this.name = name; 60 } 61 62 public String getDate() { 63 return date; 64 } 65 66 public void setDate(String date) { 67 this.date = date; 68 } 69 70 public String getTransaction() { 71 return transaction; 72 } 73 74 public void setTransaction(String transaction) { 75 this.transaction = transaction; 76 } 77 78 public String getResource() { 79 return resource; 80 } 81 82 public void setResource(String resource) { 83 this.resource = resource; 84 } 85 86 public String getState() { 87 return state; 88 } 89 90 public void setState(String state) { 91 this.state = state; 92 } 93 94 } | Popular Tags |