2.17.2: 2011-06-17

net.sf.basedb.core.data
Class DataCubeExtraValueData

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

public class DataCubeExtraValueData
extends BasicData

This class holds information about an extra value in a data cube.

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

Field Summary
private  long bytes
           
private  int coordinateType
           
private  DataCubeData dataCube
           
private  short extraNo
           
private  int valueType
           
 
Constructor Summary
DataCubeExtraValueData()
           
 
Method Summary
 long getBytes()
          The number of bytes the extra values data occupies on disk.
 int getCoordinateType()
          If the extra value is a spot extra value, a position extra value or a column extra value.
 DataCubeData getDataCube()
          Get the data cube this filter belongs to.
 short getExtraNo()
          The number of this extra value in the data cube.
 int getValueType()
          The type of value, ie. int, float or string.
 void setBytes(long bytes)
           
 void setCoordinateType(int coordinateType)
           
 void setDataCube(DataCubeData dataCube)
           
 void setExtraNo(short extraNo)
           
 void setValueType(int valueType)
           
 
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

dataCube

private DataCubeData dataCube

extraNo

private short extraNo

bytes

private long bytes

coordinateType

private int coordinateType

valueType

private int valueType
Constructor Detail

DataCubeExtraValueData

public DataCubeExtraValueData()
Method Detail

getDataCube

public DataCubeData getDataCube()
Get the data cube this filter belongs to.

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

setDataCube

public void setDataCube(DataCubeData dataCube)

getExtraNo

public short getExtraNo()
The number of this extra value in the data cube. Must be unique within the data cube.

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

setExtraNo

public void setExtraNo(short extraNo)

getBytes

public long getBytes()
The number of bytes the extra values data occupies on disk.

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

setBytes

public void setBytes(long bytes)

getCoordinateType

public int getCoordinateType()
If the extra value is a spot extra value, a position extra value or a column extra value.

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

setCoordinateType

public void setCoordinateType(int coordinateType)

getValueType

public int getValueType()
The type of value, ie. int, float or string.

See Also:
Type
Hibernate: property
column="`value_type`" type="int" not-null="true" update="false"

setValueType

public void setValueType(int valueType)

2.17.2: 2011-06-17