de.upb.swtpra05.group03.companycontrol
Class OrderInformation

java.lang.Object
  extended byde.upb.swtpra05.group03.companycontrol.OrderInformation

public class OrderInformation
extends java.lang.Object

A Information Class for Orders which is generated each Time a Order is available at a Station.

Version:
$Revision: 1.3 $

Field Summary
private  int orderID
          the ID of the Order
private  int startStationID
          the start station of the order
 
Constructor Summary
OrderInformation(int orderID, int stationID)
           
 
Method Summary
 int getOrderID()
           
 int getStartStationID()
           
 void setOrderID(int orderID)
           
 void setStartStationID(int startStationID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

orderID

private int orderID
the ID of the Order


startStationID

private int startStationID
the start station of the order

Constructor Detail

OrderInformation

public OrderInformation(int orderID,
                        int stationID)
Parameters:
orderID -
stationID -
Method Detail

getOrderID

public int getOrderID()
Returns:
Returns the orderID.

setOrderID

public void setOrderID(int orderID)
Parameters:
orderID - The orderID to set.

getStartStationID

public int getStartStationID()
Returns:
Returns the startStationID.

setStartStationID

public void setStartStationID(int startStationID)
Parameters:
startStationID - The startStationID to set.