org.hibernate.test.optlock
Class Document

java.lang.Object
  extended by org.hibernate.test.optlock.Document

public class Document
extends Object


Constructor Summary
Document()
           
 
Method Summary
 String getAuthor()
           
 Long getId()
           
 PublicationDate getPubDate()
           
 String getSummary()
           
 String getText()
           
 String getTitle()
           
 int getTotalSales()
           
 void setAuthor(String author)
           
 void setId(Long id)
           
 void setPubDate(PublicationDate pubDate)
           
 void setSummary(String summary)
           
 void setText(String text)
           
 void setTitle(String title)
           
 void setTotalSales(int totalSales)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Document

public Document()
Method Detail

getAuthor

public String getAuthor()
Returns:
Returns the author.

setAuthor

public void setAuthor(String author)
Parameters:
author - The author to set.

getId

public Long getId()
Returns:
Returns the id.

setId

public void setId(Long id)
Parameters:
id - The id to set.

getSummary

public String getSummary()
Returns:
Returns the summary.

setSummary

public void setSummary(String summary)
Parameters:
summary - The summary to set.

getText

public String getText()
Returns:
Returns the text.

setText

public void setText(String text)
Parameters:
text - The text to set.

getTitle

public String getTitle()
Returns:
Returns the title.

setTitle

public void setTitle(String title)
Parameters:
title - The title to set.

getPubDate

public PublicationDate getPubDate()

setPubDate

public void setPubDate(PublicationDate pubDate)

getTotalSales

public int getTotalSales()

setTotalSales

public void setTotalSales(int totalSales)


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.