Class StatisticsReport

  • All Implemented Interfaces:
    java.io.Serializable

    @Entity
    public class StatisticsReport
    extends java.lang.Object
    implements java.io.Serializable
    Model class for a statistics report.
    Version:
    $Id: $
    Author:
    DJ Gregor
    See Also:
    StatisticsReportData, Serialized Form
    • Constructor Detail

      • StatisticsReport

        public StatisticsReport()
    • Method Detail

      • getId

        public java.lang.Integer getId()
        Unique identifier for report.
        Returns:
        a Integer object.
      • setId

        public void setId​(java.lang.Integer id)

        setId

        Parameters:
        id - a Integer object.
      • getStartDate

        public java.util.Date getStartDate()
        The beginning date for the report (data starting at this time stamp is included).
        Returns:
        a Date object.
      • setStartDate

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

        setStartDate

        Parameters:
        startDate - a Date object.
      • getEndDate

        public java.util.Date getEndDate()
        The end date for the report (data up to, but not including this time stamp is included).
        Returns:
        a Date object.
      • setEndDate

        public void setEndDate​(java.util.Date endDate)

        setEndDate

        Parameters:
        endDate - a Date object.
      • getName

        public java.lang.String getName()
        Report name this references a report definition in statsd-configuration.xml.
        Returns:
        a String object.
      • setName

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

        setName

        Parameters:
        name - a String object.
      • getDescription

        public java.lang.String getDescription()
        User-friendly description for this report.
        Returns:
        a String object.
      • setDescription

        public void setDescription​(java.lang.String description)

        setDescription

        Parameters:
        description - a String object.
      • getJobStartedDate

        public java.util.Date getJobStartedDate()
        The date when this report run started.
        Returns:
        a Date object.
      • setJobStartedDate

        public void setJobStartedDate​(java.util.Date jobStartedDate)

        setJobStartedDate

        Parameters:
        jobStartedDate - a Date object.
      • getJobCompletedDate

        public java.util.Date getJobCompletedDate()
        The date when this report run completed.
        Returns:
        a Date object.
      • setJobCompletedDate

        public void setJobCompletedDate​(java.util.Date jobCompletedDate)

        setJobCompletedDate

        Parameters:
        jobCompletedDate - a Date object.
      • getPurgeDate

        public java.util.Date getPurgeDate()
        The date at which this report can be purged
        Returns:
        a Date object.
      • setPurgeDate

        public void setPurgeDate​(java.util.Date purgeDate)

        setPurgeDate

        Parameters:
        purgeDate - a Date object.
      • setData

        public void setData​(java.util.Set<StatisticsReportData> data)

        setData

        Parameters:
        data - a Set object.
      • getDuration

        public long getDuration()

        getDuration

        Returns:
        a long.
      • getDurationString

        public java.lang.String getDurationString()

        getDurationString

        Returns:
        a String object.
      • getJobDuration

        public long getJobDuration()

        getJobDuration

        Returns:
        a long.
      • getJobDurationString

        public java.lang.String getJobDurationString()

        getJobDurationString

        Returns:
        a String object.
      • getMaxDatumValue

        public java.lang.Double getMaxDatumValue()

        getMaxDatumValue

        Returns:
        a Double object.
      • getMinDatumValue

        public java.lang.Double getMinDatumValue()

        getMinDatumValue

        Returns:
        a Double object.