?? wbemployee_ji9hxe_localhomeimpl.java
字號:
/**
* This code was automatically generated at 15:51:47 on 2005-12-9
* 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) 2005 by BEA Systems, Inc. All Rights Reserved.
*/
package custom_management;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class WbEmployee_ji9hxe_LocalHomeImpl
extends weblogic.ejb20.internal.EntityEJBLocalHome
implements custom_management.WbEmployeeHome, weblogic.utils.PlatformConstants
, weblogic.ejb.QueryLocalHome
{
public weblogic.ejb20.internal.MethodDescriptor md_eo_getAge;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setWbRole_java_util_Collection;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setSn_L;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setSex_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setAge_I;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getWbRole;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setPw_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getAddress;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setNote_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getPw;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getName;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getNote;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setName_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setAddress_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getSn;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getSex;
public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_LSSISSS;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByPrimaryKey_L;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindAllEmployees;
private static java.lang.reflect.Method mth_ejbCreate_LSSISSS;
private static java.lang.reflect.Method mth_postejbCreate_LSSISSS;
public weblogic.ejb20.internal.MethodDescriptor md_eo_remove;
public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_O;
static {
try {
mth_ejbCreate_LSSISSS = WbEmployee_ji9hxe_Intf.class.getMethod(
"ejbCreate", new Class [] {java.lang.Long.class, java.lang.String.class, java.lang.String.class, java.lang.Integer.class, java.lang.String.class, java.lang.String.class, java.lang.String.class});
if (true) {
mth_postejbCreate_LSSISSS = WbEmployee_ji9hxe_Intf.class.getMethod(
"ejbPostCreate", new Class [] {java.lang.Long.class, java.lang.String.class, java.lang.String.class, java.lang.Integer.class, java.lang.String.class, java.lang.String.class, java.lang.String.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 WbEmployee_ji9hxe_LocalHomeImpl() {
super(WbEmployee_ji9hxe_ELOImpl.class
, java.lang.Long.class);
}
public custom_management.WbEmployee create (java.lang.Long arg0,java.lang.String arg1,java.lang.String arg2,java.lang.Integer arg3,java.lang.String arg4,java.lang.String arg5,java.lang.String arg6)
throws javax.ejb.CreateException
{
try {
return (custom_management.WbEmployee) super.create(md_ejbCreate_LSSISSS,
mth_ejbCreate_LSSISSS, mth_postejbCreate_LSSISSS,
new Object [] { arg0, arg1, arg2, arg3, arg4, arg5, arg6});
} 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 custom_management.WbEmployee findByPrimaryKey(java.lang.Long arg0)
throws javax.ejb.FinderException
{
try {
return (custom_management.WbEmployee)
super.findByPrimaryKey(md_ejbFindByPrimaryKey_L, 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 findAllEmployees()
throws javax.ejb.FinderException
{
try {
return (java.util.Collection)
super.finder(md_ejbFindAllEmployees, new Object [] { } , 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 + -