org.gscg.singleuser.interactionlayer.dataobjects.content
Class OrderBasedOnQuoteData

java.lang.Object
  extended byorg.gscg.singleuser.interactionlayer.dataobjects.content.ContentData
      extended byorg.gscg.singleuser.interactionlayer.dataobjects.content.OrderData
          extended byorg.gscg.singleuser.interactionlayer.dataobjects.content.OrderBasedOnQuoteData
All Implemented Interfaces:
java.io.Serializable

public class OrderBasedOnQuoteData
extends OrderData

Contains data for an order. This object is send to a client-side graphical user interface and is used to update information related to an order.

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.

Since:
1.0.0
Version:
$Revision: 1.1 $ $Date: 2005/06/16 12:33:56 $
Author:
Stijn-Pieter van Houten
See Also:
Serialized Form

Constructor Summary
OrderBasedOnQuoteData(nl.tudelft.simulation.supplychain.content.OrderBasedOnQuote order, nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
          constructs a new OrderBasedOnQuoteData
 
Method Summary
 double getAmount()
           
 double getPrice()
           
 java.lang.String getProductName()
           
 QuoteData getQuoteData()
           
 
Methods inherited from class org.gscg.singleuser.interactionlayer.dataobjects.content.OrderData
getDeliveryDate, getInternalDemandID, getProposedShippingDate
 
Methods inherited from class org.gscg.singleuser.interactionlayer.dataobjects.content.ContentData
getReceiverLocationDescription, getReceiverName, getSenderLocationDescription, getSenderName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderBasedOnQuoteData

public OrderBasedOnQuoteData(nl.tudelft.simulation.supplychain.content.OrderBasedOnQuote order,
                             nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
constructs a new OrderBasedOnQuoteData

Parameters:
order - the order to extract data from
simulator - the simulator
Method Detail

getQuoteData

public QuoteData getQuoteData()
Returns:
Returns the quoteData.

getAmount

public double getAmount()
Specified by:
getAmount in class OrderData
Returns:
Returns the amount.
See Also:
OrderData.getAmount()

getPrice

public double getPrice()
Specified by:
getPrice in class OrderData
Returns:
Returns the price.
See Also:
OrderData.getPrice()

getProductName

public java.lang.String getProductName()
Specified by:
getProductName in class OrderData
Returns:
Returns the productName.
See Also:
OrderData.getProductName()


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