org.gscg.singleuser.handlers
Class PCShopOrderHandlerMake
java.lang.Object
nl.tudelft.simulation.content.Handler
nl.tudelft.simulation.supplychain.handlers.SupplyChainHandler
nl.tudelft.simulation.supplychain.handlers.OrderHandler
org.gscg.singleuser.handlers.PCShopOrderHandlerMake
- All Implemented Interfaces:
- nl.tudelft.simulation.content.HandlerInterface, java.io.Serializable
- public class PCShopOrderHandlerMake
- extends nl.tudelft.simulation.supplychain.handlers.OrderHandler
A production handler is able to generate products for stock with a certain
interval. Ideally this one is used by a supplier and simulates the products
process. Furthermore this handler is able to chance its production pattern
(time, amount).
(c) copyright 2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
Delft, the Netherlands. All rights reserved.
See for project information
www.simulation.tudelft.nl .
The source code and binary code of this software are proprietary information
of Delft University of Technology.
- Since:
- 1.1.10
- Version:
- $Revision: 1.2 $ $Date: 2005/08/09 15:43:41 $
- Author:
- Stijn-Pieter
van Houten
- See Also:
- Serialized Form
Fields inherited from class nl.tudelft.simulation.supplychain.handlers.OrderHandler |
SHIPMENT_AFTER_PAYMENT, SHIPMENT_BEFORE_PAYMENT, SHIPMENT_WITH_PAYMENT, stock |
Fields inherited from class nl.tudelft.simulation.supplychain.handlers.SupplyChainHandler |
owner, validPartners, validProducts |
Fields inherited from class nl.tudelft.simulation.content.Handler |
stream |
Methods inherited from class nl.tudelft.simulation.supplychain.handlers.OrderHandler |
checkContentClass |
Methods inherited from class nl.tudelft.simulation.supplychain.handlers.SupplyChainHandler |
addValidPartner, addValidProduct, checkContent, getValidPartners, getValidProducts, isValidContent, setValidPartners, setValidProducts |
Methods inherited from class nl.tudelft.simulation.content.Handler |
getStream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PCShopOrderHandlerMake
public PCShopOrderHandlerMake(nl.tudelft.simulation.supplychain.actor.Trader trader,
ProductionSchedule[] schedules)
- constructs a new PCShopOrderHandlerMake
- Parameters:
trader
- the traderschedules
- the schedules
handleContent
public boolean handleContent(java.io.Serializable content)
- See Also:
HandlerInterface.handleContent(java.io.Serializable)
getSchedules
public ProductionSchedule[] getSchedules()
- Returns:
- returns the schedules
ship
protected void ship(nl.tudelft.simulation.supplychain.content.Order order)
- Pick and ship the goods.
- Parameters:
order
- the order that should be handled
Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.