📄 itemdetailbean.java
字号:
/*
* @author : Neelesh
* @Version : 1.0
*
* Development Environment : Oracle9i JDeveloper
* Name of the File : ItemDetailBean.java
* Creation/Modification History :
*
* Neelesh 11-Jan-2003 Created
*
*/
package oracle.otnsamples.vsm.entities;
// EJB imports
import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import oracle.otnsamples.vsm.entities.ItemDetailPK;
/**
* The CMP implementation bean for ItemDetail entity. ejbCreate() and
* getter/setter methods for persistent fields and relational fields for the
* bean. Generated by Oracle9i JDeveloper Tool.
*/
public abstract class ItemDetailBean implements EntityBean {
private EntityContext context;
public ItemDetailPK ejbCreate( String id, String langID, String name,
double unitPrice, String description )
throws javax.ejb.CreateException {
setItemID( id );
setLangID( langID );
setName( name );
setUnitPrice( new Double( unitPrice ) );
setDescription( description );
return new ItemDetailPK( id, langID );
}
public void ejbPostCreate( String id, String langID, String name,
double unitPrice, String description ) {
}
public ItemDetailPK ejbCreate( ) throws javax.ejb.CreateException {
return null;
}
public void ejbPostCreate( ) {
}
public void ejbActivate( ) {
}
public void ejbLoad( ) {
}
public void ejbPassivate( ) {
}
public void ejbRemove( ) {
}
public void ejbStore( ) {
}
public void setEntityContext( EntityContext ctx ) {
this.context = ctx;
}
public void unsetEntityContext( ) {
this.context = null;
}
public abstract String getItemID( );
public abstract void setItemID( String newItemID );
public abstract String getLangID( );
public abstract void setLangID( String newLangID );
public abstract String getName( );
public abstract void setName( String newName );
public abstract String getDescription( );
public abstract void setDescription( String newDescription );
public abstract Double getUnitPrice( );
public abstract void setUnitPrice( Double newUnitPrice );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -