📄 stakeholderbean.java
字号:
//Container managed entity beanpackage org.impact.stars.organizationmd.stakeholder.ejb;import java.rmi.RemoteException;import javax.ejb.CreateException;import javax.ejb.EntityBean;import javax.ejb.EntityContext;public class StakeholderBean implements EntityBean { public String userid; public String username; public String password; public String groupid; public String firstname; public String lastname; public String address1; public String address2; public String city; public String state; public String zipcode; public String country; public String role; public String projectid; public String productid; public String organizationid; public void setGroupId(String newgroupid) { this.groupid = newgroupid; } public String getGroupId () { return this.groupid; } public void setFirstName (String newfirstname) { this.firstname = newfirstname; } public String getFirstName () { return this.firstname; } public void setLastName (String newlastname) { this.lastname = newlastname; } public String getLastName () { return this.lastname; } public void setAddress1 (String newaddress1) { this.address1 = newaddress1; } public String getAddress1() { return this.address1; } public void setAddress2 (String newaddress2) { this.address2 = newaddress2; } public String getAddress2() { return this.address2; } public void setCity (String newcity) { this.city = newcity; } public String getCity () { return this.city; } public void setState(String newstate) { this.state = newstate; } public String getState() { return this.state; } public void setZipcode (String newzipcode) { this.zipcode = newzipcode; } public String getZipcode () { return this.zipcode; } public void setCountry (String newcountry) { this.country = newcountry; } public String getCountry () { return this.country; } public void setRole (String newrole) { this.role = newrole; } public String getRole () { return this.role; } public void setProjectId (String newprojectid) { this.projectid = newprojectid; } public String getProjectId() { return this.projectid; } public void setProductId (String newproductid) { this.productid = newproductid; } public String getProductId () { return this.productid; } public void setOrganizationId (String neworganizationid) { this.organizationid = neworganizationid; } public String getOrganizationId () { return this.organizationid; } public void setUserId(String newuserid) { this.userid = newuserid; } public void setUserName (String newusername) { this.username = newusername; } public void setPassword (String newpassword) { this.password = newpassword; } public String getUserId() { return this.userid; } public String getUserName() { return this.username; } public String getPassword() { return this.password; } public String ejbCreate(String userid, String username, String password) throws CreateException { this.userid=userid; this.username=username; this.password=password; return null; } public void ejbRemove() throws RemoteException { } public void setEntityContext(javax.ejb.EntityContext ctx){ } public void ejbActivate() { } public void ejbPassivate() { } public void ejbPostCreate(String userid, String username, String password) {} public void ejbLoad() { } public void ejbStore() { } public void unsetEntityContext(){ }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -