|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectswarm.BaseImpl
swarm.objectbase.SwarmObjectImpl
Order
The form containing our Order metaphoric object
Field Summary | |
int |
i
indexes used in a common way in the full version of jES |
int |
j
indexes used in a common way in the full version of jES |
int |
jj
indexes used in a common way in the full version of jES |
int |
k
indexes used in a common way in the full version of jES |
int |
orderNumber
the number of this order |
int[] |
orderRecipe
integer vector, containing the recipe steps |
int[] |
orderState
integer vector, recording the performed phases |
int[] |
r
incoming recipe structure; we make a local copy of it, from r0 which is in the constructor paramenter list, to r |
java.lang.String |
recipeName
the 'name' of the recipe (may be used by OrderDistiller, as a way to identify recipes |
int |
startingTimeUnit
the day in which the order as been generated |
int |
stepNumber
the number of steps in the product recipe |
Constructor Summary | |
Order(swarm.defobj.Zone aZone,
int n,
int sd,
int sn,
int[] r0,
ESFrameModelSwarm model)
the constructor for Order |
Method Summary | |
int |
getDoneStep()
production done step in Order (it is in the orderRecipe vector, at the index value in which we find the first 0 in orderState vector minus 1; if no step has been done, the method returns -999999) |
int |
getNextStep()
production next step in Order (it is in the orderRecipe vector, at the same index value in which we find the first 0 in orderState vector) |
float |
getNumberOfDirectStepsDone()
evaluate the number of direct steps done |
int |
getOrderNumber()
returning the orderNumber of this order |
int |
getOrderRecipe(int i)
getting the content of orderRecipe[i] |
int |
getOrderState(int i)
getting the content of orderState[i] |
java.lang.String |
getRecipeName()
retrieving the name of the recipe |
int |
getStartingTimeUnit()
returning the startingTimeUnit |
int |
getStepNumber()
returning the stepNumber |
void |
setDoneStep(int u)
Done step in Order |
void |
setRecipeName(java.lang.String s)
settinging the name of the recipe |
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 int stepNumber
public java.lang.String recipeName
public int orderNumber
public int startingTimeUnit
public int[] orderRecipe
public int[] orderState
public int i
public int j
public int jj
public int k
public int[] r
Constructor Detail |
public Order(swarm.defobj.Zone aZone, int n, int sd, int sn, int[] r0, ESFrameModelSwarm model)
Method Detail |
public int getNextStep()
public int getDoneStep()
public void setDoneStep(int u)
public int getOrderNumber()
public int getStepNumber()
public int getStartingTimeUnit()
public float getNumberOfDirectStepsDone()
public int getOrderRecipe(int i)
public int getOrderState(int i)
public void setRecipeName(java.lang.String s)
public java.lang.String getRecipeName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |