customerbean.java

来自「精通Strut(孙卫琴),随书配套源码-htmltaglibs」· Java 代码 · 共 28 行

JAVA
28
字号
package htmltaglibs.beans;

public class CustomerBean {
  private int custId;
  private String name;
  private String[] favColors=new String[0];
  public CustomerBean() {
  }
  public int getCustId(){
    return this.custId;
  }
  public String getName(){
    return this.name;
  }
  public String[] getFavColors(){
    return this.favColors;
  }

  public void setCustId(int custId){
    this.custId=custId;
  }
  public void setName(String name){
    this.name=name;
  }
  public void setFavColors(String[] favColors){
    this.favColors=favColors;
  }
}

⌨️ 快捷键说明

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