Package com.sgs.common.database
Class QAGroupEvent
- java.lang.Object
-
- com.sgs.common.database.HibernateObject
-
- com.sgs.common.database.QAGroupEvent
-
public class QAGroupEvent extends HibernateObject
An event which ties a QA group to a commodity, location and/or action- Author:
- SG Systems
-
-
Field Summary
Fields Modifier and Type Field Description intactiveA flag to set the Event as Active.CommoditycommodityThe commodity, if any, that triggers this event.java.util.DatedeletedA deletion timestampinteventTypeThe type of this event.java.lang.StringignoreCodesAny commodity codes, comma separated, to ignore, should you chose to leavecommoditynullintintervalThe interval in seconds should this be a PERIODIC eventLocationlocationThe production location that this should appear atjava.lang.DoublelowerRangeIf the answer is numeric, the lower range of acceptabilityintnonMandatoryBoolean value to specify whether the question is mandatoryintnonReportedBoolean value to specify whether the response should not be reported onjava.lang.IntegerpriorityA numeric value to indicate the sequence that questions should be asked in.QAGroupqaGroupThe QA group to which this event pertainsintrequiresVerificationBoolean value to specify whether the response will require separate supervisor verificationjava.lang.StringspecialInstructionsAny special instructions provided for this questionjava.lang.StringspecificationA specification description fieldinttimerInternal use for intervaljava.lang.DoubleupperRangeIf the answer is numeric, the upper range of acceptability-
Fields inherited from class com.sgs.common.database.HibernateObject
ID
-
-
Constructor Summary
Constructors Constructor Description QAGroupEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetActive()CommoditygetCommodity()java.util.DategetDeleted()intgetEventType()QALink.QAEventTypegetEventTypeEnum()java.lang.StringgetIgnoreCodes()intgetInterval()LocationgetLocation()java.lang.DoublegetLowerRange()intgetNonMandatory()intgetNonReported()java.lang.IntegergetPriority()QAGroupgetQaGroup()intgetRequiresVerification()java.lang.StringgetSpecialInstructions()java.lang.StringgetSpecification()intgetTimer()java.lang.DoublegetUpperRange()booleanisRunning()voidsetActive(int active)voidsetCommodity(Commodity commodity)voidsetDeleted(java.util.Date deleted)voidsetEventType(int eventType)voidsetEventTypeEnum(QALink.QAEventType type)voidsetIgnoreCodes(java.lang.String ignoreCodes)voidsetInterval(int interval)voidsetLocation(Location location)voidsetLowerRange(java.lang.Double lowerRange)voidsetNonMandatory(int nonMandatory)voidsetNonReported(int nonReported)voidsetPriority(java.lang.Integer priority)voidsetQaGroup(QAGroup qaGroup)voidsetRequiresVerification(int requiresVerification)voidsetRunning(boolean isRunning)voidsetSpecialInstructions(java.lang.String specialInstructions)voidsetSpecification(java.lang.String specification)voidsetTimer(int timer)voidsetUpperRange(java.lang.Double upperRange)-
Methods inherited from class com.sgs.common.database.HibernateObject
getExported, getID, isDontSave, isModified, setDontSave, setExported, setID, setModified
-
-
-
-
Field Detail
-
qaGroup
public QAGroup qaGroup
The QA group to which this event pertains
-
commodity
public Commodity commodity
The commodity, if any, that triggers this event. Blank will apply to all commodities
-
location
public Location location
The production location that this should appear at
-
eventType
public int eventType
The type of this event. SeeQALink.QAEventType
-
nonMandatory
public int nonMandatory
Boolean value to specify whether the question is mandatory
-
nonReported
public int nonReported
Boolean value to specify whether the response should not be reported on
-
specialInstructions
public java.lang.String specialInstructions
Any special instructions provided for this question
-
requiresVerification
public int requiresVerification
Boolean value to specify whether the response will require separate supervisor verification
-
priority
public java.lang.Integer priority
A numeric value to indicate the sequence that questions should be asked in. 1 being the highest.
-
ignoreCodes
public java.lang.String ignoreCodes
Any commodity codes, comma separated, to ignore, should you chose to leavecommoditynull
-
lowerRange
public java.lang.Double lowerRange
If the answer is numeric, the lower range of acceptability
-
upperRange
public java.lang.Double upperRange
If the answer is numeric, the upper range of acceptability
-
deleted
public java.util.Date deleted
A deletion timestamp
-
interval
public int interval
The interval in seconds should this be a PERIODIC event
-
timer
public int timer
Internal use for interval
-
specification
public java.lang.String specification
A specification description field
-
active
public int active
A flag to set the Event as Active. If the Event is not Active then it will not be triggered in the system.
-
-
Method Detail
-
getQaGroup
public QAGroup getQaGroup()
-
setQaGroup
public void setQaGroup(QAGroup qaGroup)
-
getCommodity
public Commodity getCommodity()
-
setCommodity
public void setCommodity(Commodity commodity)
-
getLocation
public Location getLocation()
-
setLocation
public void setLocation(Location location)
-
getEventType
public int getEventType()
-
setEventType
public void setEventType(int eventType)
-
getNonMandatory
public int getNonMandatory()
-
setNonMandatory
public void setNonMandatory(int nonMandatory)
-
getNonReported
public int getNonReported()
-
setNonReported
public void setNonReported(int nonReported)
-
getSpecialInstructions
public java.lang.String getSpecialInstructions()
-
setSpecialInstructions
public void setSpecialInstructions(java.lang.String specialInstructions)
-
getRequiresVerification
public int getRequiresVerification()
-
setRequiresVerification
public void setRequiresVerification(int requiresVerification)
-
getPriority
public java.lang.Integer getPriority()
-
setPriority
public void setPriority(java.lang.Integer priority)
-
getIgnoreCodes
public java.lang.String getIgnoreCodes()
-
setIgnoreCodes
public void setIgnoreCodes(java.lang.String ignoreCodes)
-
getLowerRange
public java.lang.Double getLowerRange()
-
setLowerRange
public void setLowerRange(java.lang.Double lowerRange)
-
getUpperRange
public java.lang.Double getUpperRange()
-
setUpperRange
public void setUpperRange(java.lang.Double upperRange)
-
getDeleted
public java.util.Date getDeleted()
-
setDeleted
public void setDeleted(java.util.Date deleted)
-
getInterval
public int getInterval()
-
setInterval
public void setInterval(int interval)
-
getTimer
public int getTimer()
-
setTimer
public void setTimer(int timer)
-
isRunning
public boolean isRunning()
-
setRunning
public void setRunning(boolean isRunning)
-
getSpecification
public java.lang.String getSpecification()
-
setSpecification
public void setSpecification(java.lang.String specification)
-
getEventTypeEnum
public QALink.QAEventType getEventTypeEnum()
-
setEventTypeEnum
public void setEventTypeEnum(QALink.QAEventType type)
-
getActive
public int getActive()
-
setActive
public void setActive(int active)
-
-