Class SPCSample


  • public class SPCSample
    extends HibernateObject
    This class represents a single sample taken during an SPCRun
    Author:
    SGSystems
    • Field Detail

      • spcRun

        public SPCRun spcRun
        The SPCRun that the sample pertains to
      • sampleCount

        public int sampleCount
        The number in sequence that this sample was
      • timestamp

        public java.util.Date timestamp
        The time when this sample was taken
      • weight

        public java.lang.Double weight
        The achieved weight of the sample
      • runningAverage

        public java.lang.Double runningAverage
        The running average to this point in the SPCRun
      • inBounds

        public int inBounds
        boolean value indicating whether the value was within range
      • user

        public User user
        The operator who performed the sample
    • Constructor Detail

      • SPCSample

        public SPCSample()
    • Method Detail

      • getSampleCount

        public int getSampleCount()
      • getTimestamp

        public java.util.Date getTimestamp()
      • getWeight

        public java.lang.Double getWeight()
      • getRunningAverage

        public java.lang.Double getRunningAverage()
      • setSampleCount

        public void setSampleCount​(int sampleCount)
      • setTimestamp

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

        public void setWeight​(java.lang.Double weight)
      • setRunningAverage

        public void setRunningAverage​(java.lang.Double runningAverage)
      • getSpcRun

        public SPCRun getSpcRun()
      • setSpcRun

        public void setSpcRun​(SPCRun spcRun)
      • getInBounds

        public int getInBounds()
      • setInBounds

        public void setInBounds​(int inBounds)
      • getUser

        public User getUser()
      • setUser

        public void setUser​(User user)
      • getTerminal

        public Terminal getTerminal()
      • setTerminal

        public void setTerminal​(Terminal terminal)