public class PurchasingUnitOfMeasureValidation extends GenericValidation
Constructor and Description |
---|
PurchasingUnitOfMeasureValidation() |
Modifier and Type | Method and Description |
---|---|
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
org.kuali.rice.kns.service.DataDictionaryService |
getDataDictionaryService() |
PurApItem |
getItemForValidation() |
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
void |
setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService) |
void |
setItemForValidation(PurApItem itemForValidation) |
boolean |
validate(AttributedDocumentEvent event)
Validates that if the item type is quantity based, the unit of measure is required.
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public PurchasingUnitOfMeasureValidation()
public boolean validate(AttributedDocumentEvent event)
public PurApItem getItemForValidation()
public void setItemForValidation(PurApItem itemForValidation)
public org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.