personbean.java

来自「优秀的打印控件全源代码,类似水晶表的设计器!」· Java 代码 · 共 93 行

JAVA
93
字号
/* * PersonBean.java * * Created on 8 luglio 2004, 1.41 */package it.businesslogic.ireport.examples.beans;/** * * @author  Administrator */public class PersonBean {        private String firstName;        private String lastName;        private HobbyBean[] hobbies;        private AddressBean address;        /** Creates a new instance of PersonBean */    public PersonBean() {        hobbies = new HobbyBean[0];    }        /**     * Getter for property firstName.     * @return Value of property firstName.     */    public java.lang.String getFirstName() {        return firstName;    }        /**     * Setter for property firstName.     * @param firstName New value of property firstName.     */    public void setFirstName(java.lang.String firstName) {        this.firstName = firstName;    }        /**     * Getter for property lastName.     * @return Value of property lastName.     */    public java.lang.String getLastName() {        return lastName;    }        /**     * Setter for property lastName.     * @param lastName New value of property lastName.     */    public void setLastName(java.lang.String lastName) {        this.lastName = lastName;    }        /**     * Getter for property hobbies.     * @return Value of property hobbies.     */    public it.businesslogic.ireport.examples.beans.HobbyBean[] getHobbies() {        return this.hobbies;    }        /**     * Setter for property hobbies.     * @param hobbies New value of property hobbies.     */    public void setHobbies(it.businesslogic.ireport.examples.beans.HobbyBean[] hobbies) {        this.hobbies = hobbies;    }        /**     * Getter for property address.     * @return Value of property address.     */    public it.businesslogic.ireport.examples.beans.AddressBean getAddress() {        return address;    }        /**     * Setter for property address.     * @param address New value of property address.     */    public void setAddress(it.businesslogic.ireport.examples.beans.AddressBean address) {        this.address = address;    }    }

⌨️ 快捷键说明

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