org.kuali.student.common.ui.server.mvc.dto
Class TestDataModel.CustomDataModelValidator

java.lang.Object
  extended by org.kuali.student.common.ui.client.validator.DataModelValidator
      extended by org.kuali.student.common.ui.server.mvc.dto.TestDataModel.CustomDataModelValidator
Enclosing class:
TestDataModel

public class TestDataModel.CustomDataModelValidator
extends DataModelValidator

Extending DataModelValidator to override call to Application.getApplicationContext() for messages, since ApplicationContext does a GWT.create() which can't be called from JUnit tests.


Constructor Summary
TestDataModel.CustomDataModelValidator()
           
 
Method Summary
protected  String getValidationMessage(String msgKey)
           
 
Methods inherited from class org.kuali.student.common.ui.client.validator.DataModelValidator
doValidateString, getDateParser, setDateParser, validate, validate, validateForMetadata, validateNextState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestDataModel.CustomDataModelValidator

public TestDataModel.CustomDataModelValidator()
Method Detail

getValidationMessage

protected String getValidationMessage(String msgKey)
Overrides:
getValidationMessage in class DataModelValidator


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.