Class ModelEventDelegate<T extends PO>

  • Type Parameters:
    T -
    Direct Known Subclasses:
    FactsValidateDelegate

    public class ModelEventDelegate<T extends PO>
    extends EventDelegate
    event delegate for PO related event (po_before_change, doc_before_complete, etc)
    Author:
    hengsin
    • Constructor Detail

      • ModelEventDelegate

        public ModelEventDelegate​(T po,
                                  org.osgi.service.event.Event event)
        Parameters:
        po -
        event -
    • Method Detail

      • getModel

        protected T getModel()
        Returns:
        po model (mbpartner, morder, etc)