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:
Last modified
$Date: 2011-10-21 13:15:41 +0200 (fr, 21 okt 2011) $
Hibernate: class
table="`ArrayDesignBlocks`" lazy="true"
  • 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

      private Set<FeatureData> features
    • arrayDesign

      private ArrayDesignData 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

      void setFeatures(Set<FeatureData> features)
    • getArrayDesign

      public ArrayDesignData getArrayDesign()
      Used by Hibernate to link with ArrayDesign.
      Hibernate: many-to-one
      column="`arraydesign_id`" not-null="true" outer-join="false" update="false"
    • setArrayDesign

      public void setArrayDesign(ArrayDesignData arrayDesign)