Class PlateMappingData

All Implemented Interfaces:
IdentifiableData, NameableData, OwnableData, RegisteredData, RemovableData, ShareableData

public class PlateMappingData
extends CommonData
implements RegisteredData
This class holds information about a plate mapping.
Version:
2.0
Author:
Nicklas
See Also:
PlateMapping, Developer documentation: Array LIMS (plates)
Last modified
$Date: 2012-09-14 09:28:35 +0200 (fr, 14 sep 2012) $
Hibernate: class
table="`PlateMappings`" lazy="true"
  • Field Details

  • Constructor Details

    • PlateMappingData

      public PlateMappingData()
  • Method Details

    • getEntryDate

      public Date getEntryDate()
      Description copied from interface: RegisteredData
      Get the date this item was added to the database. The value is generated at creation time and can't be modified later.
      Specified by:
      getEntryDate in interface RegisteredData
    • setEntryDate

      public void setEntryDate​(Date entryDate)
    • getSourceGeometry

      public PlateGeometryData getSourceGeometry()
      The required geometry of source plates in this mapping.
      Hibernate: many-to-one
      column="`sourcegeometry_id`" not-null="true" outer-join="false" update="false"
    • setSourceGeometry

      public void setSourceGeometry​(PlateGeometryData sourceGeometry)
    • getDestinationGeometry

      public PlateGeometryData getDestinationGeometry()
      The required geometry of destination plates in this mapping.
      Hibernate: many-to-one
      column="`destinationgeometry_id`" not-null="true" outer-join="false" update="false"
    • setDestinationGeometry

      public void setDestinationGeometry​(PlateGeometryData destinationGeometry)
    • getSourceCount

      public int getSourceCount()
      The required number of source plates.
      Hibernate: property
      column="`source_count`" type="int" not-null="true" update="false"
    • setSourceCount

      public void setSourceCount​(int sourceCount)
    • getDestinationCount

      public int getDestinationCount()
      The produced number of destination plates.
      Hibernate: property
      column="`destination_count`" type="int" not-null="true" update="false"
    • setDestinationCount

      public void setDestinationCount​(int destinationCount)
    • getImage

      public String getImage()
      An optional name of a small image with a graphical representation of the mapping.
      Hibernate: property
      column="`image`" type="string" size="255" not-null="false"
    • setImage

      public void setImage​(String image)
    • getDetails

      public Map<MappingCoordinate,​MappingCoordinate> getDetails()
      For each destination coordinate we can get the source coordinate. The mapping for this element is specified in hibernate-properties-PlateMappingData.xml because we must supply different column names for the properties of MappingCoordinate objectes depending on if it is a destination coordinate (map key) or source coordinate (map value), which is not supported by XDoclet. The structure of the mapping is: hibernate.map table="`PlateMappingDetails`" lazy="true" cascade="delete" hibernate.collection-key column="`platemapping_id`" type="int" hibernate.collection-composite-index class="net.sf.basedb.core.data.MappingCoordinate" hibernate.collection-composite-element class="net.sf.basedb.core.data.MappingCoordinate"
    • setDetails

      void setDetails​(Map<MappingCoordinate,​MappingCoordinate> details)