org.hibernate.test.optlock
Class Document
java.lang.Object
org.hibernate.test.optlock.Document
public class Document
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Document
public Document()
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.