📄 productkeybean.java
字号:
package com.javasrc.licenseserver.ejb.productkey;
import javax.ejb.*;
import com.javasrc.licenseserver.ejb.product.*;
public abstract class ProductKeyBean implements EntityBean
{
public Integer ejbCreate( Integer id, String key ) throws CreateException
{
setId( id );
setKey( key );
return null;
}
public void ejbPostCreate( Integer id, String key )
{
}
public abstract Integer getId();
public abstract void setId( Integer id );
public abstract String getKey();
public abstract void setKey( String key );
public abstract ProductLocal getProduct();
public abstract void setProduct( ProductLocal product );
public void setEntityContext( EntityContext ctx ) {}
public void unsetEntityContext() {}
public void ejbLoad() {}
public void ejbStore() {}
public void ejbActivate() {}
public void ejbPassivate() {}
public void ejbRemove() {}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -