|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--swarm.BaseImpl | +--swarm.objectbase.SwarmObjectImpl | +--ProcurementAssembler
The ProcurementAssembler class instances are unit assembling the elements of a procurement process
Field Summary | |
int[] |
endUnitLabels
the vector of the labels fo the end units |
swarm.collections.ListImpl |
endUnitList
the list of end units |
int[] |
quantitiesInEndUnits
the vector of the quantities in the end units |
swarm.collections.ListImpl |
waitingList
the list of the order to be assembled with the procurements |
Constructor Summary | |
ProcurementAssembler(swarm.defobj.Zone aZone,
swarm.collections.ListImpl eul)
the constructor for ProcurementAssembler |
Method Summary | |
void |
checkingProcurementsAndFreeingOrders()
verifying procurements and eliminating the orders from our waitingList |
java.lang.String |
getLabel()
PTHistogramPlottable interface method: getLabel() |
double |
getValueToPlot()
PTHistogramPlottable interface method: getValueToPlot() |
int |
getWaitingListLength()
return the waiting list length |
boolean |
setProcurementWaitingList(Order anOrder)
adding an order to the waitingList |
void |
setUnit(Unit u)
setting the unit we are assembling for |
boolean |
thisOrderIsInTheWaitingList(Order o)
checking if an order is in the waitingList |
Methods inherited from class swarm.objectbase.SwarmObjectImpl |
compare, describe, describeID, drop, getCompleteProbeMap, getDisplayName, getName, getProbeForMessage, getProbeForVariable, getProbeMap, getTypeName, getZone, perform, perform$with, perform$with$with, perform$with$with$with, respondsTo, setDisplayName, xfprint, xfprintid, xprint, xprintid |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public swarm.collections.ListImpl waitingList
public swarm.collections.ListImpl endUnitList
public int[] quantitiesInEndUnits
public int[] endUnitLabels
Constructor Detail |
public ProcurementAssembler(swarm.defobj.Zone aZone, swarm.collections.ListImpl eul)
Method Detail |
public void setUnit(Unit u)
public boolean setProcurementWaitingList(Order anOrder)
public void checkingProcurementsAndFreeingOrders()
public int getWaitingListLength()
public boolean thisOrderIsInTheWaitingList(Order o)
public java.lang.String getLabel()
getLabel
in interface PTHistogramPlottable
public double getValueToPlot()
getValueToPlot
in interface PTHistogramPlottable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |