【Java开源代码栏目提醒】:网学会员,鉴于大家对Java开源代码十分关注,论文会员在此为大家搜集整理了“ArchiveForm.java”一文,供大家参考学习!
/*
*
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
*
*/
package com.stsc.archive.file;
import java.text.ParseException;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;
import org.apache.struts.upload.MultipartRequestHandler;
import java.util.Date;
/**
* Form bean for the archive page. This form has the following fields,
* @author Yushirui
* @version $Revision: 1.0 $ $Date: 2003/04/14 10:42:08 $
*/
public final class ArchiveForm extends ActionForm {
public static final String ERROR_PROPERTY_MAX_LENGTH_EXCEEDED = "org.apache.struts.webapp.upload.MaxLengthExceeded";
//public static final String ATTRIBUTE_MAX_LENGTH_EXCEEDED = "org.apache.struts.
webapp.upload.MaxLengthExceeded";
private String action = "Create";
// --------------------------------------------------- Instance Variables
private String serialno = null;
private String temp = null;
private String archivetype = null;
private String code = null;
private String category = null;
private String filetype = null;
private String title = null;
private String titleremark = null;
private String fileno = null;
private String literaturetype = null;
private String filedate = null;
private String pagenumber = null;
private String duty = null;
private String otherduty = null;
private String electronicfilename = null;
private String attachmenttitle = null;
private String key
word = null;
private String memo = null;
private String annotation = null;
private String abstractmsg = null;
private String copys = null;
private String lendnum = null;
private String securityclass = null;
private String securityterm = null;
private String decryptiondate = null;
private String retentionperiod = null;
private String archivedate = null;
private String destroydate = null;
private String archivalcode = null;
private String archiveno = null;
private String handover = null;
private String suggest = null;
private String recordtransfer = null;
private String filingtrace = null;
private String filingscripts = null;
private String reappraisedates = null;
private String attachmentpath = null;
private String volumnno="";
private String status="";
private String deleted="";
private String flowno="";
private String unitno="";
public String getUnitno() {
return (this.unitno);
}
/**
* Set the serialno.
*
* @param serialno The new serialno
*/
public void setUnitno(String unitno) {
this.unitno = unitno;
}
//2003-06-03 add by liqf
//write handlelog
// ----------------------------------------------------------- Properties
public String getFlowno() {
return (this.flowno);
}
/**
* Set the serialno.
*
* @param serialno The new serialno
*/
public void setFlowno(String flowno) {
this.flowno = flowno;
}
// ----------------------------------------------------------- Properties
public String getDeleted() {
return (this.deleted);
}
/**
* Set the serialno.
*
* @param serialno The new serialno
*/
public void setDeleted(String deleted) {
this.deleted = deleted;
}
//2003-05-22 add by liqf
/**
* Return the serialno.
*/
public String getVolumnno() {
return (this.volumnno);
}
/**
* Set the serialno.
*
* @param serialno The new serialno
*/
public void setVolumnno(String volumnno) {
this.volumnno = volumnno;
}
/**
* Return the action.
*/
public String getAction() {
return (this.action);
}
/**
* Set the action.
*
* @param action The new action
*/
public void setAction(String action) {
this.action = action;
}
//2003-05-18 add by liqf
//设置文件保存相对路径
/**
* Return the attachmentpath.
*/
public String getAttachmentpath() {
return (this.attachmentpath);
}
/**
* Set the attachmentpath.
*
* @param attachmentpath The new attachmentpath
*/
public void setAttachmentpath(String attachmentpath) {
this.attachmentpath = attachmentpath;
}
/**
* Return the serialno.
*/
public String getSerialno() {
return (this.serialno);
}
/**
* Set the serialno.
*
* @param serialno The new serialno
*/
public void setSerialno(String serialno) {
this.serialno = serialno;
}
public