Class ProjectCounts
java.lang.Object
de.xima.fc.gui.bean.statistics.model.ProjectCounts
- All Implemented Interfaces:
Serializable
Contains the counter data for the statistics of a project.
- Since:
- 8.3.6
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic Collector<ProjektZaehlerDaten, ?, List<ProjectCounts>> Gets aCollectorthat accumulates all data into a singleProjectCountsobject (by summing all individual values), one for each project.longgetCalls()The number of times the form was opened.longThe number of errors that occurred.The project to which the data belongs.longThe number of times the form was submitted.static Collector<ProjektZaehlerDaten, ?, ProjectCounts> Gets aCollectorthat accumulates all data into a singleProjectCountsobject (by summing all individual values).
-
Method Details
-
getCalls
public long getCalls()The number of times the form was opened.- Returns:
- The number of times the form was opened.
-
getErrors
public long getErrors()The number of errors that occurred.- Returns:
- The number of errors that occurred
-
getProject
The project to which the data belongs.- Returns:
- The project to which the data belongs
-
getSubmissions
public long getSubmissions()The number of times the form was submitted.- Returns:
- The number of times the form was submitted
-
collectingProjectCounterData
Gets aCollectorthat accumulates all data into a singleProjectCountsobject (by summing all individual values), one for each project.- Returns:
- A
Collectorthat accumulates all data of a project into a singleProjectCountsobject.
-
summingProjectCounterData
Gets aCollectorthat accumulates all data into a singleProjectCountsobject (by summing all individual values). All data from different projects will be accumulated into the same object. ThegetProject()field of the resulting object will benull.- Returns:
- A
Collectorthat accumulates all data into a singleProjectCountsobject.
-