|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.powertac.common.BrokerTransaction
public abstract class BrokerTransaction
Superclass with common attributes for a number of transaction types.
| Field Summary | |
|---|---|
protected Broker |
broker
Whose transaction is this? |
protected long |
id
|
protected int |
postedTimeslot
The timeslot for which this meter reading is generated |
| Constructor Summary | |
|---|---|
BrokerTransaction(int timeslotIndex,
Broker broker)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@XStreamAsAttribute protected long id
@XStreamConverter(value=BrokerConverter.class) protected Broker broker
@XStreamAsAttribute protected int postedTimeslot
| Constructor Detail |
|---|
public BrokerTransaction(int timeslotIndex,
Broker broker)
| Method Detail |
|---|
public long getId()
public Broker getBroker()
public org.joda.time.Instant getPostedTime()
public int getPostedTimeslotIndex()
public Timeslot getPostedTimeslot()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||