insensa.commands
Class ErrorMessageProblem

java.lang.Object
  extended by insensa.commands.AbstractCommandProblem
      extended by insensa.commands.ErrorMessageProblem
All Implemented Interfaces:
ICommandProblem

public class ErrorMessageProblem
extends AbstractCommandProblem


Field Summary
private  java.lang.String errorMessage
           
 
Constructor Summary
ErrorMessageProblem(java.lang.String problem)
           
 
Method Summary
 void addSolution(ISolution solution)
           
 java.lang.String getErrorMessage()
           
 java.util.List<ISolution> getSolutions()
           
 void setErrorMessage(java.lang.String errorMessage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

errorMessage

private java.lang.String errorMessage
Constructor Detail

ErrorMessageProblem

public ErrorMessageProblem(java.lang.String problem)
Parameters:
problem -
Method Detail

addSolution

public void addSolution(ISolution solution)
Specified by:
addSolution in interface ICommandProblem
Overrides:
addSolution in class AbstractCommandProblem
See Also:
AbstractCommandProblem.addSolution(insensa.commands.ISolution)

getErrorMessage

public java.lang.String getErrorMessage()
Specified by:
getErrorMessage in interface ICommandProblem
Overrides:
getErrorMessage in class AbstractCommandProblem
Returns:
See Also:
AbstractCommandProblem.getErrorMessage()

getSolutions

public java.util.List<ISolution> getSolutions()
Specified by:
getSolutions in interface ICommandProblem
Overrides:
getSolutions in class AbstractCommandProblem
Returns:
See Also:
AbstractCommandProblem.getSolutions()

setErrorMessage

public void setErrorMessage(java.lang.String errorMessage)
Specified by:
setErrorMessage in interface ICommandProblem
Overrides:
setErrorMessage in class AbstractCommandProblem
See Also:
AbstractCommandProblem.setErrorMessage(java.lang.String)