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

📄 ejslocalcmppurchase_e813240d.java

📁 一个简单的EJB实例.用DB2连接.JSP页面.很好用.供大家学习
💻 JAVA
字号:
package salesdb;import com.ibm.ejs.container.*;import java.rmi.RemoteException;/** * EJSLocalCMPPurchase_e813240d */public class EJSLocalCMPPurchase_e813240d extends EJSLocalWrapper implements salesdb.PurchaseLocal {	/**	 * EJSLocalCMPPurchase_e813240d	 */	public EJSLocalCMPPurchase_e813240d() {		super();	}	/**	 * getTimestmp	 */	public java.lang.String getTimestmp() {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);		java.lang.String _EJS_result = null;		try {			salesdb.PurchaseBean beanRef = (salesdb.PurchaseBean)container.preInvoke(this, 0, _EJS_s);			_EJS_result = beanRef.getTimestmp();		}		catch (java.rmi.RemoteException ex) {		 	_EJS_s.setUncheckedLocalException(ex);		}		catch (Throwable ex) {			_EJS_s.setUncheckedLocalException(ex);		}		finally {			try {				container.postInvoke(this, 0, _EJS_s);			} catch ( RemoteException ex ) {				_EJS_s.setUncheckedLocalException(ex);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return _EJS_result;	}	/**	 * getItemfk	 */	public salesdb.ItemLocal getItemfk() {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);		salesdb.ItemLocal _EJS_result = null;		try {			salesdb.PurchaseBean beanRef = (salesdb.PurchaseBean)container.preInvoke(this, 1, _EJS_s);			_EJS_result = beanRef.getItemfk();		}		catch (java.rmi.RemoteException ex) {		 	_EJS_s.setUncheckedLocalException(ex);		}		catch (Throwable ex) {			_EJS_s.setUncheckedLocalException(ex);		}		finally {			try {				container.postInvoke(this, 1, _EJS_s);			} catch ( RemoteException ex ) {				_EJS_s.setUncheckedLocalException(ex);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return _EJS_result;	}	/**	 * getLocationfk	 */	public salesdb.LocationLocal getLocationfk() {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);		salesdb.LocationLocal _EJS_result = null;		try {			salesdb.PurchaseBean beanRef = (salesdb.PurchaseBean)container.preInvoke(this, 2, _EJS_s);			_EJS_result = beanRef.getLocationfk();		}		catch (java.rmi.RemoteException ex) {		 	_EJS_s.setUncheckedLocalException(ex);		}		catch (Throwable ex) {			_EJS_s.setUncheckedLocalException(ex);		}		finally {			try {				container.postInvoke(this, 2, _EJS_s);			} catch ( RemoteException ex ) {				_EJS_s.setUncheckedLocalException(ex);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return _EJS_result;	}	/**	 * setItemfk	 */	public void setItemfk(salesdb.ItemLocal anItemfk) {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);				try {			salesdb.PurchaseBean beanRef = (salesdb.PurchaseBean)container.preInvoke(this, 3, _EJS_s);			beanRef.setItemfk(anItemfk);		}		catch (java.rmi.RemoteException ex) {		 	_EJS_s.setUncheckedLocalException(ex);		}		catch (Throwable ex) {			_EJS_s.setUncheckedLocalException(ex);		}		finally {			try {				container.postInvoke(this, 3, _EJS_s);			} catch ( RemoteException ex ) {				_EJS_s.setUncheckedLocalException(ex);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return ;	}	/**	 * setLocationfk	 */	public void setLocationfk(salesdb.LocationLocal aLocationfk) {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);				try {			salesdb.PurchaseBean beanRef = (salesdb.PurchaseBean)container.preInvoke(this, 4, _EJS_s);			beanRef.setLocationfk(aLocationfk);		}		catch (java.rmi.RemoteException ex) {		 	_EJS_s.setUncheckedLocalException(ex);		}		catch (Throwable ex) {			_EJS_s.setUncheckedLocalException(ex);		}		finally {			try {				container.postInvoke(this, 4, _EJS_s);			} catch ( RemoteException ex ) {				_EJS_s.setUncheckedLocalException(ex);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return ;	}	/**	 * setTimestmp	 */	public void setTimestmp(java.lang.String newTimestmp) {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);				try {			salesdb.PurchaseBean beanRef = (salesdb.PurchaseBean)container.preInvoke(this, 5, _EJS_s);			beanRef.setTimestmp(newTimestmp);		}		catch (java.rmi.RemoteException ex) {		 	_EJS_s.setUncheckedLocalException(ex);		}		catch (Throwable ex) {			_EJS_s.setUncheckedLocalException(ex);		}		finally {			try {				container.postInvoke(this, 5, _EJS_s);			} catch ( RemoteException ex ) {				_EJS_s.setUncheckedLocalException(ex);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return ;	}}

⌨️ 快捷键说明

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