org.kuali.kfs.module.purap.document.validation.event
Class AttributedPurchasingCapitalAssetLocationEventBase
java.lang.Object
org.kuali.rice.kns.rule.event.KualiDocumentEventBase
org.kuali.kfs.sys.document.validation.event.AttributedDocumentEventBase
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
Fields inherited from class org.kuali.rice.kns.rule.event.KualiDocumentEventBase |
document |
Methods inherited from class org.kuali.rice.kns.rule.event.KualiDocumentEventBase |
generateEvents, getDescription, getDocument, getDocumentId, getErrorPathPrefix, getName, toString |
Methods inherited from interface org.kuali.rice.kns.rule.event.KualiDocumentEvent |
generateEvents, getDescription, getDocument, getErrorPathPrefix, getName, getRuleInterfaceClass, invokeRuleMethod |
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 eventerrorPathPrefix
- the error pathdocument
- the document the event is being called onlocation
- the location that is having the event called on
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.