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 final class JoramLocalQueueForm extends ActionForm { 38 39 41 private String name = null; 42 private String id = null; 43 private ArrayList listUsedByEjb = new ArrayList (); 44 45 49 public ArrayList getListUsedByEjb() { 50 return listUsedByEjb; 51 } 52 55 public void setListUsedByEjb(ArrayList listUsedByEjb) { 56 this.listUsedByEjb = listUsedByEjb; 57 } 58 59 public String getName() { 60 return name; 61 } 62 63 public void setName(String name) { 64 this.name = name; 65 } 66 67 public String getId() { 68 return id; 69 } 70 71 public void setId(String id) { 72 this.id = id; 73 } 74 75 77 83 public void reset(ActionMapping mapping, HttpServletRequest request) { 84 name = null; 85 id = null; 86 listUsedByEjb = new ArrayList (); 87 } 88 89 99 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 100 return new ActionErrors(); 101 } 102 103 } 104 | Popular Tags |