Enum Class MultiphaseFlowRegime.FlowRegime

java.lang.Object
java.lang.Enum<MultiphaseFlowRegime.FlowRegime>
neqsim.process.equipment.separator.entrainment.MultiphaseFlowRegime.FlowRegime
All Implemented Interfaces:
Serializable, Comparable<MultiphaseFlowRegime.FlowRegime>, Constable
Enclosing class:
MultiphaseFlowRegime

public static enum MultiphaseFlowRegime.FlowRegime extends Enum<MultiphaseFlowRegime.FlowRegime>
Enumeration of two-phase gas-liquid flow regimes.
Version:
1.0
Author:
NeqSim team
  • Enum Constant Details

  • Field Details

    • displayName

      private final String displayName
    • description

      private final String description
  • Constructor Details

    • FlowRegime

      private FlowRegime(String displayName, String description)
  • Method Details

    • values

      public static MultiphaseFlowRegime.FlowRegime[] 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 MultiphaseFlowRegime.FlowRegime 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
    • getDisplayName

      public String getDisplayName()
      Gets the human-readable display name.
      Returns:
      display name
    • getDescription

      public String getDescription()
      Gets the regime description.
      Returns:
      description