Class Pack


  • public class Pack
    extends HibernateObject
    This class represents a serialized pack from production This class allows for each pack of a produced item to have it's own unique serial number This allows each individual pack to be traced on it's own
    Author:
    SGSystems
    • Constructor Detail

      • Pack

        public Pack()
    • Method Detail

      • getWeight

        public double getWeight()
      • getBatch

        public Batch getBatch()
      • setWeight

        public void setWeight​(double weight)
      • setBatch

        public void setBatch​(Batch batch)
      • getDateAllocated

        public java.util.Date getDateAllocated()
      • setDateAllocated

        public void setDateAllocated​(java.util.Date dateAllocated)
      • getEaches

        public double getEaches()
      • setEaches

        public void setEaches​(double eaches)
      • getConstituentLotNo

        public java.lang.String getConstituentLotNo()
      • setConstituentLotNo

        public void setConstituentLotNo​(java.lang.String constituentLotNo)
      • setUnit

        public void setUnit​(WeightUnit unit)
      • toString

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

        public Container getContainer()
      • setContainer

        public void setContainer​(Container container)
      • getTimestamp

        public java.util.Date getTimestamp()
      • setTimestamp

        public void setTimestamp​(java.util.Date timestamp)
      • getUser

        public User getUser()
      • setUser

        public void setUser​(User user)