de.upb.swtpra05.group03.companycontrol
Class ShuttleInformation

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

public class ShuttleInformation
extends java.lang.Object

Storage Class which stores several Status Informations of a Shuttle.

Version:
$Revision: 1.3 $

Field Summary
private  int activity
          Overall Activity of this Shuttle.
private  boolean isMasterShuttle
          Is this Shuttle the MasterShuttle?
private  java.lang.String location
          the current position of the shuttle
private  int locationID
          the ID of the current position of the shuttle
private  java.lang.String locationtext
          the Text that will be shown in the Table Column Location
private  int margin
          Profit in percentage
private  int ordercount
          Number of Orders the Shuttle actually is assigned to
private  int revenue
          the current sales revenue of the shuttle at its position
private  int shuttleID
          the ID of the shuttle
 
Constructor Summary
ShuttleInformation()
           
 
Method Summary
 int getActivity()
           
 java.lang.String getLocation()
           
 int getLocationID()
           
 java.lang.String getLocationtext()
           
 int getMargin()
           
 int getOrdercount()
           
 int getRevenue()
           
 int getShuttleID()
           
 boolean isMasterShuttle()
           
 void setActivity(int activity)
           
 void setLocation(java.lang.String location)
           
 void setLocationID(int locationID)
           
 void setLocationtext(java.lang.String locationtext)
           
 void setMargin(int margin)
           
 void setMasterShuttle(boolean isMasterShuttle)
           
 void setOrdercount(int ordercount)
           
 void setRevenue(int revenue)
           
 void setShuttleID(int shuttleID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

shuttleID

private int shuttleID
the ID of the shuttle


location

private java.lang.String location
the current position of the shuttle


locationID

private int locationID
the ID of the current position of the shuttle


locationtext

private java.lang.String locationtext
the Text that will be shown in the Table Column Location


revenue

private int revenue
the current sales revenue of the shuttle at its position


activity

private int activity
Overall Activity of this Shuttle. Lies between 0 - 100 %


margin

private int margin
Profit in percentage


isMasterShuttle

private boolean isMasterShuttle
Is this Shuttle the MasterShuttle?


ordercount

private int ordercount
Number of Orders the Shuttle actually is assigned to

Constructor Detail

ShuttleInformation

public ShuttleInformation()
Method Detail

getLocation

public java.lang.String getLocation()
Returns:
Returns the location.

setLocation

public void setLocation(java.lang.String location)
Parameters:
location - The location to set.

getRevenue

public int getRevenue()
Returns:
Returns the revenue.

setRevenue

public void setRevenue(int revenue)
Parameters:
revenue - The revenue to set.

getShuttleID

public int getShuttleID()
Returns:
Returns the shuttleID.

setShuttleID

public void setShuttleID(int shuttleID)
Parameters:
shuttleID - The shuttleID to set.

getActivity

public int getActivity()
Returns:
Returns the activity.

setActivity

public void setActivity(int activity)
Parameters:
activity - The activity to set.

getOrdercount

public int getOrdercount()
Returns:
Returns the ordercount.

setOrdercount

public void setOrdercount(int ordercount)
Parameters:
ordercount - The ordercount to set.

getLocationtext

public java.lang.String getLocationtext()
Returns:
Returns the locationtext.

setLocationtext

public void setLocationtext(java.lang.String locationtext)
Parameters:
locationtext - The locationtext to set.

getLocationID

public int getLocationID()
Returns:
Returns the locationID.

setLocationID

public void setLocationID(int locationID)
Parameters:
locationID - The locationID to set.

isMasterShuttle

public boolean isMasterShuttle()
Returns:
Returns the isMasterShuttle.

setMasterShuttle

public void setMasterShuttle(boolean isMasterShuttle)
Parameters:
isMasterShuttle - The isMasterShuttle to set.

getMargin

public int getMargin()
Returns:
Returns the margin.

setMargin

public void setMargin(int margin)
Parameters:
margin - The margin to set.