Class QAGroupEvent


  • public class QAGroupEvent
    extends HibernateObject
    An event which ties a QA group to a commodity, location and/or action
    Author:
    SG Systems
    • 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
      • 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 leave commodity 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.
    • Constructor Detail

      • QAGroupEvent

        public QAGroupEvent()
    • 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)
      • getActive

        public int getActive()
      • setActive

        public void setActive​(int active)