?? tbroomtype_h3b9ka_localhomeimpl.java
字號(hào):
/**
* This code was automatically generated at 1:33:19 on 2006-9-2
* by weblogic.ejb20.ejbc.Ejb2Rmi -- do not edit.
*
* @version WebLogic Server 8.1 Thu Mar 20 23:06:05 PST 2003 246620
* @author Copyright (c) 2006 by BEA Systems, Inc. All Rights Reserved.
*/
package com.xc.hotelmanager.hotel.control.entity;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class TbRoomType_h3b9ka_LocalHomeImpl
extends weblogic.ejb20.internal.EntityEJBLocalHome
implements com.xc.hotelmanager.hotel.control.entity.TbRoomTypeHome, weblogic.utils.PlatformConstants
, weblogic.ejb.QueryLocalHome
{
public weblogic.ejb20.internal.MethodDescriptor md_eo_getRprice;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setRoomType_com_xc_hotelmanager_hotel_model_RoomType;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getRtype;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getRtypeid;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getRoomType;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setRtype_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setRprice_i;
public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_S;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByPrimaryKey_S;
private static java.lang.reflect.Method mth_ejbCreate_S;
private static java.lang.reflect.Method mth_postejbCreate_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_remove;
public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_O;
static {
try {
mth_ejbCreate_S = TbRoomType_h3b9ka_Intf.class.getMethod(
"ejbCreate", new Class [] {java.lang.String.class});
if (true) {
mth_postejbCreate_S = TbRoomType_h3b9ka_Intf.class.getMethod(
"ejbPostCreate", new 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 TbRoomType_h3b9ka_LocalHomeImpl() {
super(TbRoomType_h3b9ka_ELOImpl.class
, java.lang.String.class);
}
public com.xc.hotelmanager.hotel.control.entity.TbRoomType create (java.lang.String arg0)
throws javax.ejb.CreateException
{
try {
return (com.xc.hotelmanager.hotel.control.entity.TbRoomType) super.create(md_ejbCreate_S,
mth_ejbCreate_S, mth_postejbCreate_S,
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 com.xc.hotelmanager.hotel.control.entity.TbRoomType findByPrimaryKey(java.lang.String arg0)
throws javax.ejb.FinderException
{
try {
return (com.xc.hotelmanager.hotel.control.entity.TbRoomType)
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 void remove(java.lang.Object pk)
throws javax.ejb.RemoveException
{
super.remove(md_ejbRemove_O, pk);
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -