org.problets.domain.line
Class ExplanationLine

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

public class ExplanationLine
extends AbstractExplanationLine

ExplanationLine Maintains one line of explanation.

Author:
Amruth Kumar

Field Summary
 
Fields inherited from class org.problets.domain.line.AbstractLine
UNASSIGNED_LINE
 
Constructor Summary
ExplanationLine(DomainModel inExplainer, int inEvent, java.lang.String inExplanation, int inLineNumber)
           
 
Method Summary
 void addPostFix(java.lang.String postFix)
           
 java.lang.String getExplanation()
           
 void print()
          Method implements a base clas method Prints all the fields of the class
 void setExplanation(java.lang.String 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

ExplanationLine

public ExplanationLine(DomainModel inExplainer,
                       int inEvent,
                       java.lang.String inExplanation,
                       int inLineNumber)
Method Detail

setExplanation

public void setExplanation(java.lang.String inExplanation)

addPostFix

public void addPostFix(java.lang.String postFix)

getExplanation

public java.lang.String 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