public class Order extends XStreamStateLoggable
| Modifier | Constructor and Description |
|---|---|
protected |
Order() |
|
Order(Broker broker,
int timeslot,
double mWh,
Double limitPrice)
Creates a new Order for Broker to buy or sell a quantity of energy
in Timeslot.
|
|
Order(Broker broker,
Timeslot timeslot,
double mWh,
Double limitPrice)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Broker |
getBroker() |
long |
getId() |
Double |
getLimitPrice()
Setter for logtool access; do not use otherwise
|
Double |
getMWh() |
Timeslot |
getTimeslot() |
int |
getTimeslotIndex() |
String |
toString() |
readResolvepublic Order(Broker broker, int timeslot, double mWh, Double limitPrice)
@Deprecated public Order(Broker broker, Timeslot timeslot, double mWh, Double limitPrice)
protected Order()
Copyright © 2014. All Rights Reserved.