2.17.2: 2011-06-17

net.sf.basedb.core.data
Class DataCubeData

java.lang.Object
  extended by net.sf.basedb.core.data.BasicData
      extended by net.sf.basedb.core.data.DataCubeData
All Implemented Interfaces:
IdentifiableData

public class DataCubeData
extends BasicData

This class holds information about a single data cube in a virtual database.

Version:
2.0
Author:
Nicklas
See Also:
DataCube, Experiments and analysis overview
Last modified
$Date: 2009-04-06 14:52:39 +0200 (Mon, 06 Apr 2009) $
Hibernate: class
table="`DataCubes`" lazy="true"

Field Summary
private  long bytes
           
private  Set<DataCubeColumnData> columns
           
private  short cubeNo
           
private  Set<DataCubeExtraValueData> extraValues
           
private  Set<DataCubeFilterData> filters
           
private  Set<DataCubeLayerData> layers
           
private  int maxRawMappings
           
private  short numColumns
           
private  short numExtraValues
           
private  short numFilters
           
private  short numLayers
           
private  int numPositions
           
private  VirtualDbData virtualDb
           
 
Constructor Summary
DataCubeData()
           
 
Method Summary
 long getBytes()
          The number of bytes the analysed data in this cube occupies on disk.
(package private)  Set<DataCubeColumnData> getColumns()
          This is the inverse end.
 short getCubeNo()
          The cube number of this cube in the virtual database.
(package private)  Set<DataCubeExtraValueData> getExtraValues()
          This is the inverse end.
(package private)  Set<DataCubeFilterData> getFilters()
          This is the inverse end.
(package private)  Set<DataCubeLayerData> getLayers()
          This is the inverse end.
 int getMaxRawMappingsForSpot()
          The maximum number of raw data spots a single spot in this data cube is mapped to.
 short getNumColumns()
          The number of columns in this data cube.
 short getNumExtraValues()
          The number of extra values in this data cube.
 short getNumFilters()
          The number of filters in this data cube.
 short getNumLayers()
          The number of layers in this data cube.
 int getNumPositions()
          The number of positions in this data cube.
 VirtualDbData getVirtualDb()
          Get the virtual database this cube belongs to.
 void setBytes(long bytes)
           
(package private)  void setColumns(Set<DataCubeColumnData> columns)
           
 void setCubeNo(short cubeNo)
           
(package private)  void setExtraValues(Set<DataCubeExtraValueData> extraValues)
           
(package private)  void setFilters(Set<DataCubeFilterData> filters)
           
(package private)  void setLayers(Set<DataCubeLayerData> layers)
           
 void setMaxRawMappingsForSpot(int maxRawMappings)
           
 void setNumColumns(short numColumns)
           
 void setNumExtraValues(short numExtraValues)
           
 void setNumFilters(short numFilters)
           
 void setNumLayers(short numLayers)
           
 void setNumPositions(int numPositions)
           
 void setVirtualDb(VirtualDbData virtualDb)
           
 
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

virtualDb

private VirtualDbData virtualDb

cubeNo

private short cubeNo

bytes

private long bytes

numFilters

private short numFilters

numExtraValues

private short numExtraValues

numLayers

private short numLayers

numColumns

private short numColumns

numPositions

private int numPositions

maxRawMappings

private int maxRawMappings

layers

private Set<DataCubeLayerData> layers

columns

private Set<DataCubeColumnData> columns

filters

private Set<DataCubeFilterData> filters

extraValues

private Set<DataCubeExtraValueData> extraValues
Constructor Detail

DataCubeData

public DataCubeData()
Method Detail

getVirtualDb

public VirtualDbData getVirtualDb()
Get the virtual database this cube belongs to.

Hibernate: many-to-one
column="`virtualdb_id`" not-null="true" outer-join="false" update="false" unique-key="uniquecube"

setVirtualDb

public void setVirtualDb(VirtualDbData virtualDb)

