1 25 26 package org.objectweb.easybeans.deployment.xml.struct; 27 28 import java.util.ArrayList ; 29 import java.util.List ; 30 31 35 public class Session extends AbsBean { 36 37 40 public static final String NAME = "session"; 41 42 45 private List <String > businessRemoteList = null; 46 47 50 private List <String > businessLocalList = null; 51 52 55 private String sessionType = null; 56 57 60 private String transactionType = null; 61 62 65 public Session() { 66 super(); 67 businessRemoteList = new ArrayList <String >(); 68 businessLocalList = new ArrayList <String >(); 69 70 } 71 72 76 public List <String > getBusinessRemoteList() { 77 return businessRemoteList; 78 } 79 80 84 public List <String > getBusinessLocalList() { 85 return businessLocalList; 86 } 87 88 92 public void addBusinessRemote(final String businessRemote) { 93 businessRemoteList.add(businessRemote); 94 } 95 96 100 public void addBusinessLocal(final String businessLocal) { 101 businessLocalList.add(businessLocal); 102 } 103 104 108 public String getSessionType() { 109 return sessionType; 110 } 111 112 116 public void setSessionType(final String sessionType) { 117 this.sessionType = sessionType; 118 } 119 120 124 public String getTransactionType() { 125 return transactionType; 126 } 127 128 132 public void setTransactionType(final String transactionType) { 133 this.transactionType = transactionType; 134 } 135 136 } 137 | Popular Tags |