public abstract class BrokerTransaction extends XStreamStateLoggable
Modifier and Type | Field and Description |
---|---|
protected Broker |
broker
Whose transaction is this?
|
protected long |
id |
protected int |
postedTimeslot
The timeslot for which this meter reading is generated
|
Constructor and Description |
---|
BrokerTransaction(int timeslotIndex,
Broker broker) |
Modifier and Type | Method and Description |
---|---|
Broker |
getBroker()
The Broker to whom this Transaction applies.
|
long |
getId() |
org.joda.time.Instant |
getPostedTime()
When this Transaction was posted.
|
Timeslot |
getPostedTimeslot()
Timeslot when transaction was posted
|
int |
getPostedTimeslotIndex()
Timeslot index when transaction was posted.
|
readResolve
@XStreamAsAttribute protected long id
@XStreamConverter(value=BrokerConverter.class) protected Broker broker
@XStreamAsAttribute protected int postedTimeslot
public BrokerTransaction(int timeslotIndex, Broker broker)
public long getId()
public Broker getBroker()
public org.joda.time.Instant getPostedTime()
public int getPostedTimeslotIndex()
public Timeslot getPostedTimeslot()
Copyright © 2019 Power TAC. All rights reserved.