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
This class holds information about a virtual database in the
dynamic part of Base.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Last modified
- $Date: 2011-11-15 14:45:50 +0100 (ti, 15 nov 2011) $
- Hibernate: class
- table="`VirtualDbs`" lazy="true"
-
Field Summary
Modifier and TypeFieldDescriptionprivate short
private Set<DataCubeData>
private ExperimentData
private short
private ReporterCloneTemplateData
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionshort
getCubes()
The number of data cubes in the virtual database.(package private) Set<DataCubeData>
This is the inverse end.Get the experiment that stores it's data in this virtual database.short
The number of cube mappings in the virtual database.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:
- 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:
- 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
-