Class ProjectCounts
- java.lang.Object
-
- de.xima.fc.gui.bean.statistics.model.ProjectCounts
-
- All Implemented Interfaces:
Serializable
public final class ProjectCounts extends Object implements Serializable
Contains the counter data for the statistics of a project.- Since:
- 8.3.6
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Collector<ProjektZaehlerDaten,?,List<ProjectCounts>>
collectingProjectCounterData()
Gets aCollector
that accumulates all data into a singleProjectCounts
object (by summing all individual values), one for each project.long
getCalls()
The number of times the form was opened.long
getErrors()
The number of errors that occurred.Projekt
getProject()
The project to which the data belongs.long
getSubmissions()
The number of times the form was submitted.
-
-
-
Method Detail
-
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
public Projekt 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
public static Collector<ProjektZaehlerDaten,?,List<ProjectCounts>> collectingProjectCounterData()
Gets aCollector
that accumulates all data into a singleProjectCounts
object (by summing all individual values), one for each project.- Returns:
- A
Collector
that accumulates all data of a project into a singleProjectCounts
object.
-
-