FileDocCategorySizeDatePackage
Document.javaAPI DocHibernate 3.2.51566Tue Jul 19 13:51:24 BST 2005org.hibernate.test.optlock

Document

public class Document extends Object
author
Gavin King

Fields Summary
private Long
id
private String
author
private String
title
private String
summary
private String
text
private PublicationDate
pubDate
private int
totalSales
Constructors Summary
Methods Summary
public java.lang.StringgetAuthor()

return
Returns the author.

		return author;
	
public java.lang.LonggetId()

return
Returns the id.

		return id;
	
public PublicationDategetPubDate()

		return pubDate;
	
public java.lang.StringgetSummary()

return
Returns the summary.

		return summary;
	
public java.lang.StringgetText()

return
Returns the text.

		return text;
	
public java.lang.StringgetTitle()

return
Returns the title.

		return title;
	
public intgetTotalSales()

		return totalSales;
	
public voidsetAuthor(java.lang.String author)

param
author The author to set.

		this.author = author;
	
public voidsetId(java.lang.Long id)

param
id The id to set.

		this.id = id;
	
public voidsetPubDate(PublicationDate pubDate)

		this.pubDate = pubDate;
	
public voidsetSummary(java.lang.String summary)

param
summary The summary to set.

		this.summary = summary;
	
public voidsetText(java.lang.String text)

param
text The text to set.

		this.text = text;
	
public voidsetTitle(java.lang.String title)

param
title The title to set.

		this.title = title;
	
public voidsetTotalSales(int totalSales)

		this.totalSales = totalSales;