|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object DailyInfo
public class DailyInfo
Stores all of the information sent to the agent at the beginning of the day.
Field Summary | |
---|---|
se.sics.tasim.props.BankStatus |
bankStatus
|
java.lang.String |
customerName
|
se.sics.tasim.props.OrderBundle |
customerOrders
|
se.sics.tasim.props.RFQBundle |
customerRFQs
|
int |
date
|
java.util.Vector |
deliveries
|
se.sics.tasim.props.InventoryStatus |
inventory
|
se.sics.tasim.props.MarketReport |
marketReport
|
se.sics.tasim.props.PriceReport |
priceReport
|
java.util.Vector |
supplierOffers
|
java.util.Vector |
supplierOfferSenders
|
Constructor Summary | |
---|---|
DailyInfo()
|
Method Summary | |
---|---|
void |
addDeliveryNotice(se.sics.tasim.props.DeliveryNotice dn)
Stores a delivery notice for components. |
void |
addSupplierOffer(se.sics.tasim.props.OfferBundle o,
java.lang.String sender)
Stores an offer from a supplier. |
void |
readFromXMLFile(java.lang.String fileName)
|
java.lang.String |
toString()
Summarizes the bank status only |
java.lang.String |
toVerboseString()
Summarizes all information received |
void |
writeToXMLFile(java.lang.String fileName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public se.sics.tasim.props.InventoryStatus inventory
public se.sics.tasim.props.RFQBundle customerRFQs
public se.sics.tasim.props.OrderBundle customerOrders
public java.util.Vector deliveries
public java.util.Vector supplierOffers
public java.util.Vector supplierOfferSenders
public int date
public se.sics.tasim.props.BankStatus bankStatus
public java.lang.String customerName
public se.sics.tasim.props.PriceReport priceReport
public se.sics.tasim.props.MarketReport marketReport
Constructor Detail |
---|
public DailyInfo()
Method Detail |
---|
public void addSupplierOffer(se.sics.tasim.props.OfferBundle o, java.lang.String sender)
o
- the offersender
- who sent itpublic void addDeliveryNotice(se.sics.tasim.props.DeliveryNotice dn)
dn
- the noticepublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toVerboseString()
public void writeToXMLFile(java.lang.String fileName)
public void readFromXMLFile(java.lang.String fileName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |