2.17.2: 2011-06-17

net.sf.basedb.core.data
Class VirtualDbData

java.lang.Object
  extended by net.sf.basedb.core.data.BasicData
      extended by 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"

Field Summary
private  short cubes
           
private  Set<DataCubeData> dataCubes
           
private  ExperimentData experiment
           
private  short mappings
           
 
Constructor Summary
VirtualDbData()
           
 
Method Summary
 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.
 void setCubes(short cubes)
           
(package private)  void setDataCubes(Set<DataCubeData> dataCubes)
           
(package private)  void setExperiment(ExperimentData experiment)
           
 void setMappings(short mappings)
           
 
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
 

Field Detail

experiment

private ExperimentData experiment

cubes

private short cubes

mappings

private short mappings

dataCubes

private Set<DataCubeData> dataCubes
Constructor Detail

VirtualDbData

public VirtualDbData()
Method Detail

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)

2.17.2: 2011-06-17