1 25 26 package org.objectweb.jonas.webapp.jonasadmin.service.jms; 27 28 import java.util.ArrayList ; 29 30 import javax.servlet.http.HttpServletRequest ; 31 32 import org.apache.struts.action.ActionErrors; 33 import org.apache.struts.action.ActionForm; 34 import org.apache.struts.action.ActionMapping; 35 36 40 public class CfForm extends ActionForm { 41 42 44 private String name = null; 45 private String mode = null; 46 private ArrayList listUsedByEjb = new ArrayList (); 47 48 50 56 57 public void reset(ActionMapping mapping, HttpServletRequest request) { 58 name = null; 59 mode = null; 60 } 61 62 72 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 73 ActionErrors oErrors = new ActionErrors(); 74 return oErrors; 75 } 76 77 79 public String getName() { 80 return name; 81 } 82 83 public void setName(String name) { 84 this.name = name; 85 } 86 87 public String getMode() { 88 return mode; 89 } 90 91 public void setMode(String mode) { 92 this.mode = mode; 93 } 94 95 public ArrayList getListUsedByEjb() { 96 return listUsedByEjb; 97 } 98 99 public void setListUsedByEjb(ArrayList listUsedByEjb) { 100 this.listUsedByEjb = listUsedByEjb; 101 } 102 } 103 | Popular Tags |