Class ContainerLink

  • All Implemented Interfaces:
    java.lang.Comparable<ContainerLink>

    public class ContainerLink
    extends HibernateObject
    implements java.lang.Comparable<ContainerLink>
    This class represents the link between Container and StockLocation This identifies how much of each lot number resides on each pallet/container
    Author:
    SGSystems
    • Field Detail

      • container

        public Container container
        The container/pallet
      • stock

        public StockLocation stock
        The stock item which is contained within this pallet/container
      • quantity

        public java.lang.Double quantity
        The amount of the stock item that is contained within this pallet/container
      • serial

        public java.lang.Integer serial
        The serial number of this container
      • batch

        public Batch batch
        The batch associated with this containerlink
    • Constructor Detail

      • ContainerLink

        public ContainerLink()
    • Method Detail

      • getContainer

        public Container getContainer()
      • setContainer

        public void setContainer​(Container container)
      • getQuantity

        public java.lang.Double getQuantity()
      • getSerial

        public java.lang.Integer getSerial()
      • setQuantity

        public void setQuantity​(java.lang.Double quantity)
      • setSerial

        public void setSerial​(java.lang.Integer serial)
      • getBaseQuantity

        public java.lang.Double getBaseQuantity()
      • setBaseQuantity

        public void setBaseQuantity​(java.lang.Double baseQuantity)
      • getBatch

        public Batch getBatch()
      • setBatch

        public void setBatch​(Batch batch)
      • setUnit

        public void setUnit​(WeightUnit unit)
      • getScanned

        public java.lang.Boolean getScanned()
      • setScanned

        public void setScanned​(java.lang.Boolean scanned)
      • getAdjustedQuantity

        public java.lang.Double getAdjustedQuantity()
      • setAdjustedQuantity

        public void setAdjustedQuantity​(java.lang.Double adjustedQuantity)
      • getPrinted

        public java.lang.Integer getPrinted()
      • setPrinted

        public void setPrinted​(java.lang.Integer printed)
      • getAllergenList

        public java.lang.String getAllergenList()
      • setAllergenList

        public void setAllergenList​(java.lang.String allergenList)
      • appendAllergen

        public void appendAllergen​(java.lang.String allergen)
      • compareTo

        public int compareTo​(ContainerLink o)
        Specified by:
        compareTo in interface java.lang.Comparable<ContainerLink>
      • getMovementDate

        public java.util.Date getMovementDate()
      • setMovementDate

        public void setMovementDate​(java.util.Date movementDate)
      • isSortByMovementDate

        public boolean isSortByMovementDate()
      • setSortByMovementDate

        public void setSortByMovementDate​(boolean sortByMovementDate)
      • isSkipped

        public boolean isSkipped()
      • setSkipped

        public void setSkipped​(boolean skipped)
      • isSelected

        public boolean isSelected()
      • setSelected

        public void setSelected​(boolean isSelected)
      • getHoldList

        public java.lang.String getHoldList()
      • setHoldList

        public void setHoldList​(java.lang.String holdList)
      • getCollatedIntoBatch

        public Batch getCollatedIntoBatch()
      • setCollatedIntoBatch

        public void setCollatedIntoBatch​(Batch collatedIntoBatch)
      • getTotalWaveRequirement

        public java.lang.Double getTotalWaveRequirement()
      • setTotalWaveRequirement

        public void setTotalWaveRequirement​(java.lang.Double totalWaveRequirement)
      • isSortByExpiryThenQuantity

        public boolean isSortByExpiryThenQuantity()
      • setSortByExpiryThenQuantity

        public void setSortByExpiryThenQuantity​(boolean sortByExpiryThenQuantity)