Enum Class DesignPhase
- All Implemented Interfaces:
Serializable, Comparable<DesignPhase>, Constable
Enumeration of field development design phases with associated accuracy requirements.
Each phase represents a stage in the project lifecycle with specific deliverables and accuracy expectations for sizing, weight, and cost estimates.
- Version:
- 1.0
- Author:
- esol
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAs-Built phase.Concept Select phase.Detail Design phase.FEED (Front End Engineering Design) phase.Pre-FEED phase.Screening/Opportunity phase. -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDesignPhase(String displayName, double minAccuracy, double maxAccuracy, String description) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet accuracy range as a formatted string.Get phase description.Get human-readable display name.doubleGet maximum expected accuracy as fraction.doubleGet minimum expected accuracy as fraction.booleanCheck if this phase requires detailed design standards compliance.booleanCheck if this phase requires full mechanical design calculations.toString()static DesignPhaseReturns the enum constant of this class with the specified name.static DesignPhase[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SCREENING
Screening/Opportunity phase. Rough order of magnitude estimates. Accuracy: ±40-50%. -
CONCEPT_SELECT
Concept Select phase. Preliminary sizing and layout. Accuracy: ±30%. -
PRE_FEED
Pre-FEED phase. More refined estimates for concept selection. Accuracy: ±25%. -
FEED
FEED (Front End Engineering Design) phase. Detailed sizing for sanction. Accuracy: ±15-20%. -
DETAIL_DESIGN
Detail Design phase. Final design for procurement. Accuracy: ±10%. -
AS_BUILT
As-Built phase. Actual installed equipment data. Accuracy: ±5%.
-
-
Field Details
-
displayName
-
minAccuracy
private final double minAccuracy -
maxAccuracy
private final double maxAccuracy -
description
-
-
Constructor Details
-
DesignPhase
Constructor.- Parameters:
displayName- human-readable nameminAccuracy- minimum expected accuracy (as fraction, e.g., 0.15 = 15%)maxAccuracy- maximum expected accuracydescription- phase description
-
-
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
-
getDisplayName
-
getMinAccuracy
public double getMinAccuracy()Get minimum expected accuracy as fraction.- Returns:
- minimum accuracy (e.g., 0.15 for 15%)
-
getMaxAccuracy
public double getMaxAccuracy()Get maximum expected accuracy as fraction.- Returns:
- maximum accuracy (e.g., 0.20 for 20%)
-
getAccuracyRange
Get accuracy range as a formatted string.- Returns:
- formatted accuracy range (e.g., "±15-20%")
-
getDescription
-
requiresDetailedCompliance
public boolean requiresDetailedCompliance()Check if this phase requires detailed design standards compliance.- Returns:
- true if detailed compliance checking is required
-
requiresFullMechanicalDesign
public boolean requiresFullMechanicalDesign()Check if this phase requires full mechanical design calculations.- Returns:
- true if full calculations are required
-
toString
- Overrides:
toStringin classEnum<DesignPhase>
-