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

📄 adminsalebean.java

📁 开放式基金管理平台,银行的基金管理系统,供学习
💻 JAVA
字号:
import java.rmi.RemoteException;

import javax.ejb.EJBException;
import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import javax.ejb.RemoveException;

import javax.ejb.CreateException;

/**
 * XDoclet-based BMP entity bean.
 * 
 * To generate EJB related classes using XDoclet:
 *
 *		- Add Standard EJB module to XDoclet project properties
 *		- Customize XDoclet configuration
 *		- Run XDoclet
 * 
 * Below are the xdoclet-related tags needed for this EJB.
 *
 * @ejb.bean name="AdminSale"
 *           display-name="Name for AdminSale"
 *           description="Description for AdminSale"
 *           jndi-name="ejb/AdminSale"
 *           type="BMP"
 *           view-type="local"
 */
public class AdminSaleBean implements EntityBean {

	/** The entity context */
	private EntityContext context;
String UserID;
String Password;
String Realname;
String Sex;
String CreateTime;
	public String getCreateTime() {
	return CreateTime;
}


public void setCreateTime(String createTime) {
	CreateTime = createTime;
}


public String getPassword() {
	return Password;
}


public void setPassword(String password) {
	Password = password;
}


public String getRealname() {
	return Realname;
}


public void setRealname(String realname) {
	Realname = realname;
}


public String getSex() {
	return Sex;
}


public void setSex(String sex) {
	Sex = sex;
}


public String getUserID() {
	return UserID;
}


public void setUserID(String userID) {
	UserID = userID;
}


	public AdminSaleBean(String UserID) {
		super();
		
		// TODO Auto-generated constructor stub
	}


	public String ejbCreate() throws CreateException {
		this.setUserID(UserID);
		return null;
	}


	public void ejbPostCreate() throws CreateException {
	}

	public void setEntityContext(EntityContext newContext) throws EJBException {
		context = newContext;
	}


	public void unsetEntityContext() throws EJBException {
		context = null;
	}

	public void ejbRemove()
		throws RemoveException,
		EJBException,
		RemoteException {
		// TODO Auto-generated method stub

	}

	public void ejbActivate() throws EJBException, RemoteException {
		// TODO Auto-generated method stub

	}

	public void ejbPassivate() throws EJBException, RemoteException {
		// TODO Auto-generated method stub

	}

	public void ejbLoad() throws EJBException, RemoteException {
		// TODO Auto-generated method stub

	}

	public void ejbStore() throws EJBException, RemoteException {
		// TODO Auto-generated method stub

	}

}

⌨️ 快捷键说明

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