Enum Class OutputGenerationType

java.lang.Object
java.lang.Enum<OutputGenerationType>
com.genologics.ri.processtype.OutputGenerationType
All Implemented Interfaces:
Serializable, Comparable<OutputGenerationType>, Constable

public enum OutputGenerationType extends Enum<OutputGenerationType>
Enumeration of output generation types for process outputs. Specifies how outputs are generated in relation to inputs.
  • Enum Constant Details

    • PER_INPUT

      public static final OutputGenerationType PER_INPUT
      One output is generated per input.
    • PER_ALL_INPUTS

      public static final OutputGenerationType PER_ALL_INPUTS
      One output is generated for all inputs combined.
    • PER_REAGENT_LABEL

      public static final OutputGenerationType PER_REAGENT_LABEL
      Outputs are generated based on reagent labels.
  • Method Details

    • values

      public static OutputGenerationType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OutputGenerationType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public String value()
      Gets the XML value of this output generation type.
      Returns:
      the XML value.
    • fromValue

      public static OutputGenerationType fromValue(String v)
      Gets the output generation type corresponding to the specified XML value.
      Parameters:
      v - the XML value.
      Returns:
      the corresponding output generation type.
      Throws:
      IllegalArgumentException - if no matching type is found.