|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.upb.swtpra05.group03.companycontrol.ShuttleInformation
Storage Class which stores several Status Informations of a Shuttle.
| 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 |
private int shuttleID
private java.lang.String location
private int locationID
private java.lang.String locationtext
private int revenue
private int activity
private int margin
private boolean isMasterShuttle
private int ordercount
| Constructor Detail |
public ShuttleInformation()
| Method Detail |
public java.lang.String getLocation()
public void setLocation(java.lang.String location)
location - The location to set.public int getRevenue()
public void setRevenue(int revenue)
revenue - The revenue to set.public int getShuttleID()
public void setShuttleID(int shuttleID)
shuttleID - The shuttleID to set.public int getActivity()
public void setActivity(int activity)
activity - The activity to set.public int getOrdercount()
public void setOrdercount(int ordercount)
ordercount - The ordercount to set.public java.lang.String getLocationtext()
public void setLocationtext(java.lang.String locationtext)
locationtext - The locationtext to set.public int getLocationID()
public void setLocationID(int locationID)
locationID - The locationID to set.public boolean isMasterShuttle()
public void setMasterShuttle(boolean isMasterShuttle)
isMasterShuttle - The isMasterShuttle to set.public int getMargin()
public void setMargin(int margin)
margin - The margin to set.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||