org.problets.domain.line
Class ExplanationLine
java.lang.Object
org.problets.domain.line.AbstractLine
org.problets.domain.line.AbstractExplanationLine
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
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExplanationLine
public ExplanationLine(DomainModel inExplainer,
int inEvent,
java.lang.String inExplanation,
int inLineNumber)
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