org.gscg.singleuser.handlers
Class LatLonOrderHandlerStock

java.lang.Object
  extended bynl.tudelft.simulation.content.Handler
      extended bynl.tudelft.simulation.supplychain.handlers.SupplyChainHandler
          extended bynl.tudelft.simulation.supplychain.handlers.OrderHandler
              extended byorg.gscg.singleuser.handlers.LatLonOrderHandlerStock
All Implemented Interfaces:
nl.tudelft.simulation.content.HandlerInterface, java.io.Serializable

public class LatLonOrderHandlerStock
extends nl.tudelft.simulation.supplychain.handlers.OrderHandler

(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.1 $ $Date: 2005/08/03 08:52:50 $
Author:
Stijn-Pieter van Houten
See Also:
Serialized Form

Field Summary
 
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
 
Constructor Summary
LatLonOrderHandlerStock(nl.tudelft.simulation.supplychain.actor.SupplyChainActor owner, nl.tudelft.simulation.supplychain.stock.StockInterface stock)
          constructs a new LatLonOrderHandlerStock
 
Method Summary
 boolean handleContent(java.io.Serializable content)
           
protected  void ship(nl.tudelft.simulation.supplychain.content.Order order)
          Pick and ship the goods.
 
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
 

Constructor Detail

LatLonOrderHandlerStock

public LatLonOrderHandlerStock(nl.tudelft.simulation.supplychain.actor.SupplyChainActor owner,
                               nl.tudelft.simulation.supplychain.stock.StockInterface stock)
constructs a new LatLonOrderHandlerStock

Parameters:
owner -
stock -
Method Detail

handleContent

public boolean handleContent(java.io.Serializable content)
See Also:
HandlerInterface.handleContent(java.io.Serializable)

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.