Enum Class VariabilityType

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

public enum VariabilityType extends Enum<VariabilityType>
Enumeration of variability types for process outputs. Specifies how the process determines the number of outputs to generate.
  • Enum Constant Details

    • FIXED

      public static final VariabilityType FIXED
      A fixed number of outputs is generated.
    • VARIABLE

      public static final VariabilityType VARIABLE
      A variable number of outputs is generated.
    • VARIABLE_BY_INPUT

      public static final VariabilityType VARIABLE_BY_INPUT
      The number of outputs varies based on the input.
  • Method Details

    • values

      public static VariabilityType[] 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 VariabilityType 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 variability type.
      Returns:
      the XML value.
    • fromValue

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