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 int
inBounds
boolean value indicating whether the value was within rangejava.lang.Double
runningAverage
The running average to this point in the SPCRunint
sampleCount
The number in sequence that this sample wasSPCRun
spcRun
The SPCRun that the sample pertains toTerminal
terminal
java.util.Date
timestamp
The time when this sample was takenUser
user
The operator who performed the samplejava.lang.Double
weight
The 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 int
getInBounds()
java.lang.Double
getRunningAverage()
int
getSampleCount()
SPCRun
getSpcRun()
Terminal
getTerminal()
java.util.Date
getTimestamp()
User
getUser()
java.lang.Double
getWeight()
void
setInBounds(int inBounds)
void
setRunningAverage(java.lang.Double runningAverage)
void
setSampleCount(int sampleCount)
void
setSpcRun(SPCRun spcRun)
void
setTerminal(Terminal terminal)
void
setTimestamp(java.util.Date timestamp)
void
setUser(User user)
void
setWeight(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)
-
-