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
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:
- Last modified
- $Date: 2011-10-21 13:15:41 +0200 (fr, 21 okt 2011) $
- Hibernate: class
- table="`ArrayDesignBlocks`" lazy="true"
-
Field Summary
Modifier and TypeFieldDescriptionprivate ArrayDesignData
private int
private int
private int
private int
private Set<FeatureData>
private int
private int
private int
private int
private int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionUsed by Hibernate to link with ArrayDesign.int
Get the block number of this block.int
Get the maximum number of rows in this block.int
Get the maximum number of columns in this block.int
The expected diameter of spots.(package private) Set<FeatureData>
Used by Hibernate to link with features.int
Get the row coordinate of this block.int
Get the column coordinate of this block.int
Get the distance from the left edge of the slide to the top left spot in the block.int
Get the distance from the top edge of the slide to the top left spot in the block.int
Get the x spacing.int
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
-