⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 postalcodesbean.java

📁 此程序都是企业级 的数据库开发程序 全面揭示了JAVA对数据库的操作
💻 JAVA
字号:
package mvc.entitybeans.postalcodes;import java.rmi.RemoteException;import javax.ejb.CreateException;import javax.ejb.EntityBean;import javax.ejb.EntityContext;public class PostalCodesBean  implements EntityBean{  public String  postalCode;  public String  city;  public String  stateProv;  public Integer countryId;  /*Accessors*/  public String  getPostalCode() throws RemoteException{    return postalCode;  }  public String  getCity()       throws RemoteException{    return city;  }  public String  getStateProv()  throws RemoteException{    return stateProv;  }  public Integer getCountryId()  throws RemoteException{    return countryId;  }  /*Mutators*/  public void  setPostalCode(String inPostalCode) throws RemoteException{    postalCode = inPostalCode;  }  public void  setCity(String inCity)       throws RemoteException{    city = inCity;  }  public void  setStateProv(String inStateProv)  throws RemoteException{    stateProv = inStateProv;  }  public void  setCountryId(Integer inCountryId)  throws RemoteException{    countryId = inCountryId;  }  public String ejbCreate(String newPostalCode) throws CreateException, RemoteException{    postalCode = newPostalCode;    return null;  }  public void ejbPostCreate(String newPostalCode) {  }  public void ejbStore(){}  public void ejbRemove(){}  public void ejbActivate(){}  public void ejbLoad(){}  public void ejbPassivate(){}  public void setEntityContext(EntityContext ctx){}  public void unsetEntityContext(){}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -