org.kuali.kfs.module.purap.document.validation.impl
Class PurchasingItemQuantityValidation
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.PurchasingItemQuantityValidation
- All Implemented Interfaces:
- Validation
public class PurchasingItemQuantityValidation
- extends GenericValidation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PurchasingItemQuantityValidation
public PurchasingItemQuantityValidation()
validate
public boolean validate(AttributedDocumentEvent event)
- Validates that if the item type is quantity based, the item quantity is required and if the item type is amount based, the
quantity is not allowed.
- Returns:
- true if validation should continue, false otherwise
getItemForValidation
public PurApItem getItemForValidation()
setItemForValidation
public void setItemForValidation(PurApItem itemForValidation)
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.