public class PurchaseOrderEmptyItemWithAccountsValidation extends GenericValidation
Constructor and Description |
---|
PurchaseOrderEmptyItemWithAccountsValidation() |
Modifier and Type | Method and Description |
---|---|
PurchaseOrderItem |
getItemForValidation() |
void |
setItemForValidation(PurchaseOrderItem itemForValidation) |
boolean |
validate(AttributedDocumentEvent event)
Validates that the item detail must not be empty if its account is not empty and its item type is ITEM.
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public PurchaseOrderEmptyItemWithAccountsValidation()
public boolean validate(AttributedDocumentEvent event)
public PurchaseOrderItem getItemForValidation()
public void setItemForValidation(PurchaseOrderItem itemForValidation)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.