Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 6 7 package org.contineo.forms; 8 9 import javax.servlet.http.HttpServletRequest ; 10 import org.apache.struts.action.ActionForm; 11 import org.apache.struts.action.ActionMapping; 12 16 public class VersionForm extends ActionForm { 17 18 private static final long serialVersionUID = 1L; 19 20 23 private int docId; 24 27 private String version; 28 31 private String versionDate; 32 35 private String versionComment; 36 37 38 public VersionForm() { 39 docId = 0; 40 version = ""; 41 versionDate = ""; 42 versionComment = ""; 43 } 44 45 49 public int getDocId() { 50 return docId; 51 } 52 53 57 public String getVersion() { 58 return version; 59 } 60 61 65 public String getVersionDate() { 66 return versionDate; 67 } 68 69 73 public String getVersionComment() { 74 return versionComment; 75 } 76 77 81 public void setDocId(int id) { 82 docId = id; 83 } 84 85 89 public void setVersion(String vers) { 90 version = vers; 91 } 92 93 97 public void setVersionDate(String date) { 98 versionDate = date; 99 } 100 101 105 public void setVersionComment(String comm) { 106 versionComment = comm; 107 } 108 109 110 public void reset(ActionMapping mapping, HttpServletRequest request) { 111 docId = 0; 112 version = ""; 113 versionDate = ""; 114 versionComment = ""; 115 } 116 } 117
| Popular Tags
|