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 aQALinkQuestions can also be links or image capture events- Author:
- SGSystems
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChecksQuestion.TypeThe target that is compared to the checks response.
-
Field Summary
Fields Modifier and Type Field Description intallowCustomBoolean indicating whether a custom response can be provided (typed and not selected)ChecksTemplateschecksTemplateThe ChecksTemplates that is associated with the check.java.lang.IntegerdateOffsetThe upper tolerance that is used when responding to the check.java.lang.DoublelowerTol0 = Checks, 1 = Asset Taskjava.lang.Stringquestionjava.lang.StringspecificationSpecification for the Operator to view responding to the check.java.lang.DoubletargetThe offset that is used when entering a date in daysjava.lang.StringtextColorOverrides the color of the textinttypeThe ChecksTemplates that is associated with the check.java.lang.DoubleupperTolThe 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.ColorgetActualTextColor()intgetAllowCustom()ChecksTemplatesgetChecksTemplate()java.lang.IntegergetDateOffset()java.util.DategetDeleted()java.lang.DoublegetLowerTol()java.lang.StringgetQuestion()java.lang.StringgetSpecification()java.lang.DoublegetTarget()java.lang.StringgetTextColor()intgetType()java.lang.DoublegetUpperTol()voidsetActualTextColor(java.awt.Color color)voidsetAllowCustom(int allowCustom)voidsetChecksTemplate(ChecksTemplates checksTemplate)voidsetDateOffset(java.lang.Integer dateOffset)voidsetDeleted(java.util.Date deleted)voidsetLowerTol(java.lang.Double lowerTol)voidsetQuestion(java.lang.String question)voidsetSpecification(java.lang.String specification)voidsetTarget(java.lang.Double target)voidsetTextColor(java.lang.String textColor)voidsetType(int type)voidsetUpperTol(java.lang.Double upperTol)java.lang.StringtoString()-
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:
toStringin 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)
-
-