1 25 26 package org.objectweb.jonas.webapp.jonasadmin.service.jms; 27 28 import javax.servlet.http.HttpServletRequest ; 29 30 import org.apache.struts.action.ActionErrors; 31 import org.apache.struts.action.ActionForm; 32 import org.apache.struts.action.ActionMapping; 33 34 38 public final class JmsServiceForm extends ActionForm { 39 40 42 private String momName = null; 43 private String momLocation = null; 44 private String momUrl = null; 45 46 48 public String getMomName() { 49 return momName; 50 } 51 public void setMomName(String momName) { 52 this.momName = momName; 53 } 54 55 public String getMomLocation() { 56 return momLocation; 57 } 58 public void setMomLocation(String momLocation) { 59 this.momLocation = momLocation; 60 } 61 62 public String getMomUrl() { 63 return momUrl; 64 } 65 public void setMomUrl(String momUrl) { 66 this.momUrl = momUrl; 67 } 68 69 71 77 public void reset(ActionMapping mapping, HttpServletRequest request) { 78 momName = null; 79 momLocation = null; 80 momUrl = null; 81 } 82 83 93 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 94 return new ActionErrors(); 95 } 96 } 97 | Popular Tags |