Class Reason


  • public class Reason
    extends HibernateObject
    This class represents a reason which can be selected by an operator for certain events.
    Author:
    SGSystems
    • Field Detail

      • reason

        public java.lang.String reason
        *Primary Key* The unique reason to be provided
      • deleted

        public java.util.Date deleted
        A deletion timestamp.
      • freeText

        public int freeText
        Boolean value indicates whether the reason, if selected, allows further free-text input.
      • freeTextResponse

        public java.lang.String freeTextResponse
        Internal use.
      • code

        public java.lang.String code
        A code related to this reason.
      • type

        public int type
        The type of reason, where it should be prompted.
        See Also:
        Reason.ReasonType
      • requiresSupervisor

        public int requiresSupervisor
        Indicates whether this reason should require a supervisor for selection.
      • location

        public Location location
        The production location where this message should appear.
      • hideCode

        public boolean hideCode
        Determines whether to hide the code.
    • Constructor Detail

      • Reason

        public Reason()
    • Method Detail

      • getReason

        public java.lang.String getReason()
      • getDeleted

        public java.util.Date getDeleted()
      • setReason

        public void setReason​(java.lang.String reason)
      • setDeleted

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

        public int getFreeText()
      • setFreeText

        public void setFreeText​(int freeText)
      • getFreeTextResponse

        public java.lang.String getFreeTextResponse()
      • setFreeTextResponse

        public void setFreeTextResponse​(java.lang.String freeTextResponse)
      • getReasonResponse

        public java.lang.String getReasonResponse()
      • getType

        public int getType()
      • setType

        public void setType​(int type)
      • getCode

        public java.lang.String getCode()
      • setCode

        public void setCode​(java.lang.String code)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getRequiresSupervisor

        public int getRequiresSupervisor()
      • setRequiresSupervisor

        public void setRequiresSupervisor​(int requiresSupervisor)
      • getLocation

        public Location getLocation()
      • setLocation

        public void setLocation​(Location location)
      • isHideCode

        public boolean isHideCode()
      • setHideCode

        public void setHideCode​(boolean hideCode)