org.kuali.kfs.module.purap.document.validation.impl
Class VendorCreditMemoAccountPercentBetween0And100Validation
java.lang.Object
org.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
org.kuali.kfs.module.purap.document.validation.impl.VendorCreditMemoAccountPercentBetween0And100Validation
- All Implemented Interfaces:
- Validation
public class VendorCreditMemoAccountPercentBetween0And100Validation
- extends GenericValidation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VendorCreditMemoAccountPercentBetween0And100Validation
public VendorCreditMemoAccountPercentBetween0And100Validation()
validate
public boolean validate(AttributedDocumentEvent event)
- Description copied from interface:
Validation
- This method validates that certain parameters
- Returns:
- true if validation should continue, false otherwise
validateRequiredField
protected boolean validateRequiredField(org.kuali.rice.kns.bo.BusinessObject businessObject,
String fieldName)
- Helper method to perform required field checks add error messages if the validation fails. Adds an error required to
GlobalVariables.errorMap using the given fieldName as the error key and retrieving the error label from the data dictionary
for the error required message param.
- Parameters:
businessObject
- - Business object to check for valuefieldName
- - Name of the property in the business object
getDataDictionaryService
public org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
setDataDictionaryService
public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.