public class IncidentStatisticsEntity extends Object implements IncidentStatistics
| Modifier and Type | Field and Description |
|---|---|
protected int |
incidentCount |
protected String |
incidentType |
| Constructor and Description |
|---|
IncidentStatisticsEntity() |
| Modifier and Type | Method and Description |
|---|---|
int |
getIncidentCount()
Returns the number of incidents to the corresponding
incidentType.
|
String |
getIncidentType()
Returns the type of the incidents.
|
void |
setIncidenType(String incidentType) |
String |
toString() |
protected String incidentType
protected int incidentCount
public String getIncidentType()
IncidentStatisticsgetIncidentType in interface IncidentStatisticspublic void setIncidenType(String incidentType)
public int getIncidentCount()
IncidentStatisticsgetIncidentCount in interface IncidentStatisticsCopyright © 2022. All rights reserved.