address.java

来自「webwork2例子」· Java 代码 · 共 43 行

JAVA
43
字号
/*
 * Created on 2005-8-5
 *
 */
package com.skyon.demo.register;

/**
 * @author moxie
 *  email:achqian@yahoo.com.cn
 */
public class Address {
    private String city;
    private String section;
    
    /**
     * @return Returns the city.
     */
    public String getCity() {
        return city;
    }
    /**
     * @param city The city to set.
     */
    public void setCity(String city) {
        this.city = city;
    }
    /**
     * @return Returns the section.
     */
    public String getSection() {
        return section;
    }
    /**
     * @param section The section to set.
     */
    public void setSection(String section) {
        this.section = section;
    }
    public String toString(){
        return "city="+city+" section="+section;
    }
}

⌨️ 快捷键说明

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