Order Generator
Generates orders at scheduled intervals and routes them to an order filler. The order's content is produced by an OrderCreatorIfc; the filler is located via an OrderFillerFinderIfc or set directly via orderFiller.
Parameters
the supply-chain model whose order/demand factories are used
strategy that builds the order at each event
time until the first generation event
time between subsequent generation events
maximum number of events to generate
simulation time at which to stop generating
optional model-element name
See sc.inventorylayer.OrderGenerator
Inheritors
Constructors
Properties
Direct filler override; if set, used instead of orderFillerFinder.
Finder used to locate a filler for each generated order.
Functions
True if this sender may produce orders containing type.
Called when this generator's order is delivered. Default: no-op.
Called when this generator's order reaches the SupplyChainModel.orderReceived state. Default: asks the filler to fill the order.
Called when this generator's order is rejected. Default: throws IllegalStateException. Subclasses may override to handle.