org.kuali.kfs.module.purap.document.validation.event
Class AttributedPurchasingItemCapitalAssetEventBase

java.lang.Object
  extended by org.kuali.rice.kns.rule.event.KualiDocumentEventBase
      extended by org.kuali.kfs.sys.document.validation.event.AttributedDocumentEventBase
          extended by org.kuali.kfs.module.purap.document.validation.event.AttributedPurchasingItemCapitalAssetEventBase
All Implemented Interfaces:
AttributedPurchasingItemCapitalAssetEvent, AttributedDocumentEvent, org.kuali.rice.kns.rule.event.KualiDocumentEvent
Direct Known Subclasses:
AttributedAddPurchasingItemCapitalAssetEvent

public abstract class AttributedPurchasingItemCapitalAssetEventBase
extends AttributedDocumentEventBase
implements AttributedPurchasingItemCapitalAssetEvent

Event Base class for Purchasing Item Capital Asset contains the base methods for item events


Field Summary
 
Fields inherited from class org.kuali.rice.kns.rule.event.KualiDocumentEventBase
document
 
Constructor Summary
AttributedPurchasingItemCapitalAssetEventBase(String description, String errorPathPrefix, org.kuali.rice.kns.document.Document document, ItemCapitalAsset itemCapitalAsset)
          Copies the item and calls the super constructor
 
Method Summary
 ItemCapitalAsset getItemCapitalAsset()
          gets an item for the item events
 void validate()
           
 
Methods inherited from class org.kuali.kfs.sys.document.validation.event.AttributedDocumentEventBase
getAttribute, getIterationSubject, getRuleInterfaceClass, invokeRuleMethod, setAttribute, setIterationSubject
 
Methods inherited from class org.kuali.rice.kns.rule.event.KualiDocumentEventBase
generateEvents, getDescription, getDocument, getDocumentId, getErrorPathPrefix, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent
getAttribute, getIterationSubject, setAttribute, setIterationSubject
 
Methods inherited from interface org.kuali.rice.kns.rule.event.KualiDocumentEvent
generateEvents, getDescription, getDocument, getErrorPathPrefix, getName, getRuleInterfaceClass, invokeRuleMethod
 

Constructor Detail

AttributedPurchasingItemCapitalAssetEventBase

public AttributedPurchasingItemCapitalAssetEventBase(String description,
                                                     String errorPathPrefix,
                                                     org.kuali.rice.kns.document.Document document,
                                                     ItemCapitalAsset itemCapitalAsset)
Copies the item and calls the super constructor

Parameters:
description - the description of the event
errorPathPrefix - the error path
document - the document the event is being called on
item - the item that is having the event called on
Method Detail

getItemCapitalAsset

public ItemCapitalAsset getItemCapitalAsset()
Description copied from interface: AttributedPurchasingItemCapitalAssetEvent
gets an item for the item events

Specified by:
getItemCapitalAsset in interface AttributedPurchasingItemCapitalAssetEvent
Returns:
an item
See Also:
org.kuali.kfs.module.purap.document.validation.event.PurchasingItemCapitalAssetEvent#getItemCapitalAsset()

validate

public void validate()
Specified by:
validate in interface org.kuali.rice.kns.rule.event.KualiDocumentEvent
Overrides:
validate in class org.kuali.rice.kns.rule.event.KualiDocumentEventBase
See Also:
org.kuali.core.rule.event.KualiDocumentEvent#validate()


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