Class ReporterListScoreData

    • Constructor Detail

      • ReporterListScoreData

        public ReporterListScoreData()
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getReporterList

        public ReporterListData getReporterList()
        The reporter list this reporter and score belongs to. Part of the composite id of this class.
      • setReporterList

        public void setReporterList​(ReporterListData reporterList)
      • getReporterId

        public int getReporterId()
        The id of the reporter. This mapping is neccessary since the alternative <key-many-to-one> doesn't work with INNER JOIN FETCH queries. We have to use a regular <many-to-one>, which means that the reporter property must be outside the composite id.
      • setReporterId

        public void setReporterId​(int reporterId)
      • getReporter

        public ReporterData getReporter()
        Get the reporter.
      • setReporter

        public void setReporter​(ReporterData reporter)
      • getScore

        public Float getScore()
        Get the score for the reporter, or null if no score has been set.
      • setScore

        public void setScore​(Float score)