Class ReferenceDesignationGenerator.DesignationEntry
java.lang.Object
neqsim.process.equipment.iec81346.ReferenceDesignationGenerator.DesignationEntry
- All Implemented Interfaces:
Serializable
- Enclosing class:
ReferenceDesignationGenerator
public static class ReferenceDesignationGenerator.DesignationEntry
extends Object
implements Serializable
Represents a single generated IEC 81346 designation entry.
Each entry captures the mapping from a NeqSim equipment name to its IEC 81346 reference designation, along with classification metadata.
- Version:
- 1.0
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe original equipment name in NeqSim.private final StringThe simple class name of the equipment (e.g.private final StringThe function area identifier (e.g.private final IEC81346LetterCodeThe IEC 81346-2 letter code.private final StringThe full IEC 81346 reference designation string.private final intThe sequence number within the letter code category.private static final long -
Constructor Summary
ConstructorsConstructorDescriptionDesignationEntry(String equipmentName, String equipmentType, String referenceDesignation, IEC81346LetterCode letterCode, int sequenceNumber, String functionArea) Creates a new designation entry. -
Method Summary
Modifier and TypeMethodDescriptionReturns the original equipment name in NeqSim.Returns the simple class name of the equipment.Returns the function area identifier.Returns the IEC 81346-2 letter code.Returns the full IEC 81346 reference designation string.intReturns the sequence number within the letter code category.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
equipmentName
The original equipment name in NeqSim. -
equipmentType
The simple class name of the equipment (e.g. "Separator", "Compressor"). -
referenceDesignation
The full IEC 81346 reference designation string. -
letterCode
The IEC 81346-2 letter code. -
sequenceNumber
private final int sequenceNumberThe sequence number within the letter code category. -
functionArea
The function area identifier (e.g. "A1", "A2").
-
-
Constructor Details
-
DesignationEntry
public DesignationEntry(String equipmentName, String equipmentType, String referenceDesignation, IEC81346LetterCode letterCode, int sequenceNumber, String functionArea) Creates a new designation entry.- Parameters:
equipmentName- the original equipment nameequipmentType- the simple class name of the equipmentreferenceDesignation- the full reference designation stringletterCode- the IEC 81346-2 letter codesequenceNumber- the sequence number within the letter code categoryfunctionArea- the function area identifier
-
-
Method Details
-
getEquipmentName
Returns the original equipment name in NeqSim.- Returns:
- the equipment name
-
getEquipmentType
Returns the simple class name of the equipment.- Returns:
- the equipment type, e.g. "Separator", "Compressor"
-
getReferenceDesignation
Returns the full IEC 81346 reference designation string.- Returns:
- the reference designation, e.g. "=A1-B1+P1.M1"
-
getLetterCode
Returns the IEC 81346-2 letter code.- Returns:
- the letter code
-
getSequenceNumber
public int getSequenceNumber()Returns the sequence number within the letter code category.- Returns:
- the sequence number (1-based)
-
getFunctionArea
Returns the function area identifier.- Returns:
- the function area, e.g. "A1"
-
toString
-