Package net.sf.basedb.core.data
Class DataCubeExtraValueData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.DataCubeExtraValueData
- All Implemented Interfaces:
IdentifiableData
This class holds information about an extra value in a data cube.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Last modified
- $Date: 2014-06-10 13:27:02 +0200 (ti, 10 jun 2014) $
- Hibernate: class
- table="`DataCubeExtraValues`" lazy="true"
-
Field Summary
Modifier and TypeFieldDescriptionprivate long
private int
private DataCubeData
private short
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getBytes()
The number of bytes the extra values data occupies on disk.int
If the extra value is a spot extra value, a position extra value or a column extra value.Get the data cube this filter belongs to.short
The number of this extra value in the data cube.int
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
-
Field Details
-
dataCube
-
extraNo
private short extraNo -
bytes
private long bytes -
coordinateType
private int coordinateType -
valueType
private int valueType
-
-
Constructor Details
-
DataCubeExtraValueData
public DataCubeExtraValueData()
-
-
Method Details
-
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="DataCubeExtraValue_uniqueextra"
-
setDataCube
-
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="DataCubeExtraValue_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:
- Hibernate: property
- column="`value_type`" type="int" not-null="true" update="false"
-
setValueType
public void setValueType(int valueType)
-