📄 customer_1p1nrg_eoimpl.java
字号:
/**
* This code was automatically generated at 3:13:39 on 2006-12-19
* by weblogic.ejb20.ejbc.Ejb2Rmi -- do not edit.
*
* @version WebLogic Server 8.1 Fri Dec 5 15:01:51 PST 2003 316284
* @author Copyright (c) 2006 by BEA Systems, Inc. All Rights Reserved.
*/
package demo12;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class customer_1p1nrg_EOImpl
extends weblogic.ejb20.internal.EntityEJBObject_Activatable
implements demo12.customerRemote, weblogic.utils.PlatformConstants
{
public customer_1p1nrg_EOImpl() {}
public void setCreateDate(java.lang.String arg0) throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((customer_1p1nrg_HomeImpl)getEJBHome()).md_eo_setCreateDate_S;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { arg0}));
}
customer_1p1nrg_Intf __bean = (customer_1p1nrg_Intf) __wrap.getBean();
// No return value
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
__bean.setCreateDate( arg0);
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"demo12.customerBean.setCreateDate():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
// No return result
}
public java.lang.String getName() throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((customer_1p1nrg_HomeImpl)getEJBHome()).md_eo_getName;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { }));
}
customer_1p1nrg_Intf __bean = (customer_1p1nrg_Intf) __wrap.getBean();
java.lang.String result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.getName();
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"demo12.customerBean.getName():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public void setPass(java.lang.String arg0) throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((customer_1p1nrg_HomeImpl)getEJBHome()).md_eo_setPass_S;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { arg0}));
}
customer_1p1nrg_Intf __bean = (customer_1p1nrg_Intf) __wrap.getBean();
// No return value
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
__bean.setPass( arg0);
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"demo12.customerBean.setPass():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
// No return result
}
public void setDesciption(java.lang.String arg0) throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((customer_1p1nrg_HomeImpl)getEJBHome()).md_eo_setDesciption_S;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { arg0}));
}
customer_1p1nrg_Intf __bean = (customer_1p1nrg_Intf) __wrap.getBean();
// No return value
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
__bean.setDesciption( arg0);
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"demo12.customerBean.setDesciption():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
// No return result
}
public java.lang.String getCreateDate() throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((customer_1p1nrg_HomeImpl)getEJBHome()).md_eo_getCreateDate;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { }));
}
customer_1p1nrg_Intf __bean = (customer_1p1nrg_Intf) __wrap.getBean();
java.lang.String result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.getCreateDate();
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"demo12.customerBean.getCreateDate():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public java.lang.String getPass() throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((customer_1p1nrg_HomeImpl)getEJBHome()).md_eo_getPass;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { }));
}
customer_1p1nrg_Intf __bean = (customer_1p1nrg_Intf) __wrap.getBean();
java.lang.String result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.getPass();
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"demo12.customerBean.getPass():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public java.lang.String getDesciption() throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((customer_1p1nrg_HomeImpl)getEJBHome()).md_eo_getDesciption;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { }));
}
customer_1p1nrg_Intf __bean = (customer_1p1nrg_Intf) __wrap.getBean();
java.lang.String result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.getDesciption();
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"demo12.customerBean.getDesciption():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public void remove()
throws javax.ejb.RemoveException, java.rmi.RemoteException
{
super.remove(((customer_1p1nrg_HomeImpl)getEJBHome()).md_eo_remove);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -