public class OLEOneSidedRequiredAccountingLinesCountValidation extends GenericValidation
Constructor and Description |
---|
OLEOneSidedRequiredAccountingLinesCountValidation() |
Modifier and Type | Method and Description |
---|---|
OLEAccountingDocument |
getAccountingDocumentForValidation()
Gets the accountingDocumentForValdation attribute.
|
int |
getRequiredMinimumCount()
Gets the requiredMinimumCount attribute.
|
void |
setAccountingDocumentForValidation(OLEAccountingDocument accountingDocumentForValidation)
Sets the accountingDocumentForValdation attribute value.
|
void |
setRequiredMinimumCount(int requiredCount)
Sets the requiredMinimumCount attribute value.
|
boolean |
validate(AttributedDocumentEvent event)
Validates that the accountingDocumentForValidation has at least the requiredMinimumCount accounting lines
in its sourceAccountingLines (yep, it's assumed that one-sided accounting docs *always* use source...isn't that dumb?)
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public OLEOneSidedRequiredAccountingLinesCountValidation()
public boolean validate(AttributedDocumentEvent event)
Validation.validate(org.kuali.ole.sys.document.validation.event.AttributedDocumentEvent)
public OLEAccountingDocument getAccountingDocumentForValidation()
public void setAccountingDocumentForValidation(OLEAccountingDocument accountingDocumentForValidation)
accountingDocumentForValdation
- The accountingDocumentForValdation to set.public int getRequiredMinimumCount()
public void setRequiredMinimumCount(int requiredCount)
requiredMinimumCount
- The requiredMinimumCount to set.Copyright © 2004–2014 The Kuali Foundation. All rights reserved.