Class ReporterListData

All Implemented Interfaces:
IdentifiableData, NameableData, OwnableData, RegisteredData, RemovableData, ShareableData

public class ReporterListData
extends CommonData
implements RegisteredData
This class holds information about a reporter list.
Version:
2.0
Author:
Nicklas
See Also:
ReporterList, Developer documentation: Reporters
Hibernate: class
table="`ReporterLists`" lazy="true"
  • Field Details

  • Constructor Details

    • ReporterListData

      public ReporterListData()
  • Method Details

    • getEntryDate

      public Date getEntryDate()
      Description copied from interface: RegisteredData
      Get the date this item was added to the database. The value is generated at creation time and can't be modified later.
      Specified by:
      getEntryDate in interface RegisteredData
    • setEntryDate

      public void setEntryDate​(Date entryDate)
    • getExternalId

      public String getExternalId()
      Get the external id for this ReporterList item.
      Hibernate: property
      column="`external_id`" type="string" length="255" not-null="false"
    • setExternalId

      public void setExternalId​(String externalId)
    • getExperiment

      public ExperimentData getExperiment()
      Get the experiment this reporter list belongs to.
      Hibernate: many-to-one
      column="`experiment_id`" not-null="false" outer-join="false"
    • setExperiment

      public void setExperiment​(ExperimentData experiment)
    • getSize

      public int getSize()
      The number of reporter in the list.
      Since:
      2.8
      Hibernate: property
      column="`size`" type="int" not-null="true"
    • setSize

      public void setSize​(int size)
    • getReporterListScores

      public Map<Integer,​ReporterListScoreData> getReporterListScores()
      The list of reporters and their scores.
      Hibernate: map
      lazy="true" inverse="true" cascade="all-delete-orphan"
      Hibernate: collection-key
      column="`reporterlist_id`"
      Hibernate: collection-index
      column="`reporter_id`" type="int"
      Hibernate: collection-one-to-many
      class="net.sf.basedb.core.data.ReporterListScoreData"
    • setReporterListScores

      void setReporterListScores​(Map<Integer,​ReporterListScoreData> reporters)