net.sourceforge.pavlov.library
Class ChapterReference

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

public class ChapterReference
extends BookReference

Locates a chapter.

See Also:
Question, Book, Library

Field Summary
protected  String cpName
           
 
Fields inherited from class net.sourceforge.pavlov.library.BookReference
bkName, lib
 
Constructor Summary
ChapterReference(AbstractLibrary library, String bookName, String chapterName)
           
 
Method Summary
 Chapter getChapter()
           
 String getChapterName()
           
 boolean isABook()
           
 boolean isAChapter()
           
 
Methods inherited from class net.sourceforge.pavlov.library.BookReference
getBook, getBookName, getLibrary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cpName

protected String cpName
Constructor Detail

ChapterReference

public ChapterReference(AbstractLibrary library,
                        String bookName,
                        String chapterName)
Method Detail

getChapterName

public String getChapterName()

isAChapter

public boolean isAChapter()

isABook

public boolean isABook()

getChapter

public Chapter getChapter()