Class Hardware

All Implemented Interfaces:
AccessControlled, Annotatable, Identifiable, Nameable, Ownable, Registered, Removable, Shareable, Subtypable

public class Hardware extends AnnotatedItem implements Registered, Subtypable
This class is used to represent individual hardware items and information about them. In the current version of BASE the only type of hardware we keep information about is scanners.
Version:
2.0
Author:
enell
Last modified
$Date: 2017-05-22 14:35:27 +0200 (må, 22 maj 2017) $
  • Field Details

    • TYPE

      public static final Item TYPE
      The type of item represented by this class.
      See Also:
    • SCANNER

      public static final String SCANNER
      The id for the HardwareType object representing a scanner.
      Since:
      3.0
      See Also:
    • HYBRIDIZATION_STATION

      public static final String HYBRIDIZATION_STATION
      The id for the HardwareType object representing a hybridization station.
      Since:
      3.0
      See Also:
    • CLUSTER_GENERATOR

      public static final String CLUSTER_GENERATOR
      The id for the HardwareType object representing a cluster generator station. Used when creating a PhysicalBioAssay.
      Since:
      3.0
      See Also:
    • SEQUENCER

      public static final String SEQUENCER
      The id for the HardwareType object representing a sequencer.
      Since:
      3.0
      See Also:
    • FREEZER

      public static final String FREEZER
      The id for the HardwareType object representing a freezer.
      Since:
      3.0
      See Also:
    • CABINET

      public static final String CABINET
      The id for the HardwareType object representing a cabinet.
      Since:
      3.2
      See Also:
    • OTHER

      public static final String OTHER
      The id for the HardwareType object representing something else.
      Since:
      3.0
      See Also:
    • MAX_VERSIONSTRING_LENGTH

      public static final int MAX_VERSIONSTRING_LENGTH
      The maximum length of the version variable that can be stored in the database. Check the length against this value before calling the setVersionString(String) method to avoid exceptions.
      See Also:
  • Constructor Details

    • Hardware

      Hardware(HardwareData data)
      Creates a new hardware item.
      Parameters:
      data - the data
  • Method Details