|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.upb.swtpra05.group03.plugin.OrderNode
No comment provided by developer, please add a comment to improve documentation.
| Field Summary | |
private ExtendedOrder |
extendedOrder
No comment provided by developer, please add a comment to improve documentation. |
private int |
mode
Specifies which info of extendedOrder will be used to generate the string in toString() method -1 error, should not happen 0 id 1 startStationID 2 startStation 3 destinationStationID 4 destinationStation 5 penalty 6 profit 7 duration 8 destinationTimeLimit 9 numberOfPassengers 10 paymentMethod 11 NegotiationState as int 12 NegotiationState as string 13 ExecutionState as int 14 ExecutionState as string 15 BillingState as int 16 BillingState as string 99 Billingmethod + BillingState as string 100 id + major state (i.e. only the significant state gets displayed) 101 id + ExecutionState as string 102 id + major state + start to destination |
| Constructor Summary | |
OrderNode(ExtendedOrder newExtendedOrder,
int newMode)
Constructor for class OrderNode |
|
| Method Summary | |
java.lang.String |
calcTime(long simTime)
Converts the simulation time in some variables of the order into a string |
private java.lang.String |
getSignificantState(ExtendedOrder eO)
Get the significantState attribute of the OrderNode object |
java.lang.String |
toString()
Converts the information from the order to the type defined in the variable mode. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private ExtendedOrder extendedOrder
private int mode
| Constructor Detail |
public OrderNode(ExtendedOrder newExtendedOrder,
int newMode)
newExtendedOrder - the order from which this class should represent single informationnewMode - the information of the order this class should represent| Method Detail |
public java.lang.String toString()
private java.lang.String getSignificantState(ExtendedOrder eO)
eO - No description provided
public java.lang.String calcTime(long simTime)
simTime - the simulation time to convert
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||