Interface AssayField

All Superinterfaces:
ExportableField
All Known Implementing Classes:
AnnotationAssayField, AssayPropertyField

public interface AssayField
extends ExportableField
Represents a bioassay field that is going to be exported. An implementation needs to provide the following information and services:
  • A way to extract the needed values based from a bioassay.
  • A Formatter that is used to format the values that are extracted before they are written to the file
  • A title that is used as a column header for the data
Version:
2.12
Author:
Nicklas
Last modified
$Date: 2010-08-03 11:11:54 +0200 (ti, 03 aug 2010) $
  • Method Details

    • getAssayValue

      Collection<?> getAssayValue​(DbControl dc, BioAssay assay)
      Get the values for the given bioassay.
      Parameters:
      dc - The DbControl that is used for database access
      assay - The bioassay to get the value(s) from
      Returns:
      A collection with one or more values, or null or an empty collection if there is no value for the given bioassay
    • isAnnotation

      boolean isAnnotation()
      A boolean flag indicating if the field is an annotation or not.
      Returns:
      TRUE if the field is an annotation, FALSE if not
      Since:
      2.16