Class NetworkLoop.LoopMember
java.lang.Object
neqsim.process.equipment.network.NetworkLoop.LoopMember
- All Implemented Interfaces:
Serializable
- Enclosing class:
NetworkLoop
Represents a pipeline member of a loop with its traversal direction.
- Version:
- 1.0
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intDirection in the loop: +1 = same as loop direction, -1 = opposite.private final StringThe pipeline name.private static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the direction in the loop.Get the pipeline name.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
pipeName
The pipeline name. -
direction
private final int directionDirection in the loop: +1 = same as loop direction, -1 = opposite.
-
-
Constructor Details
-
LoopMember
Create a loop member.- Parameters:
pipeName- the pipeline namedirection- the direction (+1 or -1)
-
-
Method Details
-
getPipeName
-
getDirection
public int getDirection()Get the direction in the loop.- Returns:
- +1 if same as loop direction, -1 if opposite
-