|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectberth.Bid
Class for incapsulate the attributes related to a Bid Creates a Bid with related attributes The Bid is made when a Berth agent check its allocation possibilities for a given Ship
Berth, Ship
,
Serialized FormField Summary | |
int |
index
|
java.util.ArrayList |
shipToBeMoved
|
Constructor Summary | |
Bid(java.lang.String shipName,
int calculatedCost,
TimePoint suggestedArrivalTime,
TimePoint suggestedDeparture,
int index,
java.util.ArrayList shipToBeMoved)
Constructor for Bid Set the attributes from the parameters that are input to the constructor |
Method Summary | |
int |
getCalculatedCost()
Get-method for the calculatedCost attribute |
int |
getIndex()
Get-method for the index attribute |
java.lang.String |
getShip()
Get-method for the shipName attribute |
java.util.ArrayList |
getShipToMove()
Get-method for the shipToBeMoved list |
TimePoint |
getSuggestedArrivalTime()
Get-method for the suggestedArrivalTime attribute |
TimePoint |
getSuggestedDepartureTime()
Get-method for the suggestedDepartureTime attribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.util.ArrayList shipToBeMoved
public int index
Constructor Detail |
public Bid(java.lang.String shipName, int calculatedCost, TimePoint suggestedArrivalTime, TimePoint suggestedDeparture, int index, java.util.ArrayList shipToBeMoved)
Method Detail |
public java.lang.String getShip()
public int getCalculatedCost()
public TimePoint getSuggestedArrivalTime()
public TimePoint getSuggestedDepartureTime()
public int getIndex()
public java.util.ArrayList getShipToMove()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |