1 15 16 package com.jdon.controller.events; 17 18 import javax.servlet.http.HttpSession ; 19 20 29 30 public class EventSupport implements Event { 31 32 protected String actionName = null; 33 protected int actionType; 34 protected String errors = null; 35 private HttpSession session = null; 36 37 public void setActionName(String actionName) { 38 this.actionName = actionName; 39 } 40 41 public String getActionName() { 42 return actionName; 43 } 44 45 public void setActionType(int actionType) { 46 this.actionType = actionType; 47 } 48 49 public int getActionType() { 50 return this.actionType; 51 } 52 53 public void setErrors(String errors) { 54 if (this.errors == null) this.errors = errors; 56 } 57 58 public String getErrors() { 59 return this.errors; 60 } 61 62 public void setSession(HttpSession session) { 63 this.session = session; 64 } 65 66 public HttpSession getSession() { 67 return session; 68 } 69 70 public String getEventName() { 71 return ""; 72 } 73 74 } 75 | Popular Tags |