📄 countrybean.java
字号:
/*
* @author Neelesh
* @version 1.0
*
* Development Environment : Oracle9i JDeveloper
* Name of the Application : CountryBean.java
* Creation/Modification History :
*
* Neelesh 11-Jan-2003 Created
*
*/
package oracle.otnsamples.vsm.entities;
// EJB imports
import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
/**
* The CMP implementation bean for Country entity. This java class contains
* ejbCreate() and a set of getter/setter methods for persistent fields and
* relational fields for the bean. Generated by Oracle9i JDeveloper Tool.
*/
public abstract class CountryBean implements EntityBean {
private EntityContext context;
public CountryPK ejbCreate( ) throws javax.ejb.CreateException {
return null;
}
public void ejbPostCreate( ) {
}
public CountryPK ejbCreate( String id, String name )
throws javax.ejb.CreateException {
setId( id );
setCountryName( name );
return new CountryPK( id );
}
public void ejbPostCreate( String id, String name ) {
}
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 getId( );
public abstract void setId( String newId );
public abstract String getCountryName( );
public abstract void setCountryName( String newCountryName );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -