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

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.AttributedPurchasingCapitalAssetLocationEventBase
All Implemented Interfaces:
AttributedPurchasingCapitalAssetLocationEvent, AttributedDocumentEvent, org.kuali.rice.kns.rule.event.KualiDocumentEvent
Direct Known Subclasses:
AttributedAddPurchasingCapitalAssetLocationEvent

public abstract class AttributedPurchasingCapitalAssetLocationEventBase
extends AttributedDocumentEventBase
implements AttributedPurchasingCapitalAssetLocationEvent

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
AttributedPurchasingCapitalAssetLocationEventBase(String description, String errorPathPrefix, org.kuali.rice.kns.document.Document document, CapitalAssetLocation capitalAssetLocation)
          Copies the item and calls the super constructor
 
Method Summary
 CapitalAssetLocation getCapitalAssetLocation()
          gets a location for the location 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

AttributedPurchasingCapitalAssetLocationEventBase

public AttributedPurchasingCapitalAssetLocationEventBase(String description,
                                                         String errorPathPrefix,
                                                         org.kuali.rice.kns.document.Document document,
                                                         CapitalAssetLocation capitalAssetLocation)
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
location - the location that is having the event called on
Method Detail

getCapitalAssetLocation

public CapitalAssetLocation getCapitalAssetLocation()
Description copied from interface: AttributedPurchasingCapitalAssetLocationEvent
gets a location for the location events

Specified by:
getCapitalAssetLocation in interface AttributedPurchasingCapitalAssetLocationEvent
Returns:
an location
See Also:
org.kuali.kfs.module.purap.document.validation.event.PurchasingCapitalAssetLocationEvent#getCapitalAssetLocation()

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.