Package net.sf.basedb.core.data
Class ArrayDesignBlockData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.ArrayDesignBlockData
- All Implemented Interfaces:
IdentifiableData
public class ArrayDesignBlockData extends BasicData
This holds information about a block in an arraydesign. It must be lazy because
features are loaded in a stateless session.
- Version:
- 2.0
- Author:
- enell
- See Also:
ArrayDesignBlock
, Developer documentation: Array LIMS (arrays)- Last modified
- $Date: 2011-10-21 13:15:41 +0200 (fr, 21 okt 2011) $
- Hibernate: class
- table="`ArrayDesignBlocks`" lazy="true"
-
Field Summary
Fields Modifier and Type Field Description private ArrayDesignData
arrayDesign
private int
blockNumber
private int
blockSizeX
private int
blockSizeY
private int
featureDiameter
private Set<FeatureData>
features
private int
metaGridX
private int
metaGridY
private int
originX
private int
originY
private int
spacingX
private int
spacingY
-
Constructor Summary
Constructors Constructor Description ArrayDesignBlockData()
-
Method Summary
Modifier and Type Method Description ArrayDesignData
getArrayDesign()
Used by Hibernate to link with ArrayDesign.int
getBlockNumber()
Get the block number of this block.int
getBlockSizeX()
Get the maximum number of rows in this block.int
getBlockSizeY()
Get the maximum number of columns in this block.int
getFeatureDiameter()
The expected diameter of spots.(package private) Set<FeatureData>
getFeatures()
Used by Hibernate to link with features.int
getMetaGridX()
Get the row coordinate of this block.int
getMetaGridY()
Get the column coordinate of this block.int
getOriginX()
Get the distance from the left edge of the slide to the top left spot in the block.int
getOriginY()
Get the distance from the top edge of the slide to the top left spot in the block.int
getSpacingX()
Get the x spacing.int
getSpacingY()
Get the y spacing.void
setArrayDesign(ArrayDesignData arrayDesign)
void
setBlockNumber(int blockNumber)
void
setBlockSizeX(int rows)
void
setBlockSizeY(int columns)
void
setFeatureDiameter(int featureDiameter)
(package private) void
setFeatures(Set<FeatureData> features)
void
setMetaGridX(int metaRow)
void
setMetaGridY(int metaColumn)
void
setOriginX(int originX)
void
setOriginY(int originY)
void
setSpacingX(int spacingX)
void
setSpacingY(int spacingY)
Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getId, getVersion, hashCode, setId, setVersion, toString
-
Field Details
-
metaGridX
private int metaGridX -
metaGridY
private int metaGridY -
blockSizeX
private int blockSizeX -
blockSizeY
private int blockSizeY -
originX
private int originX -
originY
private int originY -
spacingX
private int spacingX -
spacingY
private int spacingY -
featureDiameter
private int featureDiameter -
blockNumber
private int blockNumber -
features
-
arrayDesign
-
-
Constructor Details
-
ArrayDesignBlockData
public ArrayDesignBlockData()
-
-
Method Details
-
getMetaGridX
public int getMetaGridX()Get the row coordinate of this block.- Hibernate: property
- column="`meta_grid_x`" type="int" not-null="true" update="false"
-
setMetaGridX
public void setMetaGridX(int metaRow) -
getMetaGridY
public int getMetaGridY()Get the column coordinate of this block.- Hibernate: property
- column="`meta_grid_y`" type="int" not-null="true" update="false"
-
setMetaGridY
public void setMetaGridY(int metaColumn) -
getBlockSizeX
public int getBlockSizeX()Get the maximum number of rows in this block.- Hibernate: property
- column="`block_size_x`" type="int" not-null="true"
-
setBlockSizeX
public void setBlockSizeX(int rows) -
getBlockSizeY
public int getBlockSizeY()Get the maximum number of columns in this block.- Hibernate: property
- column="`block_size_y`" type="int" not-null="true"
-
setBlockSizeY
public void setBlockSizeY(int columns) -
getOriginX
public int getOriginX()Get the distance from the left edge of the slide to the top left spot in the block.- Hibernate: property
- column="`origin_x`" type="int" not-null="true"
-
setOriginX
public void setOriginX(int originX) -
getOriginY
public int getOriginY()Get the distance from the top edge of the slide to the top left spot in the block.- Hibernate: property
- column="`origin_y`" type="int" not-null="true"
-
setOriginY
public void setOriginY(int originY) -
getSpacingX
public int getSpacingX()Get the x spacing.- Hibernate: property
- column="`spacing_x`" type="int" not-null="true"
-
setSpacingX
public void setSpacingX(int spacingX) -
getSpacingY
public int getSpacingY()Get the y spacing.- Hibernate: property
- column="`spacing_y`" type="int" not-null="true"
-
setSpacingY
public void setSpacingY(int spacingY) -
getFeatureDiameter
public int getFeatureDiameter()The expected diameter of spots.- Hibernate: property
- column="`feature_diameter`" type="int" not-null="true"
-
setFeatureDiameter
public void setFeatureDiameter(int featureDiameter) -
getBlockNumber
public int getBlockNumber()Get the block number of this block.- Hibernate: property
- column="`block_number`" type="int" not-null="true" update="false"
-
setBlockNumber
public void setBlockNumber(int blockNumber) -
getFeatures
Set<FeatureData> getFeatures()Used by Hibernate to link with features. This is the inverse end.- Hibernate: set
- lazy="true" inverse="true" cascade="delete"
- Hibernate: collection-key
- column="`arraydesignblock_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.FeatureData"
-
setFeatures
-
getArrayDesign
Used by Hibernate to link with ArrayDesign.- Hibernate: many-to-one
- column="`arraydesign_id`" not-null="true" outer-join="false" update="false"
-
setArrayDesign
-