📄 customer_7og5ho_localhomeimpl.java
字号:
/**
* This code was automatically generated at 11:45:53 on 2004-4-25
* by weblogic.ejb20.ejbc.Ejb2Rmi -- do not edit.
*
* @version WebLogic Server 8.1 Fri Jun 20 23:06:40 PDT 2003 271009
* @author Copyright (c) 2004 by BEA Systems, Inc. All Rights Reserved.
*/
package bookstore.ejb;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class Customer_7og5ho_LocalHomeImpl
extends weblogic.ejb20.internal.EntityEJBLocalHome
implements bookstore.ejb.CustomerHome, weblogic.utils.PlatformConstants
{
public weblogic.ejb20.internal.MethodDescriptor md_eo_getPassword;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setRank_i;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setEMail_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setZip_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setName_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setIDCardNum_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getProfession;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getCity;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getEMail;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getRank;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getZip;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getCustomerID;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getAccount;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setAccount_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getAddress;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getDetails;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getName;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setPassword_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getIDCardNum;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getSexual;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setAddress_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getPhone;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getBirthDay;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setSexual_i;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setPhone_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setProfession_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setBirthDay_java_sql_Date;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setCity_S;
public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_bookstore_util_CustomerDetails;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByPrimaryKey_S;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByCondition_S;
private static java.lang.reflect.Method mth_ejbCreate_bookstore_util_CustomerDetails;
private static java.lang.reflect.Method mth_postejbCreate_bookstore_util_CustomerDetails;
public weblogic.ejb20.internal.MethodDescriptor md_eo_remove;
public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_O;
static {
try {
mth_ejbCreate_bookstore_util_CustomerDetails = Customer_7og5ho_Intf.class.getMethod(
"ejbCreate", new Class [] {bookstore.util.CustomerDetails.class});
if (true) {
mth_postejbCreate_bookstore_util_CustomerDetails = Customer_7og5ho_Intf.class.getMethod(
"ejbPostCreate", new Class [] {bookstore.util.CustomerDetails.class});
}
} catch (Exception e) {
throw new AssertionError("Unable to find expected "+
"methods. Please check your classpath for stale versions of "+
"your ejb classes and re-run weblogic.ejbc");
}
}
public Customer_7og5ho_LocalHomeImpl() {
super(Customer_7og5ho_ELOImpl.class
, java.lang.String.class);
}
public bookstore.ejb.Customer create (bookstore.util.CustomerDetails arg0)
throws javax.ejb.CreateException
{
try {
return (bookstore.ejb.Customer) super.create(md_ejbCreate_bookstore_util_CustomerDetails,
mth_ejbCreate_bookstore_util_CustomerDetails, mth_postejbCreate_bookstore_util_CustomerDetails,
new Object [] { arg0});
} catch (java.lang.Exception e) {
if (e instanceof javax.ejb.EJBException) {
throw (javax.ejb.EJBException)e;
}
else if (e instanceof javax.ejb.CreateException) {
throw (javax.ejb.CreateException) e;
}
else {
throw new javax.ejb.CreateException ("Error while creating bean: " +
e.toString());
}
}
}
public bookstore.ejb.Customer findByPrimaryKey(java.lang.String arg0)
throws javax.ejb.FinderException
{
try {
return (bookstore.ejb.Customer)
super.findByPrimaryKey(md_ejbFindByPrimaryKey_S, arg0 );
} catch (java.lang.Exception e) {
if (e instanceof javax.ejb.EJBException) {
throw (javax.ejb.EJBException)e;
}
else if (e instanceof javax.ejb.FinderException) {
throw (javax.ejb.FinderException) e;
}
else {
throw new javax.ejb.FinderException ("Error while finding bean: " +
e.toString());
}
}
}
public java.util.Collection findByCondition(java.lang.String arg0)
throws javax.ejb.FinderException
{
try {
return (java.util.Collection)
super.finder(md_ejbFindByCondition_S, new Object [] { arg0} , weblogic.ejb20.internal.EntityEJBHome.COLL_FINDER);
} catch (java.lang.Exception e) {
if (e instanceof javax.ejb.EJBException) {
throw (javax.ejb.EJBException)e;
}
else if (e instanceof javax.ejb.FinderException) {
throw (javax.ejb.FinderException) e;
}
else {
throw new javax.ejb.FinderException ("Error while finding bean: " +
e.toString());
}
}
}
public void remove(java.lang.Object pk)
throws javax.ejb.RemoveException
{
super.remove(md_ejbRemove_O, pk);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -