Class JobLine


  • public class JobLine
    extends HibernateObject
    This class represents a portion of a Job that is to be completed at a location. A job may schedule a top level finished product while the scheduler may decide that in order to make that finished product, several other formulas must be made first. These form what are the job lines. The relevant jobs that need to be completed to complete the overall job.
    Author:
    SGSystems
    • Field Detail

      • job

        public Job job
        The job that this job line belongs to
      • status

        public int status
        The status of the job line. See Job.JobStatus
      • statusReason

        public java.lang.String statusReason
      • batchesRequired

        public int batchesRequired
        The number of batches required for this job line.
      • batchesInProgress

        public int batchesInProgress
        The batches in progress on this job line
      • batchesCompleted

        public int batchesCompleted
        The batches completed for this job line
      • products

        public java.lang.Double products
        The number of products scheduled for this job line. This affects the size of the batches produced
      • formula

        public Formula formula
        The formula to be executed for this job line
      • productionDate

        public java.util.Date productionDate
        The desired production date for this job line
      • bulksComplete

        public java.lang.Integer bulksComplete
        Indicates whether bulks, remainder or both have been completed for this job line
      • overriddenPalletSeq

        public java.lang.Integer overriddenPalletSeq
        The starting sequence for pallets produced by this batch
      • countPerCarton

        public java.lang.Double countPerCarton
      • scheduledFromPlanning

        public java.lang.Integer scheduledFromPlanning
        If the Job Line has been scheduled from the Planning module
      • plannedMix

        public java.lang.Integer plannedMix
    • Constructor Detail

      • JobLine

        public JobLine()
    • Method Detail

      • getJob

        public Job getJob()
      • getStatus

        public int getStatus()
      • getBatchesRequired

        public int getBatchesRequired()
      • getBatchesInProgress

        public int getBatchesInProgress()
      • getBatchesCompleted

        public int getBatchesCompleted()
      • getProducts

        public java.lang.Double getProducts()
      • getFormula

        public Formula getFormula()
      • getStatusReason

        public java.lang.String getStatusReason()
      • setJob

        public void setJob​(Job job)
      • setStatusReason

        public void setStatusReason​(java.lang.String statusReason)
      • setStatus

        public void setStatus​(int status)
      • setBatchesRequired

        public void setBatchesRequired​(int batchesRequired)
      • setBatchesInProgress

        public void setBatchesInProgress​(int batchesInProgress)
      • setBatchesCompleted

        public void setBatchesCompleted​(int batchesCompleted)
      • setProducts

        public void setProducts​(java.lang.Double products)
      • setFormula

        public void setFormula​(Formula formula)
      • setPreBatchList

        public void setPreBatchList​(java.util.List<PreBatch> preBatchList)
      • getPreBatchList

        public java.util.List<PreBatch> getPreBatchList()
      • getBatchesRemaining

        public int getBatchesRemaining()
      • getLineLevel

        public int getLineLevel()
      • setLineLevel

        public void setLineLevel​(int lineLevel)
      • getLocation

        public java.lang.String getLocation()
      • setLocation

        public void setLocation​(java.lang.String code)
      • isAllergenPresent

        public java.lang.Boolean isAllergenPresent()
      • getOverridenLocation

        public Location getOverridenLocation()
      • setOverridenLocation

        public void setOverridenLocation​(Location overridenLocation)
      • getFlatAddition

        public int getFlatAddition()
      • setFlatAddition

        public void setFlatAddition​(int flatAddition)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getStatusStr

        public java.lang.String getStatusStr()
      • getExecutionTerminal

        public Terminal getExecutionTerminal()
      • setExecutionTerminal

        public void setExecutionTerminal​(Terminal executionTerminal)
      • getProductionDate

        public java.util.Date getProductionDate()
      • setProductionDate

        public void setProductionDate​(java.util.Date productionDate)
      • getBulksComplete

        public java.lang.Integer getBulksComplete()
      • setBulksComplete

        public void setBulksComplete​(java.lang.Integer bulksComplete)
      • isSelected

        public boolean isSelected()
      • setSelected

        public void setSelected​(boolean selected)
      • getBulkBatchesDone

        public java.lang.Integer getBulkBatchesDone()
      • setBulkBatchesDone

        public void setBulkBatchesDone​(java.lang.Integer bulkBatchesDone)
      • getRemainderBatchesDone

        public java.lang.Integer getRemainderBatchesDone()
      • setRemainderBatchesDone

        public void setRemainderBatchesDone​(java.lang.Integer remainderBatchesDone)
      • getOverriddenPalletSeq

        public java.lang.Integer getOverriddenPalletSeq()
      • setOverriddenPalletSeq

        public void setOverriddenPalletSeq​(java.lang.Integer overriddenPalletSeq)
      • getScheduledFromPlanning

        public java.lang.Integer getScheduledFromPlanning()
      • setScheduledFromPlanning

        public void setScheduledFromPlanning​(java.lang.Integer scheduledFromPlanning)
      • getPlannedMix

        public java.lang.Integer getPlannedMix()
      • setPlannedMix

        public void setPlannedMix​(java.lang.Integer plannedMix)