Class ModelEventDelegate<T extends PO>
java.lang.Object
org.adempiere.base.event.annotations.EventDelegate
org.adempiere.base.event.annotations.ModelEventDelegate<T>
- Type Parameters:
T
-
- Direct Known Subclasses:
FactsValidateDelegate
Event delegate for PO related event.
To handle a model event, create a subclass of this and uses the model event annotation (BeforeChange, BeforeComplete, etc) to annotate the event handling method.
To handle a model event, create a subclass of this and uses the model event annotation (BeforeChange, BeforeComplete, etc) to annotate the event handling method.
- Author:
- hengsin
-
Field Summary
Fields inherited from class org.adempiere.base.event.annotations.EventDelegate
event
-
Constructor Summary
-
Method Summary
Methods inherited from class org.adempiere.base.event.annotations.EventDelegate
getEvent
-
Constructor Details
-
ModelEventDelegate
- Parameters:
po
-event
-
-
-
Method Details
-
getModel
Get PO model for event- Returns:
- PO model (MBPartner, MOrder, etc)
-