Enum Class FlowAssuranceResult

java.lang.Object
java.lang.Enum<FlowAssuranceResult>
neqsim.process.fielddevelopment.screening.FlowAssuranceResult
All Implemented Interfaces:
Serializable, Comparable<FlowAssuranceResult>, Constable

public enum FlowAssuranceResult extends Enum<FlowAssuranceResult>
Result classification for flow assurance screening.

Represents a three-tier envelope classification for flow assurance parameters such as hydrate risk, wax deposition, and corrosion.

Version:
1.0
Author:
ESOL
  • Enum Constant Details

    • PASS

      public static final FlowAssuranceResult PASS
      Operating conditions are clearly within safe envelope. No flow assurance interventions required.
    • MARGINAL

      public static final FlowAssuranceResult MARGINAL
      Operating conditions are near envelope boundaries. Flow assurance mitigation may be required under some scenarios.
    • FAIL

      public static final FlowAssuranceResult FAIL
      Operating conditions exceed safe envelope. Flow assurance mitigation is mandatory.
  • Field Details

    • displayName

      private final String displayName
    • description

      private final String description
  • Constructor Details

    • FlowAssuranceResult

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

    • values

      public static FlowAssuranceResult[] 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 FlowAssuranceResult 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 display name.
      Returns:
      display name
    • getDescription

      public String getDescription()
      Gets the description.
      Returns:
      description
    • isSafe

      public boolean isSafe()
      Checks if this result indicates safe operation.
      Returns:
      true if PASS
    • needsAttention

      public boolean needsAttention()
      Checks if this result requires attention.
      Returns:
      true if MARGINAL or FAIL
    • isBlocking

      public boolean isBlocking()
      Checks if this result blocks development.
      Returns:
      true if FAIL
    • combine

      public FlowAssuranceResult combine(FlowAssuranceResult other)
      Combines two results, returning the more severe.
      Parameters:
      other - other result
      Returns:
      combined (worst-case) result