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

📄 stakeholdermodel.java

📁 《Java网络程序设计.rar》包括三个网络程序的源代码。
💻 JAVA
字号:
/* */package org.impact.stars.organizationmd.stakeholder.model;import java.sql.Date;/** * This class provides methods to view and modify concept * information for a particular concept. */public class StakeholderModel implements java.io.Serializable {  protected String userid;  protected String username;  protected String password;    protected String groupid;  protected String firstname;  protected String lastname;  protected String address1;  protected String address2;  protected String city;  protected String state;  protected String zipcode;  protected String country;  protected String role;  protected String projectid;  protected String productid;  protected String organizationid;  public StakeholderModel(String afirstname, String alastname, String agroup) {            this.firstname = afirstname;        this.lastname = alastname;        this.groupid = agroup;    }    /**     * Class constructor with no arguments, used by the web tier.     */  public StakeholderModel() {}  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;  }/*    protected String toString() {        String ret = null;        ret = "userId = " + userId + "\n";        ret += "status = " + status + "\n";        ret += "contact info = " + info.toString() + "\n";        return ret;    }*/    /** shallow copy */    protected void copy(StakeholderModel other) {          this.userid= other.userid;          this.username= other.username;          this.password= other.password;          this.groupid= other.groupid;          this.firstname= other.firstname;          this.lastname= other.lastname;          this.address1= other.address1;          this.address2= other.address2;          this.city= other.city;          this.state= other.state;          this.zipcode= other.zipcode;          this.country= other.country;          this.role= other.role;          this.projectid= other.projectid;          this.productid= other.productid;          this.organizationid= other.organizationid;    }}

⌨️ 快捷键说明

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