observe

Attach observer to this demand. Returns the underlying DemandStateChangeListener so callers can remove the subscription later via SupplyChainModel.Demand.removeStateChangeListener.


Attach observer to this order. Returns the underlying OrderStateChangeListener so callers can remove the subscription via SupplyChainModel.Order.removeStateChangeListener.