⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userloginform.java

📁 很好的j2ee系统 很好的j2ee系统
💻 JAVA
字号:
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package org.perfect.struts.form;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import org.apache.struts.action.ActionForm;
import org.perfect.struts.util.AutoArrayList;
import org.perfect.struts.vo.User;

public class UserLoginForm extends ActionForm {

	static{
		System.out.println("UserLoginForm加载");
	}
	public List records = new AutoArrayList(User.class);
	//private static final List oriRecords = new AutoArrayList(User.class);

	public  String action;
	private String password;
	private String username;
	private String rightid;

	private HashMap reservedProp = new HashMap();
	
	

	
	public List getRecords() {
		//System.out.println("getRecords");
		return records;
	}
	//原始记录列表
//	public List getOriRecords() {
//		System.out.println("GET原始记录列表");
//		return oriRecords;
//	}
//	public void setOriRecords(List records) {
//		
//		this.oriRecords.clear();
//		this.oriRecords.addAll(records);
//		System.out.println("SET原始记录列表"+this.oriRecords.size());
//	}
	
	
	public void setRecords(List records) {
		System.out.println("setRecords");
		//System.out.println(records.toString());
		this.records.clear();
		this.records.addAll(records);
	}
	
	public String getPassword() {
		//System.out.println("getPassword");
		return password;
	}

	public void setPassword(String password) {
		//System.out.println("setPassword");
		this.password = password;
	}

	public String getUsername() {
		System.out.println("getUsername");
		return username;
	}

	public void setUsername(String username) {
		System.out.println("setUserName");
		this.username = username;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		System.out.println("setAction");
		this.action = action;
	}


	public Object getReservedProp(String key){
		return this.reservedProp.get(key);
	}
	public void setReservedProp(String key,String value){
		this.reservedProp.put(key, value);
	}

	public String getRightid() {
		return rightid;
	}

	public void setRightid(String rightid) {
		this.rightid = rightid;
	}

	public HashMap getReservedProp() {
		return reservedProp;
	}

	public void setReservedProp(HashMap reservedProp) {
		this.reservedProp = reservedProp;
	}


}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -