address.java

来自「Simple MVC demo,This demo app should be 」· Java 代码 · 共 88 行

JAVA
88
字号

package com.wrox.expertj2ee.ticket.customer;

import java.io.Serializable;

/**
 * Simple target object for data binding.
 * 
 * @since Jan 7, 2003
 * @author Rod Johnson
 */
public class Address implements Serializable {
	
	private String street;
	
	private String line2;
	
	private String city;
	
	private String postcode;


	/**
	 * Gets the street.
	 * @return Returns a String
	 */
	public String getStreet() {
		return street;
	}

	/**
	 * Sets the street.
	 * @param street The street to set
	 */
	public void setStreet(String street) {
		this.street = street;
	}

	/**
	 * Gets the line2.
	 * @return Returns a String
	 */
	public String getLine2() {
		return line2;
	}

	/**
	 * Sets the line2.
	 * @param line2 The line2 to set
	 */
	public void setLine2(String line2) {
		this.line2 = line2;
	}

	/**
	 * Gets the city.
	 * @return Returns a String
	 */
	public String getCity() {
		return city;
	}

	/**
	 * Sets the city.
	 * @param city The city to set
	 */
	public void setCity(String city) {
		this.city = city;
	}

	/**
	 * Gets the postcode.
	 * @return Returns a String
	 */
	public String getPostcode() {
		return postcode;
	}

	/**
	 * Sets the postcode.
	 * @param postcode The postcode to set
	 */
	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}

}

⌨️ 快捷键说明

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