nl.tudelft.simulation.supplychain.handlers
Class ProductionOrderHandler

java.lang.Object
  extended bynl.tudelft.simulation.content.Handler
      extended bynl.tudelft.simulation.supplychain.handlers.SupplyChainHandler
          extended bynl.tudelft.simulation.supplychain.handlers.ProductionOrderHandler
All Implemented Interfaces:
nl.tudelft.simulation.content.HandlerInterface, java.io.Serializable

public class ProductionOrderHandler
extends SupplyChainHandler

Handles ProductionOrders.

(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.0.8
Version:
$Revision: 1.2 $ $Date: 2005/08/10 11:23:17 $
Author:
Stijn-Pieter van Houten
See Also:
Serialized Form

Field Summary
 
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
ProductionOrderHandler(SupplyChainActor owner, Production production)
          constructs a new ProductionOrderHandler
 
Method Summary
protected  boolean checkContentClass(java.io.Serializable content)
          Check whether the content is of the right type for this handler
 Production getProduction()
          Method getProduction
 boolean handleContent(java.io.Serializable content)
           
 
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

ProductionOrderHandler

public ProductionOrderHandler(SupplyChainActor owner,
                              Production production)
constructs a new ProductionOrderHandler

Parameters:
owner - the owner of the production order handler
production - the production facility
Method Detail

checkContentClass

protected boolean checkContentClass(java.io.Serializable content)
Description copied from class: SupplyChainHandler
Check whether the content is of the right type for this handler

Specified by:
checkContentClass in class SupplyChainHandler
Parameters:
content - the content to check
Returns:
whether type is right or not
See Also:
SupplyChainHandler.checkContentClass(java.io.Serializable)

handleContent

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

getProduction

public Production getProduction()
Method getProduction

Returns:
returns the production


Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.