1 4 package org.oddjob.webapp.struts.forms; 5 6 import java.io.Serializable ; 7 import java.util.List ; 8 import java.util.Map ; 9 10 import org.apache.struts.action.ActionForm; 11 12 17 public class DetailForm extends ActionForm implements Serializable { 18 private final static long serialVersionUID = 20051104; 19 20 21 private transient String refId; 22 23 24 private transient Map properties; 25 26 27 private transient String jobState; 28 private transient String time; 29 private transient String Exception; 30 31 32 private transient List consoleEvents; 33 34 35 private transient List logEvents; 36 37 38 private int selectedTab; 39 40 45 public void setRefId(String refId) { 46 this.refId = refId; 47 } 48 49 54 public String getRefId() { 55 return refId; 56 } 57 58 63 public String getException() { 64 return Exception; 65 } 66 67 72 public void setException(String exception) { 73 Exception = exception; 74 } 75 76 81 public String getTime() { 82 return time; 83 } 84 85 90 public void setTime(String time) { 91 this.time = time; 92 } 93 94 99 public String getJobState() { 100 return jobState; 101 } 102 103 108 public void setJobState(String jobState) { 109 this.jobState = jobState; 110 } 111 112 117 public Map getProperties() { 118 return properties; 119 } 120 121 126 public void setProperties(Map properties) { 127 this.properties = properties; 128 } 129 130 135 public List getConsoleEvents() { 136 return consoleEvents; 137 } 138 139 144 public void setConsoleEvents(List consoleEvents) { 145 this.consoleEvents = consoleEvents; 146 } 147 148 153 public List getLogEvents() { 154 return logEvents; 155 } 156 157 162 public void setLogEvents(List logEvents) { 163 this.logEvents = logEvents; 164 } 165 166 public int getSelectedTab() { 167 return selectedTab; 168 } 169 170 public void setSelectedTab(int selectedTab) { 171 this.selectedTab = selectedTab; 172 } 173 174 } | Popular Tags |