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 int
active
A flag to set the Event as Active.Commodity
commodity
The commodity, if any, that triggers this event.java.util.Date
deleted
A deletion timestampint
eventType
The type of this event.java.lang.String
ignoreCodes
Any commodity codes, comma separated, to ignore, should you chose to leavecommodity
nullint
interval
The interval in seconds should this be a PERIODIC eventLocation
location
The production location that this should appear atjava.lang.Double
lowerRange
If the answer is numeric, the lower range of acceptabilityint
nonMandatory
Boolean value to specify whether the question is mandatoryint
nonReported
Boolean value to specify whether the response should not be reported onjava.lang.Integer
priority
A numeric value to indicate the sequence that questions should be asked in.QAGroup
qaGroup
The QA group to which this event pertainsint
requiresVerification
Boolean value to specify whether the response will require separate supervisor verificationjava.lang.String
specialInstructions
Any special instructions provided for this questionjava.lang.String
specification
A specification description fieldint
timer
Internal use for intervaljava.lang.Double
upperRange
If 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 int
getActive()
Commodity
getCommodity()
java.util.Date
getDeleted()
int
getEventType()
QALink.QAEventType
getEventTypeEnum()
java.lang.String
getIgnoreCodes()
int
getInterval()
Location
getLocation()
java.lang.Double
getLowerRange()
int
getNonMandatory()
int
getNonReported()
java.lang.Integer
getPriority()
QAGroup
getQaGroup()
int
getRequiresVerification()
java.lang.String
getSpecialInstructions()
java.lang.String
getSpecification()
int
getTimer()
java.lang.Double
getUpperRange()
boolean
isRunning()
void
setActive(int active)
void
setCommodity(Commodity commodity)
void
setDeleted(java.util.Date deleted)
void
setEventType(int eventType)
void
setEventTypeEnum(QALink.QAEventType type)
void
setIgnoreCodes(java.lang.String ignoreCodes)
void
setInterval(int interval)
void
setLocation(Location location)
void
setLowerRange(java.lang.Double lowerRange)
void
setNonMandatory(int nonMandatory)
void
setNonReported(int nonReported)
void
setPriority(java.lang.Integer priority)
void
setQaGroup(QAGroup qaGroup)
void
setRequiresVerification(int requiresVerification)
void
setRunning(boolean isRunning)
void
setSpecialInstructions(java.lang.String specialInstructions)
void
setSpecification(java.lang.String specification)
void
setTimer(int timer)
void
setUpperRange(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 leavecommodity
null
-
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)
-
-