Class ChecksTemplates


  • public class ChecksTemplates
    extends HibernateObject
    This class represents ChecksTemplates which allow the user to create templates for a list of Checks.
    Author:
    SGSystems
    • Field Detail

      • frequency

        public int frequency
        How often does a Check need to be scheduled. Daily, Weekly, Monthy.
      • jobLine

        public JobLine jobLine
        The JobLine that is assocaited with the CheckTemplate.
      • deleted

        public java.util.Date deleted
        The Date that the Template was deleted
      • recurDays

        public int recurDays
        Which day of the week does the Check need to be run.
      • scheduleType

        public int scheduleType
        Whether is it adhoc or otherwise.
      • startDate

        public java.util.Date startDate
        If the Check is automatically scheduled then this is the Date that it starts.
      • lastRunDate

        public java.util.Date lastRunDate
        When the Check was last run.
      • reference

        public java.lang.String reference
        A auto gernerated reference for the template.
      • approvalTemplate

        public ApprovalTemplate approvalTemplate
        The Approval Template is uses after completing the Check.
      • location

        public Location location
        The Location where the Check is to be done.
      • site

        public Site site
        The site where the Check is to be done.
      • specification

        public java.lang.String specification
        Soecification for the template that the User can refer to when doing it.
      • templateType

        public java.lang.Integer templateType
        0 = Checks, 1 = Asset Task
      • name

        public java.lang.String name
        The name of the template.
    • Constructor Detail

      • ChecksTemplates

        public ChecksTemplates()
    • Method Detail

      • getReference

        public java.lang.String getReference()
      • setReference

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

        public int getFrequency()
      • setFrequency

        public void setFrequency​(int frequency)
      • getJobLine

        public JobLine getJobLine()
      • setJobLine

        public void setJobLine​(JobLine jobLine)
      • getDeleted

        public java.util.Date getDeleted()
      • setDeleted

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

        public int getRecurDays()
      • setRecurDays

        public void setRecurDays​(int recurDays)
      • getScheduleType

        public int getScheduleType()
      • setScheduleType

        public void setScheduleType​(int scheduleType)
      • getStartDate

        public java.util.Date getStartDate()
      • setStartDate

        public void setStartDate​(java.util.Date startDate)
      • getLastRunDate

        public java.util.Date getLastRunDate()
      • setLastRunDate

        public void setLastRunDate​(java.util.Date lastRunDate)
      • getLocation

        public Location getLocation()
      • setLocation

        public void setLocation​(Location location)
      • getSite

        public Site getSite()
      • setSite

        public void setSite​(Site site)
      • getSpecification

        public java.lang.String getSpecification()
      • setSpecification

        public void setSpecification​(java.lang.String specification)
      • setApprovalTemplate

        public void setApprovalTemplate​(ApprovalTemplate approvalTemplate)
      • getTemplateType

        public java.lang.Integer getTemplateType()
      • setTemplateType

        public void setTemplateType​(java.lang.Integer templateType)
      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • toString

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