net.sourceforge.pavlov.library
Class BookReference

java.lang.Object
  extended by net.sourceforge.pavlov.library.BookReference
Direct Known Subclasses:
ChapterReference

public class BookReference
extends Object

Locates a book.

See Also:
Question, Book, Library

Field Summary
protected  String bkName
           
protected  AbstractLibrary lib
           
 
Constructor Summary
BookReference(AbstractLibrary library, String bookName)
           
 
Method Summary
 AbstractBook getBook()
           
 String getBookName()
           
 AbstractLibrary getLibrary()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bkName

protected String bkName

lib

protected AbstractLibrary lib
Constructor Detail

BookReference

public BookReference(AbstractLibrary library,
                     String bookName)
Method Detail

getBookName

public String getBookName()

getBook

public AbstractBook getBook()

getLibrary

public AbstractLibrary getLibrary()