Enum Class PFDLayoutPolicy.ProcessPosition
java.lang.Object
java.lang.Enum<PFDLayoutPolicy.ProcessPosition>
neqsim.process.processmodel.diagram.PFDLayoutPolicy.ProcessPosition
- All Implemented Interfaces:
Serializable, Comparable<PFDLayoutPolicy.ProcessPosition>, Constable
- Enclosing class:
PFDLayoutPolicy
Horizontal process position for left-to-right flow convention.
Oil & gas PFDs follow a left-to-right flow convention:
- Feed/inlet streams enter from the LEFT
- Processing equipment in the CENTER
- Product/outlet streams exit to the RIGHT
- Version:
- 1.0
- Author:
- NeqSim
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the position description.intGets the horizontal rank for left-to-right ordering.Returns the enum constant of this class with the specified name.static PFDLayoutPolicy.ProcessPosition[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INLET
Feed/inlet position - left side of diagram. -
CENTER
Processing position - center of diagram. -
OUTLET
Product/outlet position - right side of diagram.
-
-
Field Details
-
horizontalRank
private final int horizontalRank -
description
-
-
Constructor Details
-
ProcessPosition
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getHorizontalRank
public int getHorizontalRank()Gets the horizontal rank for left-to-right ordering.- Returns:
- horizontal rank (0=left, higher=right)
-
getDescription
-