Class DataRetentionInfoDao.SubStatusGroupInfo

  • Enclosing class:
    DataRetentionInfoDao

    public static class DataRetentionInfoDao.SubStatusGroupInfo
    extends Object
    Provides a submission status aggregation group info reporting class
    Since:
    4.3.3
    • Constructor Detail

      • SubStatusGroupInfo

        public SubStatusGroupInfo​(Long count,
                                  String formStatus,
                                  String deliveryStatus,
                                  Date minAge)
        Create a submission status aggregation group info object with the given parameters.
        Parameters:
        count - the number of submissions
        formStatus - the form status
        deliveryStatus - the delivery status
        minAge - the minimum age
    • Method Detail

      • getCount

        public Long getCount()
        Returns:
        the count
      • getFormStatus

        public String getFormStatus()
        Returns:
        the formStatus
      • getDeliveryStatus

        public String getDeliveryStatus()
        Returns:
        the deliveryStatus
      • getMinAge

        public Date getMinAge()
        Returns:
        the minAge
      • getAgeDays

        public Integer getAgeDays()
        Return the maximum age in date.
        Returns:
        the maximum age in days
      • setPercentage

        public void setPercentage​(double percent)
        Parameters:
        percent - the percentage number of total count
      • getPercentage

        public double getPercentage()
        Returns:
        percent the percentage number of total count