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

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.OrderStandAloneData
All Implemented Interfaces:
java.io.Serializable

public class OrderStandAloneData
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:55 $
Author:
Stijn-Pieter van Houten
See Also:
Serialized Form

Constructor Summary
OrderStandAloneData(nl.tudelft.simulation.supplychain.content.OrderStandAlone order, nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
          constructs a new OrderBasedOnQuoteData
 
Method Summary
 double getAmount()
           
 double getPrice()
           
 java.lang.String getProductName()
           
 
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

OrderStandAloneData

public OrderStandAloneData(nl.tudelft.simulation.supplychain.content.OrderStandAlone 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

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.