address.java

来自「hibernate-distribution-3.3.1.GA-dist.zip」· Java 代码 · 共 76 行

JAVA
76
字号
//$Id: Address.java 4592 2004-09-26 00:39:43Z oneovthafew $package org.hibernate.test.cuk;import java.io.Serializable;/** * @author gavin */public class Address implements Serializable {	private Long id;	private String address;	private String zip;	private String country;	private Person person;	/**	 * @return Returns the id.	 */	public Long getId() {		return id;	}	/**	 * @param id The id to set.	 */	public void setId(Long id) {		this.id = id;	}	/**	 * @return Returns the person.	 */	public Person getPerson() {		return person;	}	/**	 * @param person The person to set.	 */	public void setPerson(Person person) {		this.person = person;	}	/**	 * @return Returns the address.	 */	public String getAddress() {		return address;	}	/**	 * @param address The address to set.	 */	public void setAddress(String address) {		this.address = address;	}	/**	 * @return Returns the country.	 */	public String getCountry() {		return country;	}	/**	 * @param country The country to set.	 */	public void setCountry(String country) {		this.country = country;	}	/**	 * @return Returns the zip.	 */	public String getZip() {		return zip;	}	/**	 * @param zip The zip to set.	 */	public void setZip(String zip) {		this.zip = zip;	}}

⌨️ 快捷键说明

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