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:
Last modified
$Date: 2011-11-15 14:45:50 +0100 (ti, 15 nov 2011) $
Hibernate: class
table="`VirtualDbs`" lazy="true"
  • Field Details

  • Constructor Details

    • VirtualDbData

      public VirtualDbData()
  • Method Details

    • getExperiment

      public ExperimentData getExperiment()
      Get the experiment that stores it's data in this virtual database.
      See Also:
      Hibernate: one-to-one
      property-ref="virtualDb"
    • setExperiment

      void setExperiment(ExperimentData experiment)
    • getReporterCloneTemplate

      public 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.
      Since:
      3.1
      Hibernate: many-to-one
      column="`clone_template_id`" not-null="false" outer-join="false" unique="true" cascade="delete"
    • setReporterCloneTemplate

      public void setReporterCloneTemplate(ReporterCloneTemplateData reporterCloneTemplate)
    • 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

      void setDataCubes(Set<DataCubeData> dataCubes)