1
//$Id: Document.java 7552 2005-07-19 18:51:24Z oneovthafew $
2
package org.hibernate.test.optlock;
7
public class Document {
11
private String summary;
13
private PublicationDate pubDate;
14
private int totalSales;
16
* @return Returns the author.
18
public String getAuthor() {
22
* @param author The author to set.
24
public void setAuthor(String author) {
28
* @return Returns the id.
34
* @param id The id to set.
36
public void setId(Long id) {
40
* @return Returns the summary.
42
public String getSummary() {
46
* @param summary The summary to set.
48
public void setSummary(String summary) {
49
this.summary = summary;
52
* @return Returns the text.
54
public String getText() {
58
* @param text The text to set.
60
public void setText(String text) {
64
* @return Returns the title.
66
public String getTitle() {
70
* @param title The title to set.
72
public void setTitle(String title) {
75
public PublicationDate getPubDate() {
78
public void setPubDate(PublicationDate pubDate) {
79
this.pubDate = pubDate;
81
public int getTotalSales() {
84
public void setTotalSales(int totalSales) {
85
this.totalSales = totalSales;