diff --git a/src/main/java/neqsim/processSimulation/measurementDevice/HydrateEquilibriumTemperatureAnalyser.java b/src/main/java/neqsim/processSimulation/measurementDevice/HydrateEquilibriumTemperatureAnalyser.java index 9087e214ee..625412b88b 100644 --- a/src/main/java/neqsim/processSimulation/measurementDevice/HydrateEquilibriumTemperatureAnalyser.java +++ b/src/main/java/neqsim/processSimulation/measurementDevice/HydrateEquilibriumTemperatureAnalyser.java @@ -82,7 +82,7 @@ public double getMeasuredValue(String unit) { * Getter for the field referencePressure. *

* - * @return a double + * @return Reference pressure in bara */ public double getReferencePressure() { return referencePressure; @@ -93,7 +93,7 @@ public double getReferencePressure() { * Setter for the field referencePressure. *

* - * @param referencePressure a double + * @param referencePressure Reference pressure to set in in bara */ public void setReferencePressure(double referencePressure) { this.referencePressure = referencePressure; diff --git a/src/main/java/neqsim/processSimulation/measurementDevice/WaterDewPointAnalyser.java b/src/main/java/neqsim/processSimulation/measurementDevice/WaterDewPointAnalyser.java index 688b3cfbb1..6ab3770606 100644 --- a/src/main/java/neqsim/processSimulation/measurementDevice/WaterDewPointAnalyser.java +++ b/src/main/java/neqsim/processSimulation/measurementDevice/WaterDewPointAnalyser.java @@ -99,7 +99,7 @@ public double getMeasuredValue(String unit) { * Getter for the field referencePressure. *

* - * @return a double + * @return Reference pressure in bara */ public double getReferencePressure() { return referencePressure; @@ -110,7 +110,7 @@ public double getReferencePressure() { * Setter for the field referencePressure. *

* - * @param referencePressure a double + * @param referencePressure Reference pressure to set in in bara */ public void setReferencePressure(double referencePressure) { this.referencePressure = referencePressure; diff --git a/src/main/java/neqsim/standards/Standard.java b/src/main/java/neqsim/standards/Standard.java index 4a27d526e0..0373ede6f8 100644 --- a/src/main/java/neqsim/standards/Standard.java +++ b/src/main/java/neqsim/standards/Standard.java @@ -199,11 +199,15 @@ public void setReferenceState(String referenceState) { this.referenceState = referenceState; } - public void setReferencePressure(double referencePressure) { - this.referencePressure = referencePressure; + /** {@inheritDoc} */ + @Override + public double getReferencePressure() { + return referencePressure; } - public double getReferencePressure(){ - return referencePressure; + /** {@inheritDoc} */ + @Override + public void setReferencePressure(double referencePressure) { + this.referencePressure = referencePressure; } } diff --git a/src/main/java/neqsim/standards/StandardInterface.java b/src/main/java/neqsim/standards/StandardInterface.java index 7140224cc2..6449ccb17b 100644 --- a/src/main/java/neqsim/standards/StandardInterface.java +++ b/src/main/java/neqsim/standards/StandardInterface.java @@ -165,5 +165,21 @@ public interface StandardInterface { */ public void setResultTable(String[][] resultTable); + /** + *

+ * Getter for the field referencePressure. + *

+ * + * @return Reference pressure in bara + */ + public double getReferencePressure(); + + /** + *

+ * Setter for the field referencePressure. + *

+ * + * @param referencePressure Reference pressure to set in in bara + */ public void setReferencePressure(double referencePressure); } diff --git a/src/main/java/neqsim/standards/salesContract/ContractSpecification.java b/src/main/java/neqsim/standards/salesContract/ContractSpecification.java index 49f9fca59f..5d627a7141 100644 --- a/src/main/java/neqsim/standards/salesContract/ContractSpecification.java +++ b/src/main/java/neqsim/standards/salesContract/ContractSpecification.java @@ -202,7 +202,7 @@ public void setReferenceTemperatureMeasurement(double referenceTemperature) { * Getter for the field referencePressure. *

* - * @return a double + * @return Reference pressure in bara */ public double getReferencePressure() { return referencePressure; @@ -213,7 +213,7 @@ public double getReferencePressure() { * Setter for the field referencePressure. *

* - * @param referencePressure a double + * @param referencePressure Reference pressure to set in in bara */ public void setReferencePressure(double referencePressure) { this.referencePressure = referencePressure;