Package net.sf.basedb.core.data
Class VirtualDbData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.VirtualDbData
- All Implemented Interfaces:
IdentifiableData
public class VirtualDbData extends BasicData
This class holds information about a virtual database in the
dynamic part of Base.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
VirtualDb
, Developer documentation: Experiments and analysis- Last modified
- $Date: 2011-11-15 14:45:50 +0100 (ti, 15 nov 2011) $
- Hibernate: class
- table="`VirtualDbs`" lazy="true"
-
Field Summary
Fields Modifier and Type Field Description private short
cubes
private Set<DataCubeData>
dataCubes
private ExperimentData
experiment
private short
mappings
private ReporterCloneTemplateData
reporterCloneTemplate
-
Constructor Summary
Constructors Constructor Description VirtualDbData()
-
Method Summary
Modifier and Type Method Description short
getCubes()
The number of data cubes in the virtual database.(package private) Set<DataCubeData>
getDataCubes()
This is the inverse end.ExperimentData
getExperiment()
Get the experiment that stores it's data in this virtual database.short
getMappings()
The number of cube mappings in the virtual database.ReporterCloneTemplateData
getReporterCloneTemplate()
Get the template used for creating the cloned reporter table in this virtual database, or null if there is no cloned reporter information.void
setCubes(short cubes)
(package private) void
setDataCubes(Set<DataCubeData> dataCubes)
(package private) void
setExperiment(ExperimentData experiment)
void
setMappings(short mappings)
void
setReporterCloneTemplate(ReporterCloneTemplateData reporterCloneTemplate)
Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getId, getVersion, hashCode, setId, setVersion, toString
-
Field Details
-
experiment
-
reporterCloneTemplate
-
cubes
private short cubes -
mappings
private short mappings -
dataCubes
-
-
Constructor Details
-
VirtualDbData
public VirtualDbData()
-
-
Method Details
-
getExperiment
Get the experiment that stores it's data in this virtual database.- See Also:
ExperimentData.getVirtualDb()
- Hibernate: one-to-one
- property-ref="virtualDb"
-
setExperiment
-
getReporterCloneTemplate
Get the template used for creating the cloned reporter table in this virtual database, or null if there is no cloned reporter information.- Since:
- 3.1
- Hibernate: many-to-one
- column="`clone_template_id`" not-null="false" outer-join="false" unique="true" cascade="delete"
-
setReporterCloneTemplate
-
getCubes
public short getCubes()The number of data cubes in the virtual database. Updates to this column are done through SQL statements and not through this object.- Hibernate: property
- column="`cubes`" type="short" not-null="true" update="false"
-
setCubes
public void setCubes(short cubes) -
getMappings
public short getMappings()The number of cube mappings in the virtual database.- Hibernate: property
- column="`mappings`" type="short" not-null="true"
-
setMappings
public void setMappings(short mappings) -
getDataCubes
Set<DataCubeData> getDataCubes()This is the inverse end.- See Also:
DataCubeData.getVirtualDb()
- Hibernate: set
- lazy="true" inverse="true" cascade="delete"
- Hibernate: collection-key
- column="`virtualdb_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.DataCubeData"
-
setDataCubes
-