getCubeNo

public short getCubeNo()
The cube number of this cube in the virtual database.

Hibernate: property
column="`cube_no`" type="short" not-null="true" update="false" unique-key="uniquecube"

setCubeNo

public void setCubeNo(short cubeNo)

getBytes

public long getBytes()
The number of bytes the analysed data in this cube occupies on disk. Updates to this column are done through SQL statements and not through this object.

Hibernate: property
column="`bytes`" type="long" not-null="true" update="false"

setBytes

public void setBytes(long bytes)

getNumFilters

public short getNumFilters()
The number of filters in this data cube. Updates to this column are done through SQL statements and not through this object.

Hibernate: property
column="`filters`" type="short" not-null="true" update="false"

setNumFilters

public void setNumFilters(short numFilters)

getNumExtraValues

public short getNumExtraValues()
The number of extra values in this data cube. Updates to this column are done through SQL statements and not through this object.

Hibernate: property
column="`extravalues`" type="short" not-null="true" update="false"

setNumExtraValues

public void setNumExtraValues(short numExtraValues)

getNumLayers

public short getNumLayers()
The number of layers in this data cube. Updates to this column are done through SQL statements and not through this object.

Hibernate: property
column="`layers`" type="short" not-null="true" update="false"

setNumLayers

public void setNumLayers(short numLayers)

getNumColumns

public short getNumColumns()
The number of columns in this data cube.

Hibernate: property
column="`columns`" type="short" not-null="true" update="false"

setNumColumns

public void setNumColumns(short numColumns)

getNumPositions

public int getNumPositions()
The number of positions in this data cube.

Hibernate: property
column="`positions`" type="int" not-null="true" update="false"

setNumPositions

public void setNumPositions(int numPositions)

getMaxRawMappingsForSpot

public int getMaxRawMappingsForSpot()
The maximum number of raw data spots a single spot in this data cube is mapped to.

Hibernate: property
column="`max_raw_spots`" type="int" not-null="true" update="false"

setMaxRawMappingsForSpot

public void setMaxRawMappingsForSpot(int maxRawMappings)

getLayers

Set<DataCubeLayerData> getLayers()
This is the inverse end.

See Also:
DataCubeLayerData.getDataCube()
Hibernate: set
lazy="true" inverse="true" cascade="delete"
Hibernate: collection-key
column="`datacube_id`"
Hibernate: collection-one-to-many
class="net.sf.basedb.core.data.DataCubeLayerData"

setLayers

void setLayers(Set<DataCubeLayerData> layers)

getColumns

Set<DataCubeColumnData> getColumns()
This is the inverse end.

See Also:
DataCubeColumnData.getDataCube()
Hibernate: set
lazy="true" inverse="true" cascade="delete"
Hibernate: collection-key
column="`datacube_id`"
Hibernate: collection-one-to-many
class="net.sf.basedb.core.data.DataCubeColumnData"

setColumns

void setColumns(Set<DataCubeColumnData> columns)

getFilters

Set<DataCubeFilterData> getFilters()
This is the inverse end.

See Also:
DataCubeFilterData.getDataCube()
Hibernate: set
lazy="true" inverse="true" cascade="delete"
Hibernate: collection-key
column="`datacube_id`"
Hibernate: collection-one-to-many
class="net.sf.basedb.core.data.DataCubeFilterData"

setFilters

void setFilters(Set<DataCubeFilterData> filters)

getExtraValues

Set<DataCubeExtraValueData> getExtraValues()
This is the inverse end.

See Also:
DataCubeExtraValueData.getDataCube()
Hibernate: set
lazy="true" inverse="true" cascade="delete"
Hibernate: collection-key
column="`datacube_id`"
Hibernate: collection-one-to-many
class="net.sf.basedb.core.data.DataCubeExtraValueData"

setExtraValues

void setExtraValues(Set<DataCubeExtraValueData> extraValues)

2.17.2: 2011-06-17