1 21 22 package org.objectweb.jonas.webapp.jonasadmin.joramplatform; 23 24 import java.util.ArrayList ; 25 26 import javax.servlet.http.HttpServletRequest ; 27 28 import org.apache.struts.action.ActionErrors; 29 import org.apache.struts.action.ActionForm; 30 import org.apache.struts.action.ActionMapping; 31 32 36 37 public class DestinationForm extends ActionForm { 38 39 43 private String name = null; 44 47 private String id = null; 48 51 private ArrayList listUsedByEjb = new ArrayList (); 52 55 private String dmq = null; 56 59 private boolean freelyReadable; 60 63 private boolean freelyWriteable; 64 67 private String [] readerList = null; 68 71 private String [] writerList = null; 72 75 private String type = null; 76 79 private String creationDate = null; 80 84 public ArrayList getListUsedByEjb() { 85 return listUsedByEjb; 86 } 87 90 public void setListUsedByEjb(ArrayList listUsedByEjb) { 91 this.listUsedByEjb = listUsedByEjb; 92 } 93 94 public String getName() { 95 return name; 96 } 97 98 public void setName(String name) { 99 this.name = name; 100 } 101 102 public String getId() { 103 return id; 104 } 105 106 public void setId(String id) { 107 this.id = id; 108 } 109 110 113 public String getDmq() { 114 return dmq; 115 } 116 119 public void setDmq(String dmq) { 120 this.dmq = dmq; 121 } 122 125 public boolean getFreelyReadable() { 126 return freelyReadable; 127 } 128 131 public void setFreelyReadable(boolean freelyReadable) { 132 this.freelyReadable = freelyReadable; 133 } 134 137 public boolean getFreelyWriteable() { 138 return freelyWriteable; 139 } 140 143 public void setFreelyWriteable(boolean freelyWriteable) { 144 this.freelyWriteable = freelyWriteable; 145 } 146 149 public String [] getReaderList() { 150 return readerList; 151 } 152 155 public void setReaderList(String [] readerList) { 156 this.readerList = readerList; 157 } 158 161 public String [] getWriterList() { 162 return writerList; 163 } 164 167 public void setWriterList(String [] writerList) { 168 this.writerList = writerList; 169 } 170 173 public String getType() { 174 return type; 175 } 176 179 public void setType(String type) { 180 this.type = type; 181 } 182 183 186 public String getCreationDate() { 187 return creationDate; 188 } 189 192 public void setCreationDate(String creationDate) { 193 this.creationDate = creationDate; 194 } 195 197 203 public void reset(ActionMapping mapping, HttpServletRequest request) { 204 name = null; 205 id = null; 206 listUsedByEjb = new ArrayList (); 207 dmq = null; 208 freelyReadable = true; 209 freelyWriteable = true; 210 readerList = null; 211 writerList = null; 212 type = null; 213 } 214 215 225 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 226 return new ActionErrors(); 227 } 228 } 229 | Popular Tags |