AdminActionForm.java~7~
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:2k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- package com.chinacannel.xlchemical.struts.ActionForm;
- import javax.servlet.http.*;
- import org.apache.struts.action.*;
- public class AdminActionForm extends ActionForm {
- private static final long serialVersionUID = 1;
- private String username;
- private String password;
- private String condition = "";
- private String condition1 = "";
- private Long role = new Long(0);
- private String hidCondition = "";
- private String name = "";
- private Long id;
- private String oldPwd = "";
- private String newPwd1 = "";
- private String newPwd2 = "";
- public ActionErrors validate(ActionMapping actionMapping,
- HttpServletRequest httpServletRequest) {
- /** @todo: finish this method, this is just the skeleton.*/
- return null;
- }
- public void reset(ActionMapping actionMapping,
- HttpServletRequest servletRequest) {
- }
- public String getPassword() {
- return password;
- }
- public void setPassword(String password) {
- this.password = password;
- }
- public String getUsername() {
- return username;
- }
- public String getCondition() {
- return condition;
- }
- public String getHidCondition() {
- return hidCondition;
- }
- public Long getRole() {
- return role;
- }
- public String getName() {
- return name;
- }
- public Long getId() {
- return id;
- }
- public String getCondition1() {
- return condition1;
- }
- public void setUsername(String username) {
- this.username = username;
- }
- public void setCondition(String condition) {
- this.condition = condition;
- }
- public void setHidCondition(String hidCondition) {
- this.hidCondition = hidCondition;
- }
- public void setRole(Long role) {
- this.role = role;
- }
- public void setName(String name) {
- this.name = name;
- }
- public void setId(Long id) {
- this.id = id;
- }
- public void setCondition1(String condition1) {
- this.condition1 = condition1;
- }
- }