Class Recipe

java.lang.Object
  |
  +--swarm.BaseImpl
        |
        +--swarm.objectbase.SwarmObjectImpl
              |
              +--Recipe
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 Recipe
extends swarm.objectbase.SwarmObjectImpl

This class is used to record the recipes and their referring number (ID), so we can assign them to a List


Field Summary
 java.lang.String backslash
          Flags to operate checks while reading
 java.lang.String checkTheCell
          Flags to operate checks while reading
 java.lang.String computation
          Flags to operate checks while reading
 java.lang.String end
          Flags to operate checks while reading
 java.lang.String gate
          Flags to operate checks while reading
 java.lang.String min
          Flags to operate checks while reading
 java.lang.String or
          Flags to operate checks while reading
 java.lang.String p
          Flags to operate checks while reading
 java.lang.String sec
          Flags to operate checks while reading
 java.lang.String semicolon
          Flags to operate checks while reading
 java.lang.String slash
          Flags to operate checks while reading
 
Constructor Summary
Recipe(swarm.defobj.Zone aZone, int c, int l, java.lang.String rN)
           
 
Method Summary
 void computation(ExcelReader e)
          This method dial with the computation choice
 void end(ExcelReader e)
          This method dial with the end choice
 int errorIsNotAnInteger(ExcelReader e)
          This method is used to check if a type error occur
 void errorIsNotAString(ExcelReader e)
          This method is used to check if a type error occur
 java.lang.String getCheckTheCell()
           
 int getCodeNumber()
           
 int getLength()
           
 int[] getOrderRecipe()
           
 java.lang.String getRecipeName()
           
 void minute(ExcelReader e, int step)
           
 void number(ExcelReader e)
          This method dial with normal or batch choice
 void oR(ExcelReader e)
          This method dial with the or choice
 void procurement(ExcelReader e)
          This method dial with the procurement choice
 void second(ExcelReader e, int step)
           
 void setSteps(java.lang.String cTC, ExcelReader recipeWorksheet)
           
 
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

semicolon

public java.lang.String semicolon
Flags to operate checks while reading


checkTheCell

public java.lang.String checkTheCell
Flags to operate checks while reading


gate

public java.lang.String gate
Flags to operate checks while reading


p

public java.lang.String p
Flags to operate checks while reading


end

public java.lang.String end
Flags to operate checks while reading


sec

public java.lang.String sec
Flags to operate checks while reading


min

public java.lang.String min
Flags to operate checks while reading


slash

public java.lang.String slash
Flags to operate checks while reading


backslash

public java.lang.String backslash
Flags to operate checks while reading


or

public java.lang.String or
Flags to operate checks while reading


computation

public java.lang.String computation
Flags to operate checks while reading

Constructor Detail

Recipe

public Recipe(swarm.defobj.Zone aZone,
              int c,
              int l,
              java.lang.String rN)
Method Detail

getCodeNumber

public int getCodeNumber()

getOrderRecipe

public int[] getOrderRecipe()

getLength

public int getLength()

getRecipeName

public java.lang.String getRecipeName()

setSteps

public void setSteps(java.lang.String cTC,
                     ExcelReader recipeWorksheet)

getCheckTheCell

public java.lang.String getCheckTheCell()

errorIsNotAnInteger

public int errorIsNotAnInteger(ExcelReader e)
This method is used to check if a type error occur


errorIsNotAString

public void errorIsNotAString(ExcelReader e)
This method is used to check if a type error occur


computation

public void computation(ExcelReader e)
This method dial with the computation choice


procurement

public void procurement(ExcelReader e)
This method dial with the procurement choice


oR

public void oR(ExcelReader e)
This method dial with the or choice


end

public void end(ExcelReader e)
This method dial with the end choice


number

public void number(ExcelReader e)
This method dial with normal or batch choice


second

public void second(ExcelReader e,
                   int step)

minute

public void minute(ExcelReader e,
                   int step)