Package com.sgs.common.database
Class SPCSample
- java.lang.Object
-
- com.sgs.common.database.HibernateObject
-
- com.sgs.common.database.SPCSample
-
public class SPCSample extends HibernateObject
This class represents a single sample taken during anSPCRun- Author:
- SGSystems
-
-
Field Summary
Fields Modifier and Type Field Description intinBoundsboolean value indicating whether the value was within rangejava.lang.DoublerunningAverageThe running average to this point in the SPCRunintsampleCountThe number in sequence that this sample wasSPCRunspcRunThe SPCRun that the sample pertains toTerminalterminaljava.util.DatetimestampThe time when this sample was takenUseruserThe operator who performed the samplejava.lang.DoubleweightThe achieved weight of the sample-
Fields inherited from class com.sgs.common.database.HibernateObject
ID
-
-
Constructor Summary
Constructors Constructor Description SPCSample()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetInBounds()java.lang.DoublegetRunningAverage()intgetSampleCount()SPCRungetSpcRun()TerminalgetTerminal()java.util.DategetTimestamp()UsergetUser()java.lang.DoublegetWeight()voidsetInBounds(int inBounds)voidsetRunningAverage(java.lang.Double runningAverage)voidsetSampleCount(int sampleCount)voidsetSpcRun(SPCRun spcRun)voidsetTerminal(Terminal terminal)voidsetTimestamp(java.util.Date timestamp)voidsetUser(User user)voidsetWeight(java.lang.Double weight)-
Methods inherited from class com.sgs.common.database.HibernateObject
getExported, getID, isDontSave, isModified, setDontSave, setExported, setID, setModified
-
-
-
-
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
-
terminal
public Terminal terminal
-
-
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)
-
-