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

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

public class RFQData
extends ContentData

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

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
RFQData(nl.tudelft.simulation.supplychain.content.RequestForQuote rfq, nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
           
 
Method Summary
 double getAmount()
           
 DateIntData getCutOffDate()
           
 double getDistanceInKilometres()
           
 DateIntData getEarliestDelivery()
           
 java.io.Serializable getInternalDemandIdentifier()
           
 DateIntData getLatestDelivery()
           
 java.lang.String getProductName()
           
 nl.tudelft.simulation.supplychain.transport.TransportMode getTransPortMode()
           
 double getUnitPrice()
           
 double getUnitWeight()
           
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Constructor Detail

RFQData

public RFQData(nl.tudelft.simulation.supplychain.content.RequestForQuote rfq,
               nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
Parameters:
rfq - the request for quote
simulator - the simulator
Method Detail

getAmount

public double getAmount()
Returns:
Returns the amount.

getEarliestDelivery

public DateIntData getEarliestDelivery()
Returns:
Returns the earliestDelivery.

getLatestDelivery

public DateIntData getLatestDelivery()
Returns:
Returns the latestDelivery.

getCutOffDate

public DateIntData getCutOffDate()
Returns:
returns the cut off date

getProductName

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

getInternalDemandIdentifier

public java.io.Serializable getInternalDemandIdentifier()
Returns:
Returns the rfqIdentifier.

getUnitWeight

public double getUnitWeight()
Returns:
returns the unit weight

toString

public java.lang.String toString()
See Also:
Object.toString()

getUnitPrice

public double getUnitPrice()
Returns:
Returns the current unit price of the product

getTransPortMode

public nl.tudelft.simulation.supplychain.transport.TransportMode getTransPortMode()
Returns:
Returns the transport mode

getDistanceInKilometres

public double getDistanceInKilometres()
Returns:
Returns the distance in kilometres


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