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

📄 optionalinfo.java

📁 该系统是一个基于p2p的即时聊天系统
💻 JAVA
字号:
/* * @(#) OptionalInfo.java * Copyright 2004 HWStudio. All rights reserved. */package hws.item.smart.utility.chat;/** * 可选信息 * * @version 0.1 2005-07-24 * @author Hwerz */public class OptionalInfo extends Object {    /*------------------------------------------------------------------------*     *                                属性定义                                *     *------------------------------------------------------------------------*/    /**     * 姓名     */    private String name;    /**     * 性别     */    private String gender;    /**     * 生日     */    private String birthday;    /**     * 国家     */    private String country;    /**     * 省份     */    private String province;    /**     * 城市     */    private String city;    /**     * 联系电话     */    private String telephone;    /**     * 电子邮件     */    private String email;    /**     * 家庭住址     */    private String address;    /**     * 邮政编码     */    private String postalcode;    /**     * 个人主页     */    private String homepage;    /**     * 备注     */    private String remark;    /*------------------------------------------------------------------------*     *                                构造函数                                *     *------------------------------------------------------------------------*/    /**     * Create a new instance of this class     *     * @param name 姓名     * @param gender 性别     * @param birthday 生日     * @param country 国家     * @param province 省份     * @param city 城市     * @param telephone 联系电话     * @param email 电子邮件     * @param address 家庭住址     * @param postalcode 邮政编码     * @param homepage 个人主页     * @param remark 备注     */    public OptionalInfo(String name, String gender, String birthday,        String country, String province, String city, String telephone,        String email, String address, String postalcode, String homepage,        String remark) {        super();        this.name = name;        this.gender = gender;        this.birthday = birthday;        this.country = country;        this.province = province;        this.city = city;        this.telephone = telephone;        this.email = email;        this.address = address;        this.postalcode = postalcode;        this.homepage = homepage;        this.remark = remark;    }    /*------------------------------------------------------------------------*     *                                公共方法                                *     *------------------------------------------------------------------------*/    /**     * 返回姓名     *     * @return 姓名     */    public String getName() {        return name;    }    /**     * 设置姓名     *     * @param name 待设置的姓名     */    public void setName(String name) {        this.name = name;    }    /**     * 返回性别     *     * @return 性别     */    public String getGender() {        return gender;    }    /**     * 设置性别     *     * @param gender 待设置的性别     */    public void setGender(String gender) {        this.gender = gender;    }    /**     * 返回生日     *     * @return 生日     */    public String getBirthday() {        return birthday;    }    /**     * 设置生日     *     * @param birthday 待设置的生日     */    public void setBirthday(String birthday) {        this.birthday = birthday;    }    /**     * 返回国家     *     * @return 国家     */    public String getCountry() {        return country;    }    /**     * 设置国家     *     * @param country 待设置的国家     */    public void setCountry(String country) {        this.country = country;    }    /**     * 返回省份     *     * @return 省份     */    public String getProvince() {        return province;    }    /**     * 设置省份     *     * @param province 待设置的省份     */    public void setProvince(String province) {        this.province = province;    }    /**     * 返回城市     *     * @return 城市     */    public String getCity() {        return city;    }    /**     * 设置城市     *     * @param city 待设置的城市     */    public void setCity(String city) {        this.city = city;    }    /**     * 返回联系电话     *     * @return 联系电话     */    public String getTelephone() {        return telephone;    }    /**     * 设置联系电话     *     * @param telephone 待设置的联系电话     */    public void setTelephone(String telephone) {        this.telephone = telephone;    }    /**     * 返回电子邮件     *     * @return 电子邮件     */    public String getEmail() {        return email;    }    /**     * 设置电子邮件     *     * @param email 待设置的电子邮件     */    public void setEmail(String email) {        this.email = email;    }    /**     * 返回家庭住址     *     * @return 家庭住址     */    public String getAddress() {        return address;    }    /**     * 设置家庭住址     *     * @param address 待设置的家庭住址     */    public void setAddress(String address) {        this.address = address;    }    /**     * 返回邮政编码     *     * @return 邮政编码     */    public String getPostalcode() {        return postalcode;    }    /**     * 设置邮政编码     *     * @param postalcode 待设置的邮政编码     */    public void setPostalcode(String postalcode) {        this.postalcode = postalcode;    }    /**     * 返回个人主页     *     * @return 个人主页     */    public String getHomepage() {        return homepage;    }    /**     * 设置个人主页     *     * @param homepage 待设置的个人主页     */    public void setHomepage(String homepage) {        this.homepage = homepage;    }    /**     * 返回备注     *     * @return 备注     */    public String getRemark() {        return remark;    }    /**     * 设置备注     *     * @param remark 待设置的备注     */    public void setRemark(String remark) {        this.remark = remark;    }}

⌨️ 快捷键说明

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