Package com.avoka.fc.core.dao
Class DataRetentionInfoDao.SubStatusGroupInfo
- java.lang.Object
-
- com.avoka.fc.core.dao.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 Summary
Constructors Constructor Description SubStatusGroupInfo(Long count, String formStatus, String deliveryStatus, Date minAge)
Create a submission status aggregation group info object with the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getAgeDays()
Return the maximum age in date.Long
getCount()
String
getDeliveryStatus()
String
getFormStatus()
Date
getMinAge()
double
getPercentage()
void
setPercentage(double percent)
-
-
-
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 submissionsformStatus
- the form statusdeliveryStatus
- the delivery statusminAge
- 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
-
-