Class ProcessSystemState.ConnectionState

java.lang.Object
neqsim.process.processmodel.lifecycle.ProcessSystemState.ConnectionState
All Implemented Interfaces:
Serializable
Enclosing class:
ProcessSystemState

public static class ProcessSystemState.ConnectionState extends Object implements Serializable
Represents a connection between two pieces of equipment.

Captures the stream topology of the process for reconstruction and visualization.

Version:
1.0
Author:
ESOL
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • sourceEquipmentName

      private String sourceEquipmentName
    • sourcePortName

      private String sourcePortName
    • targetEquipmentName

      private String targetEquipmentName
    • targetPortName

      private String targetPortName
  • Constructor Details

    • ConnectionState

      public ConnectionState()
      Default constructor.
    • ConnectionState

      public ConnectionState(String sourceEquipmentName, String sourcePortName, String targetEquipmentName, String targetPortName)
      Creates a connection state.
      Parameters:
      sourceEquipmentName - name of the source equipment
      sourcePortName - name of the output port (e.g., "gasOutStream")
      targetEquipmentName - name of the target equipment
      targetPortName - name of the input port (e.g., "inlet")
  • Method Details

    • getSourceEquipmentName

      public String getSourceEquipmentName()
      Gets the source equipment name.
      Returns:
      the source equipment name
    • getSourcePortName

      public String getSourcePortName()
      Gets the source port name.
      Returns:
      the source port name
    • getTargetEquipmentName

      public String getTargetEquipmentName()
      Gets the target equipment name.
      Returns:
      the target equipment name
    • getTargetPortName

      public String getTargetPortName()
      Gets the target port name.
      Returns:
      the target port name
    • toString

      public String toString()
      Overrides:
      toString in class Object