document.java

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

JAVA
88
字号
//$Id: Document.java 7552 2005-07-19 18:51:24Z oneovthafew $package org.hibernate.test.optlock;/** * @author Gavin King */public class Document {	private Long id;	private String author;	private String title;	private String summary;	private String text;	private PublicationDate pubDate;	private int totalSales;	/**	 * @return Returns the author.	 */	public String getAuthor() {		return author;	}	/**	 * @param author The author to set.	 */	public void setAuthor(String author) {		this.author = author;	}	/**	 * @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 summary.	 */	public String getSummary() {		return summary;	}	/**	 * @param summary The summary to set.	 */	public void setSummary(String summary) {		this.summary = summary;	}	/**	 * @return Returns the text.	 */	public String getText() {		return text;	}	/**	 * @param text The text to set.	 */	public void setText(String text) {		this.text = text;	}	/**	 * @return Returns the title.	 */	public String getTitle() {		return title;	}	/**	 * @param title The title to set.	 */	public void setTitle(String title) {		this.title = title;	}	public PublicationDate getPubDate() {		return pubDate;	}	public void setPubDate(PublicationDate pubDate) {		this.pubDate = pubDate;	}	public int getTotalSales() {		return totalSales;	}	public void setTotalSales(int totalSales) {		this.totalSales = totalSales;	}}

⌨️ 快捷键说明

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