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
,
Experiments and analysis overview- Last modified
- $Date: 2009-04-06 14:52:39 +0200 (Mon, 06 Apr 2009) $
- Hibernate: class
- table="`VirtualDbs`" lazy="true"
experiment
private ExperimentData experiment
cubes
private short cubes
mappings
private short mappings
dataCubes
private Set<DataCubeData> dataCubes
VirtualDbData
public VirtualDbData()
getExperiment
public ExperimentData 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
void setExperiment(ExperimentData experiment)
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
void setDataCubes(Set<DataCubeData> dataCubes)