📄 baseactionform.java
字号:
/*
* Created on 2004/07/29
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package COMMON;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
/**
* @author ym
*
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
public class BaseActionForm extends ActionForm {
// public static final String SUCCESS_UPDATE = "2";
// public static final String SUCCESS_DELETE = "3";
// public static final String SUCCESS_ADD = "1";
/** action property */
private String action = "";
/** method property */
private String method = "";
/** 搊榐儐乕僓乕ID property */
private String loginUserId = "";
/** 搊榐僷僗儚乕僪 property */
private String loginPassword = "";
/** 搊榐儊儞僶乕柤乮First) property */
private String loginMemberNameFirst = "";
/** 搊榐儊儞僶乕柤乮Last) property */
private String loginMemberNameLast = "";
/** 搊榐恊尰朄僐乕僪 property */
private String loginSubsidiaryCode1 = "";
/** 搊榐巕尰朄僐乕僪 property */
private String loginSubsidiaryCode2 = "";
/** 搊榐儊儞僶乕庬椶 property */
private String loginMenberKind = "";
/** 搊榐俙倓倣倝値尃尷 property */
private String loginAdminAuthority = "";
/** 搊榐僟僂儞儘乕僪壜斲 property */
private String loginDownloadOk = "";//
private String loginSubsidiaryName = "";
private String loginEmail = "";
private int loginPlusHour = 0;
/** 倱倳們倕倱倱丂僼儔僌 property */
// private String sucessFlag = "";//
/** 倱倳們倕倱倱丂倀俼俴 property */
// private String sucessURL = "";//
//--------------------------------------------------------- Methods
/**
* Returns the sucessFlag.
* @return String
*/
// public String getSucessFlag() {
// return sucessFlag;
// }
/**
* Set the sucessFlag.
* @param sucessFlag The sucessFlag to set
*/
// public void setSucessFlag(String sucessFlag) {
// this.sucessFlag = sucessFlag;
// }
/**
* Returns the sucessURL.
* @return String
*/
// public String getSucessURL() {
// return sucessURL;
// }
/**
* Set the sucessURL.
* @param sucessURL The sucessURL to set
*/
// public void setSucessURL(String sucessURL) {
// this.sucessURL = sucessURL;
// }
/**
* Returns the loginsubsidiaryName.
* @return String
*/
public String getLoginSubsidiaryName() {
return loginSubsidiaryName;
}
/**
* Set the loginsubsidiaryName.
* @param loginsubsidiaryName The loginsubsidiaryName to set
*/
public void setLoginSubsidiaryName(String loginSubsidiaryName) {
this.loginSubsidiaryName = loginSubsidiaryName;
}
/**
* Returns the loginPassword.
* @return String
*/
public String getLoginPassword() {
return loginPassword;
}
/**
* Set the loginPassword.
* @param loginPassword The loginPassword to set
*/
public void setLoginPassword(String loginPassword) {
this.loginPassword = loginPassword;
}
/**
* Returns the loginMemberNameFirst.
* @return String
*/
public String getLoginMemberNameFirst() {
return loginMemberNameFirst;
}
/**
* Set the loginMemberNameFirst.
* @param loginMemberNameFirst The loginMemberNameFirst to set
*/
public void setLoginMemberNameFirst(String loginMemberNameFirst) {
this.loginMemberNameFirst = loginMemberNameFirst;
}
/**
* Returns the loginMemberNameLast.
* @return String
*/
public String getLoginMemberNameLast() {
return loginMemberNameLast;
}
/**
* Set the loginMemberNameLast.
* @param loginMemberNameLast The loginMemberNameLast to set
*/
public void setLoginMemberNameLast(String loginMemberNameLast) {
this.loginMemberNameLast = loginMemberNameLast;
}
/**
* Returns the loginSubsidiaryCode1.
* @return String
*/
public String getLoginSubsidiaryCode1() {
return loginSubsidiaryCode1;
}
/**
* Set the subsidiaryCode1.
* @param subsidiaryCode1 The subsidiaryCode1 to set
*/
public void setLoginSubsidiaryCode1(String loginSubsidiaryCode1) {
this.loginSubsidiaryCode1 = loginSubsidiaryCode1;
}
/**
* Returns the loginSubsidiaryCode2.
* @return String
*/
public String getLoginSubsidiaryCode2() {
return loginSubsidiaryCode2;
}
/**
* Set the loginSubsidiaryCode2.
* @param loginSubsidiaryCode2 The loginSubsidiaryCode2 to set
*/
public void setLoginSubsidiaryCode2(String loginSubsidiaryCode2) {
this.loginSubsidiaryCode2 = loginSubsidiaryCode2;
}
/**
* Returns the loginMenberKind.
* @return String
*/
public String getLoginMenberKind() {
return loginMenberKind;
}
/**
* Set the loginMenberKind.
* @param loginMenberKind The loginMenberKind to set
*/
public void setLoginMenberKind(String loginMenberKind) {
this.loginMenberKind = loginMenberKind;
}
/**
* Returns the loginDownloadOk.
* @return String
*/
public String getLoginDownloadOk() {
return loginDownloadOk;
}
/**
* Set the loginDownloadOk.
* @param loginDownloadOk The loginDownloadOk to set
*/
public void setLoginDownloadOk(String loginDownloadOk) {
this.loginDownloadOk = loginDownloadOk;
}
/**
* Returns the loginAdminAuthority.
* @return String
*/
public String getLoginAdminAuthority() {
return loginAdminAuthority;
}
/**
* Set the loginAdminAuthority.
* @param loginAdminAuthority The loginAdminAuthority to set
*/
public void setLoginAdminAuthority(String loginAdminAuthority) {
this.loginAdminAuthority = loginAdminAuthority;
}
/**
* Returns the loginuserid.
* @return String
*/
public String getLoginUserId() {
return loginUserId;
}
/**
* Set the loginuserid.
* @param loginuserid The loginuserid to set
*/
public void setLoginUserId(String loginUserId) {
this.loginUserId = loginUserId;
}
/**
* Returns the Method.
* @return String
*/
public String getMethod() {
return method;
}
/**
* Set the Method.
* @param Method The Method to set
*/
public void setMethod(String method) {
this.method = method;
}
/**
* Returns the action.
* @return String
*/
public String getAction() {
return action;
}
/**
* Set the action.
* @param action The action to set
*/
public void setAction(String action) {
this.action = action;
}
/**
* Method reset
* @param mapping
* @param request
*/
public void reset(ActionMapping mapping, HttpServletRequest request) {
action = "";
method = "";
loginUserId = "";
loginPassword = "";
loginMemberNameFirst = "";
loginMemberNameLast = "";
loginSubsidiaryCode1 = "";
loginSubsidiaryCode2 = "";
loginMenberKind = "";
loginAdminAuthority = "";
loginDownloadOk = "";
loginEmail = "";
// sucessFlag = "";//
// sucessURL = "";//
super.reset( mapping, request);
}
/**
* @return
*/
public String getLoginEmail() {
return loginEmail;
}
/**
* @param string
*/
public void setLoginEmail(String string) {
loginEmail = string;
}
/**
* @return
*/
public int getLoginPlusHour() {
return loginPlusHour;
}
/**
* @param i
*/
public void setLoginPlusHour(int i) {
loginPlusHour = i;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -