Class NetworkLoop.LoopMember

java.lang.Object
neqsim.process.equipment.network.NetworkLoop.LoopMember
All Implemented Interfaces:
Serializable
Enclosing class:
NetworkLoop

public static class NetworkLoop.LoopMember extends Object implements Serializable
Represents a pipeline member of a loop with its traversal direction.
Version:
1.0
Author:
Even Solbraa
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • pipeName

      private final String pipeName
      The pipeline name.
    • direction

      private final int direction
      Direction in the loop: +1 = same as loop direction, -1 = opposite.
  • Constructor Details

    • LoopMember

      public LoopMember(String pipeName, int direction)
      Create a loop member.
      Parameters:
      pipeName - the pipeline name
      direction - the direction (+1 or -1)
  • Method Details

    • getPipeName

      public String getPipeName()
      Get the pipeline name.
      Returns:
      the pipeline name
    • getDirection

      public int getDirection()
      Get the direction in the loop.
      Returns:
      +1 if same as loop direction, -1 if opposite