Package com.sgs.common.database
Class ChecksQuestion
- java.lang.Object
-
- com.sgs.common.database.HibernateObject
-
- com.sgs.common.database.ChecksQuestion
-
public class ChecksQuestion extends HibernateObject
This class represents a question which can be asked through aQALink
Questions can also be links or image capture events- Author:
- SGSystems
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChecksQuestion.Type
The target that is compared to the checks response.
-
Field Summary
Fields Modifier and Type Field Description int
allowCustom
Boolean indicating whether a custom response can be provided (typed and not selected)ChecksTemplates
checksTemplate
The ChecksTemplates that is associated with the check.java.lang.Integer
dateOffset
The upper tolerance that is used when responding to the check.java.lang.Double
lowerTol
0 = Checks, 1 = Asset Taskjava.lang.String
question
java.lang.String
specification
Specification for the Operator to view responding to the check.java.lang.Double
target
The offset that is used when entering a date in daysjava.lang.String
textColor
Overrides the color of the textint
type
The ChecksTemplates that is associated with the check.java.lang.Double
upperTol
The lower tolerance that is used when responding to the check.-
Fields inherited from class com.sgs.common.database.HibernateObject
ID
-
-
Constructor Summary
Constructors Constructor Description ChecksQuestion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Color
getActualTextColor()
int
getAllowCustom()
ChecksTemplates
getChecksTemplate()
java.lang.Integer
getDateOffset()
java.util.Date
getDeleted()
java.lang.Double
getLowerTol()
java.lang.String
getQuestion()
java.lang.String
getSpecification()
java.lang.Double
getTarget()
java.lang.String
getTextColor()
int
getType()
java.lang.Double
getUpperTol()
void
setActualTextColor(java.awt.Color color)
void
setAllowCustom(int allowCustom)
void
setChecksTemplate(ChecksTemplates checksTemplate)
void
setDateOffset(java.lang.Integer dateOffset)
void
setDeleted(java.util.Date deleted)
void
setLowerTol(java.lang.Double lowerTol)
void
setQuestion(java.lang.String question)
void
setSpecification(java.lang.String specification)
void
setTarget(java.lang.Double target)
void
setTextColor(java.lang.String textColor)
void
setType(int type)
void
setUpperTol(java.lang.Double upperTol)
java.lang.String
toString()
-
Methods inherited from class com.sgs.common.database.HibernateObject
getExported, getID, isDontSave, isModified, setDontSave, setExported, setID, setModified
-
-
-
-
Field Detail
-
question
public java.lang.String question
-
allowCustom
public int allowCustom
Boolean indicating whether a custom response can be provided (typed and not selected)
-
textColor
public java.lang.String textColor
Overrides the color of the text
-
specification
public java.lang.String specification
Specification for the Operator to view responding to the check.
-
checksTemplate
public ChecksTemplates checksTemplate
The ChecksTemplates that is associated with the check.
-
type
public int type
The ChecksTemplates that is associated with the check.
-
lowerTol
public java.lang.Double lowerTol
0 = Checks, 1 = Asset Task
-
upperTol
public java.lang.Double upperTol
The lower tolerance that is used when responding to the check.
-
dateOffset
public java.lang.Integer dateOffset
The upper tolerance that is used when responding to the check.
-
target
public java.lang.Double target
The offset that is used when entering a date in days
-
-
Method Detail
-
getDeleted
public java.util.Date getDeleted()
-
setDeleted
public void setDeleted(java.util.Date deleted)
-
getTextColor
public java.lang.String getTextColor()
-
setTextColor
public void setTextColor(java.lang.String textColor)
-
getActualTextColor
public java.awt.Color getActualTextColor()
-
setActualTextColor
public void setActualTextColor(java.awt.Color color)
-
getSpecification
public java.lang.String getSpecification()
-
setSpecification
public void setSpecification(java.lang.String specification)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getQuestion
public java.lang.String getQuestion()
-
setQuestion
public void setQuestion(java.lang.String question)
-
getAllowCustom
public int getAllowCustom()
-
setAllowCustom
public void setAllowCustom(int allowCustom)
-
getChecksTemplate
public ChecksTemplates getChecksTemplate()
-
setChecksTemplate
public void setChecksTemplate(ChecksTemplates checksTemplate)
-
getType
public int getType()
-
setType
public void setType(int type)
-
getLowerTol
public java.lang.Double getLowerTol()
-
setLowerTol
public void setLowerTol(java.lang.Double lowerTol)
-
getUpperTol
public java.lang.Double getUpperTol()
-
setUpperTol
public void setUpperTol(java.lang.Double upperTol)
-
getDateOffset
public java.lang.Integer getDateOffset()
-
setDateOffset
public void setDateOffset(java.lang.Integer dateOffset)
-
getTarget
public java.lang.Double getTarget()
-
setTarget
public void setTarget(java.lang.Double target)
-
-