1 5 6 package com.raptus.owxv3.api; 7 8 import java.util.Locale ; 9 10 import javax.servlet.http.HttpServletRequest ; 11 12 import org.apache.struts.action.ActionMapping; 13 14 37 public class OmniaWebBean extends org.apache.struts.action.ActionForm 38 { 39 42 protected Locale currLocale = null; 43 44 47 protected String element = null; 48 49 52 protected String vmid = null; 53 54 57 protected String section = null; 58 59 62 public Locale getCurrLocale() { return currLocale; } 63 public void setCurrLocale(Locale l) { this.currLocale = l; } 64 65 68 public String getElement() { return element; } 69 public void setElement(String element) { this.element = element; } 70 71 74 public boolean isElement(String e) { return this.element.compareToIgnoreCase(e) == 0; } 75 76 79 public String getVModule() { return vmid; } 80 public void setVModule(String id) { this.vmid = id; } 81 82 85 public boolean isVModule(String id) { return this.vmid.compareToIgnoreCase(id) == 0; } 86 87 90 100 103 public void reset(ActionMapping mapping, HttpServletRequest request) 104 { 105 super.reset(mapping, request); 106 } 107 108 111 public String getSection() 112 { 113 return section; 114 } 115 116 119 public void setSection(String section) 120 { 121 this.section = section; 122 } 123 124 public String getVmodule() { return vmid; } 125 public void setVmodule(String id) { this.vmid = id; } 126 } 127 128 | Popular Tags |