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:
  • 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

      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 a Collector that accumulates all data into a single ProjectCounts object (by summing all individual values), one for each project.
      Returns:
      A Collector that accumulates all data of a project into a single ProjectCounts object.
    • summingProjectCounterData

      public static Collector<ProjektZaehlerDaten, ?, ProjectCounts> summingProjectCounterData()
      Gets a Collector that accumulates all data into a single ProjectCounts object (by summing all individual values). All data from different projects will be accumulated into the same object. The getProject() field of the resulting object will be null.
      Returns:
      A Collector that accumulates all data into a single ProjectCounts object.