org.kuali.kfs.module.cam.document.validation.impl
Class AssetPaymentObjectCodeValidation

java.lang.Object
  extended by org.kuali.kfs.sys.document.validation.ParameterizedValidation
      extended by org.kuali.kfs.sys.document.validation.GenericValidation
          extended by org.kuali.kfs.module.cam.document.validation.impl.AssetPaymentObjectCodeValidation
All Implemented Interfaces:
Validation

public class AssetPaymentObjectCodeValidation
extends GenericValidation

This class validates object sub type code for the financial object for which payment is being made


Constructor Summary
AssetPaymentObjectCodeValidation()
           
 
Method Summary
 AccountingLine getAccountingLineForValidation()
           
 AssetService getAssetService()
           
 org.kuali.rice.kns.service.ParameterService getParameterService()
           
 void setAccountingLineForValidation(AccountingLine accountingLine)
           
 void setAssetService(AssetService assetService)
           
 void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
           
 boolean validate(AttributedDocumentEvent event)
          Validate financial object sub type code validation, it should be of type capital asset.
 
Methods inherited from class org.kuali.kfs.sys.document.validation.GenericValidation
setQuitOnFail, shouldQuitOnFail, stageValidation
 
Methods inherited from class org.kuali.kfs.sys.document.validation.ParameterizedValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetPaymentObjectCodeValidation

public AssetPaymentObjectCodeValidation()
Method Detail

validate

public boolean validate(AttributedDocumentEvent event)
Validate financial object sub type code validation, it should be of type capital asset.

Returns:
true if validation should continue, false otherwise
See Also:
Validation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)

getAccountingLineForValidation

public AccountingLine getAccountingLineForValidation()

setAccountingLineForValidation

public void setAccountingLineForValidation(AccountingLine accountingLine)

getAssetService

public AssetService getAssetService()

setAssetService

public void setAssetService(AssetService assetService)

getParameterService

public org.kuali.rice.kns.service.ParameterService getParameterService()

setParameterService

public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.