net.sourceforge.pavlov.library
Class QuestionReference

java.lang.Object
  extended by net.sourceforge.pavlov.library.BookReference
      extended by net.sourceforge.pavlov.library.ChapterReference
          extended by net.sourceforge.pavlov.library.QuestionReference

public final class QuestionReference
extends ChapterReference

Locates a chapter.

See Also:
Question, Book, Library

Field Summary
protected  String quesID
           
 
Fields inherited from class net.sourceforge.pavlov.library.ChapterReference
cpName
 
Fields inherited from class net.sourceforge.pavlov.library.BookReference
bkName, lib
 
Constructor Summary
QuestionReference(AbstractLibrary library, String bookName, String chapterName, String questionID)
           
 
Method Summary
 Question getQuestion()
           
 String getQuestionID()
           
 
Methods inherited from class net.sourceforge.pavlov.library.ChapterReference
getChapter, getChapterName, isABook, 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

quesID

protected String quesID
Constructor Detail

QuestionReference

public QuestionReference(AbstractLibrary library,
                         String bookName,
                         String chapterName,
                         String questionID)
Method Detail

getQuestionID

public String getQuestionID()

getQuestion

public Question getQuestion()