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, RemovableData, ShareableData
public class ReporterListData
- extends CommonData
This class holds information about a reporter list.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
ReporterList
,
Reporter overview- Hibernate: class
- table="`ReporterLists`" lazy="true"
MAX_EXTERNAL_ID_LENGTH
public static final int MAX_EXTERNAL_ID_LENGTH
- The maximum length of the external ID that can be stored in the database.
- See Also:
setExternalId(String)
,
Constant Field Values
externalId
private String externalId
experiment
private ExperimentData experiment
size
private int size
reporters
private Map<Integer,ReporterListScoreData> reporters
ReporterListData
public ReporterListData()
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)