Package net.sf.basedb.core.data
Class ReporterListData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.OwnedData
net.sf.basedb.core.data.SharedData
net.sf.basedb.core.data.CommonData
net.sf.basedb.core.data.ReporterListData
- All Implemented Interfaces:
IdentifiableData
,NameableData
,OwnableData
,RegisteredData
,RemovableData
,ShareableData
This class holds information about a reporter list.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Hibernate: class
- table="`ReporterLists`" lazy="true"
-
Field Summary
Modifier and TypeFieldDescriptionprivate Date
private ExperimentData
private String
static final int
The maximum length of the external ID that can be stored in the database.private Map<Integer,
ReporterListScoreData> private int
Fields inherited from interface net.sf.basedb.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the date this item was added to the database.Get the experiment this reporter list belongs to.Get the external id for thisReporterList
item.The list of reporters and their scores.int
getSize()
The number of reporter in the list.void
setEntryDate
(Date entryDate) void
setExperiment
(ExperimentData experiment) void
setExternalId
(String externalId) (package private) void
setReporterListScores
(Map<Integer, ReporterListScoreData> reporters) void
setSize
(int size) Methods inherited from class net.sf.basedb.core.data.CommonData
getDescription, getName, getRemovedBy, setDescription, setName, setRemovedBy
Methods inherited from class net.sf.basedb.core.data.SharedData
getItemKey, getProjectKey, setItemKey, setProjectKey
Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getId, getVersion, hashCode, setId, setVersion, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData
getId, getVersion
Methods inherited from interface net.sf.basedb.core.data.OwnableData
getOwner, setOwner
-
Field Details
-
entryDate
-
MAX_EXTERNAL_ID_LENGTH
public static final int MAX_EXTERNAL_ID_LENGTHThe maximum length of the external ID that can be stored in the database.- See Also:
-
externalId
-
experiment
-
size
private int size -
reporters
-
-
Constructor Details
-
ReporterListData
public ReporterListData()
-
-
Method Details
-
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 interfaceRegisteredData
-
setEntryDate
-
getExternalId
Get the external id for thisReporterList
item.- Hibernate: property
- column="`external_id`" type="string" length="255" not-null="false"
-
setExternalId
-
getExperiment
Get the experiment this reporter list belongs to.- Hibernate: many-to-one
- column="`experiment_id`" not-null="false" outer-join="false"
-
setExperiment
-
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
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
-