Class StandAloneBatchSpecificationSet

java.lang.Object
  |
  +--swarm.BaseImpl
        |
        +--swarm.objectbase.SwarmObjectImpl
              |
              +--StandAloneBatchSpecificationSet
All Implemented Interfaces:
swarm.defobj.Create, swarm.defobj.CreateS, swarm.defobj.Customize, swarm.defobj.CustomizeS, swarm.defobj.DefinedObject, swarm.defobj.DefinedObjectS, swarm.defobj.Drop, swarm.defobj.DropS, swarm.defobj.GetName, swarm.defobj.GetNameS, swarm.objectbase.SwarmObject, swarm.objectbase.SwarmObjectS

public class StandAloneBatchSpecificationSet
extends swarm.objectbase.SwarmObjectImpl

The container generated by an order and containing the spefications about a stand alone batch process

Author:
Pietro Terna

Field Summary
 int myOrderNumber
          number (i.e. that of the order which has generated this object
 int pos
          the position of this sequence in the recipe
 int productionTimeInTicks
          the specifications
 
Constructor Summary
StandAloneBatchSpecificationSet(swarm.defobj.Zone aZone, int n, int p)
          constructor for StandAloneBatchSpecificationSet
 
Method Summary
 int decreaseProductionTime()
          decrease production time
 int getNumber()
          returning the number of the order of this procurement specification
 int getPositionInRecipe()
          returning the position of this procurement specification into its recipe
 void setSpecifications(int k)
          setting the stand alone batch specifications
 
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

myOrderNumber

public int myOrderNumber
number (i.e. that of the order which has generated this object

pos

public int pos
the position of this sequence in the recipe

productionTimeInTicks

public int productionTimeInTicks
the specifications
Constructor Detail

StandAloneBatchSpecificationSet

public StandAloneBatchSpecificationSet(swarm.defobj.Zone aZone,
                                       int n,
                                       int p)
constructor for StandAloneBatchSpecificationSet
Method Detail

setSpecifications

public void setSpecifications(int k)
setting the stand alone batch specifications

decreaseProductionTime

public int decreaseProductionTime()
decrease production time

getNumber

public int getNumber()
returning the number of the order of this procurement specification

getPositionInRecipe

public int getPositionInRecipe()
returning the position of this procurement specification into its recipe