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

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

public abstract class OrderData
extends ContentData

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
OrderData(nl.tudelft.simulation.supplychain.content.Order order, nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
          constructs a new OrderData
 
Method Summary
abstract  double getAmount()
           
 DateIntData getDeliveryDate()
           
 java.io.Serializable getInternalDemandID()
           
abstract  double getPrice()
           
abstract  java.lang.String getProductName()
           
 DateIntData 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

OrderData

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

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

getDeliveryDate

public DateIntData getDeliveryDate()
Returns:
Returns the deliveryDate.

getProposedShippingDate

public DateIntData getProposedShippingDate()
Returns:
Returns the proposed shipping date.

getInternalDemandID

public java.io.Serializable getInternalDemandID()
Returns:
Returns the internal demand id

getAmount

public abstract double getAmount()
Returns:
Returns the amount.

getPrice

public abstract double getPrice()
Returns:
Returns the price.

getProductName

public abstract java.lang.String getProductName()
Returns:
Returns the productName.


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