org.problets.domain.line
Class ExplanationPara

java.lang.Object
  extended by org.problets.domain.line.AbstractLine
      extended by org.problets.domain.line.AbstractExplanationLine
          extended by org.problets.domain.line.ExplanationPara
All Implemented Interfaces:
java.lang.Cloneable

public class ExplanationPara
extends AbstractExplanationLine

ExplanationPara Maintains one paragraph of explanation, corresponding to one control structure.

Author:
Amruth Kumar

Field Summary
 
Fields inherited from class org.problets.domain.line.AbstractLine
UNASSIGNED_LINE
 
Constructor Summary
ExplanationPara(DomainModel inExplainer, int inEvent, java.util.Vector inExplanation, int inLineNumber)
           
 
Method Summary
 java.util.Vector getExplanation()
           
 void print()
          Method implements a base clas method Prints all the fields of the class
 void setExplanation(java.util.Vector inExplanation)
           
 java.lang.String toString()
          Method implements a base clas method Returns only that which is entered into the log
 
Methods inherited from class org.problets.domain.line.AbstractExplanationLine
getEvent, getExplainer, getFeedbackAmount, setFeedbackAmount
 
Methods inherited from class org.problets.domain.line.AbstractLine
clone, getLineNumber, setLineNumber
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExplanationPara

public ExplanationPara(DomainModel inExplainer,
                       int inEvent,
                       java.util.Vector inExplanation,
                       int inLineNumber)
Method Detail

setExplanation

public void setExplanation(java.util.Vector inExplanation)

getExplanation

public java.util.Vector getExplanation()

toString

public java.lang.String toString()
Method implements a base clas method Returns only that which is entered into the log

Specified by:
toString in class AbstractExplanationLine

print

public void print()
Method implements a base clas method Prints all the fields of the class

Specified by:
print in class AbstractExplanationLine