nl.tudelft.simulation.supplychain.reference
Class Manufacturer

java.lang.Object
  extended bynl.tudelft.simulation.actor.Actor
      extended bynl.tudelft.simulation.supplychain.actor.SupplyChainActor
          extended bynl.tudelft.simulation.supplychain.actor.Trader
              extended bynl.tudelft.simulation.supplychain.reference.Retailer
                  extended bynl.tudelft.simulation.supplychain.reference.DistributionCenter
                      extended bynl.tudelft.simulation.supplychain.reference.Manufacturer
All Implemented Interfaces:
nl.tudelft.simulation.actor.ActorInterface, nl.tudelft.simulation.content.HandlerInterface, nl.tudelft.simulation.dsol.animation.LocatableInterface, java.io.Serializable
Direct Known Subclasses:
Dell

public class Manufacturer
extends DistributionCenter


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 is proprietary information of Delft University of Technology.

Version:
$$Revision: 1.4 $$ $$Date: 2005/05/03 18:53:29 $$
Author:
Peter Jacobs , Alexander Verbraeck
See Also:
Serialized Form

Field Summary
 
Fields inherited from class nl.tudelft.simulation.supplychain.actor.Trader
stock
 
Fields inherited from class nl.tudelft.simulation.supplychain.actor.SupplyChainActor
bankAccount
 
Fields inherited from class nl.tudelft.simulation.actor.Actor
contentHandlers, location, locationDescription, name, receivingDevices, sendingDevices, simulator
 
Constructor Summary
Manufacturer(java.lang.String name, nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface simulator, javax.vecmath.Point3d position, Role[] roles, Bank bank)
           
Manufacturer(java.lang.String name, nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface simulator, javax.vecmath.Point3d position, Role[] roles, Bank bank, double initialBankAccount)
           
 
Method Summary
 void addProductionService(ProductionService productionService)
          Add a production service for the manufacturer
 java.util.List getEndProducts()
           
 java.util.List getRawMaterials()
           
 
Methods inherited from class nl.tudelft.simulation.supplychain.reference.Retailer
checkStock
 
Methods inherited from class nl.tudelft.simulation.supplychain.actor.Trader
getProductsOnStock, getStock, setInitialStock
 
Methods inherited from class nl.tudelft.simulation.supplychain.actor.SupplyChainActor
addFixedCost, addRole, calculateDistance, getBankAccount, getContentStore, getDEVSSimulator, getFixedCosts, handleContent, removeRole, scheduledSendContent, scheduledSendContent, sendContent, setContentStore
 
Methods inherited from class nl.tudelft.simulation.actor.Actor
addContentHandler, addReceivingDevice, addReceivingDevice, addSendingDevice, checkReceivingDevice, getBounds, getLocation, getLocationDescription, getName, getReceivingDevices, getReceivingDevices, getSendingDevices, getSendingDevices, getSimulator, getSimulatorTime, handleMessage, removeContentHandler, removeReceivingDevice, removeSendingDevice, resolveFastestDevice, setCheckInterval, setLocationDescription, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Manufacturer

public Manufacturer(java.lang.String name,
                    nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface simulator,
                    javax.vecmath.Point3d position,
                    Role[] roles,
                    Bank bank)
Parameters:
name - the name of the manufacturer
simulator - the simulator to use
position - the position on the map
roles - the initial roles (if any)
bank - the bank

Manufacturer

public Manufacturer(java.lang.String name,
                    nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface simulator,
                    javax.vecmath.Point3d position,
                    Role[] roles,
                    Bank bank,
                    double initialBankAccount)
Parameters:
name - the name of the manufacturer
simulator - the simulator to use
position - the position on the map
roles - the initial roles (if any)
bank - the bank
initialBankAccount - the initial bank balance
Method Detail

addProductionService

public void addProductionService(ProductionService productionService)
Add a production service for the manufacturer

Parameters:
productionService - the service to add

getRawMaterials

public java.util.List getRawMaterials()
Returns:
the raw materials

getEndProducts

public java.util.List getEndProducts()
Returns:
the end products


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