Class DeviationDetails


  • public class DeviationDetails
    extends HibernateObject
    This class represents the link between customer groups and commodities. It helps identify which commodities are sold by which customer groups along with other information that can be stored alongside this data
    Author:
    SGSystems
    • Field Detail

      • dateCreated

        public java.util.Date dateCreated
        Creation date
      • createdByUser

        public User createdByUser
        User ID
      • location

        public Location location
        Location ID
      • assignedToUserGroup

        public UserGroup assignedToUserGroup
        Assigned to user
      • deviationDescription

        public java.lang.String deviationDescription
        Description
      • deviationResponseTime

        public int deviationResponseTime
        Number of days between Deviation creation and response
      • qaLog

        public QALog qaLog
      • severity

        public int severity
        The severity level of the deviation generated.
      • terminal

        public Terminal terminal
        The device that the deviation was generated from.
      • reference

        public java.lang.String reference
        A auto generated reference for the deviation.
      • commodity

        public Commodity commodity
        The Commodity that is associated with the deviation.
      • deviationResponse

        public java.lang.String deviationResponse
        The answer / response that was given at the time of the deviation being generated.
      • comments

        public java.lang.String comments
        Any custom comments entered by the user.
      • deleted

        public java.util.Date deleted
        The Date when the deviation was deleted.
      • check

        public Checks check
        The check that is associated with the deviation. It is the Check that created the deviation.
      • dateViewed

        public java.util.Date dateViewed
        The Date the deviation was viewed by a user.
      • dateClosed

        public java.util.Date dateClosed
        The Date the deviation was closed by a user.
      • jobLine

        public JobLine jobLine
        If the deviation was created from a Job.
      • method

        public int method
    • Constructor Detail

      • DeviationDetails

        public DeviationDetails()
    • Method Detail

      • getComments

        public java.lang.String getComments()
      • setComments

        public void setComments​(java.lang.String comments)
      • getDeviationResponse

        public java.lang.String getDeviationResponse()
      • setDeviationResponse

        public void setDeviationResponse​(java.lang.String deviationResponse)
      • getCommodity

        public Commodity getCommodity()
      • setCommodity

        public void setCommodity​(Commodity commodity)
      • getMethod

        public int getMethod()
      • setMethod

        public void setMethod​(int rcaMethod)
      • getQaLog

        public QALog getQaLog()
      • setQaLog

        public void setQaLog​(QALog qaLog)
      • getDateCreated

        public java.util.Date getDateCreated()
      • setDateCreated

        public void setDateCreated​(java.util.Date dateCreated)
      • getCreatedByUser

        public User getCreatedByUser()
      • setCreatedByUser

        public void setCreatedByUser​(User createdByUser)
      • getLocation

        public Location getLocation()
      • setLocation

        public void setLocation​(Location location)
      • getAssignedToUserGroup

        public UserGroup getAssignedToUserGroup()
      • setAssignedToUserGroup

        public void setAssignedToUserGroup​(UserGroup assignedToUserGroup)
      • getDeviationDescription

        public java.lang.String getDeviationDescription()
      • setDeviationDescription

        public void setDeviationDescription​(java.lang.String deviationDescription)
      • getStatus

        public int getStatus()
      • setStatus

        public void setStatus​(int status)
      • getDeviationResponseTime

        public int getDeviationResponseTime()
      • setDeviationResponseTime

        public void setDeviationResponseTime​(int deviationResponseTime)
      • getSeverity

        public int getSeverity()
      • setSeverity

        public void setSeverity​(int severity)
      • getTerminal

        public Terminal getTerminal()
      • setTerminal

        public void setTerminal​(Terminal terminal)
      • getReference

        public java.lang.String getReference()
      • setReference

        public void setReference​(java.lang.String reference)
      • getDeleted

        public java.util.Date getDeleted()
      • setDeleted

        public void setDeleted​(java.util.Date deleted)
      • getCheck

        public Checks getCheck()
      • setCheck

        public void setCheck​(Checks check)
      • getDateViewed

        public java.util.Date getDateViewed()
      • setDateViewed

        public void setDateViewed​(java.util.Date dateViewed)
      • getDateClosed

        public java.util.Date getDateClosed()
      • setDateClosed

        public void setDateClosed​(java.util.Date dateClosed)
      • getJobLine

        public JobLine getJobLine()
      • setJobLine

        public void setJobLine​(JobLine jobLine)