uk.ac.essex.ia.opview
Class OperationValidatorImpl

java.lang.Object
  extended by uk.ac.essex.ia.opview.OperationValidatorImpl
All Implemented Interfaces:
OperationValidator

public class OperationValidatorImpl
extends java.lang.Object
implements OperationValidator



You should have received a copy of GNU public license with this code. If not please visit this site


Constructor Summary
OperationValidatorImpl()
           
 
Method Summary
 java.lang.String getErrors()
           
 boolean isValid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationValidatorImpl

public OperationValidatorImpl()
Method Detail

isValid

public boolean isValid()
Specified by:
isValid in interface OperationValidator
Returns:
boolean - true if the operation is valid and can be executed, false otherwise

getErrors

public java.lang.String getErrors()
Specified by:
getErrors in interface OperationValidator
Returns:
String - a localised formatted string showing the errors