Interface StandardInterface
- All Known Implementing Classes:
BestPracticeHydrocarbonDewPoint, Draft_GERG2004, Draft_ISO18453, GasChromotograpyhBase, Standard, Standard_ASTM_D6377, Standard_ISO15403, Standard_ISO6578, Standard_ISO6974, Standard_ISO6976, Standard_ISO6976_2016, SulfurSpecificationMethod, UKspecifications_ICF_SI
public interface StandardInterface
StandardInterface interface.
- Version:
- $Id: $Id
- Author:
- ESOL
-
Method Summary
Modifier and TypeMethodDescriptionvoidcalculate.String[][]createTable(String name) createTable.voiddisplay.getName()getName.doubleGetter for the fieldreferencePressure.String[][]getResultTable.getSalesContract.getStandardDescription.getThermoSystem.getUnit.doublegetValue.doublegetValue.booleanisOnSpec()isOnSpec.voidsetReferencePressure(double referencePressure) Setter for the fieldreferencePressure.voidsetResultTable(String[][] resultTable) setResultTable.voidsetSalesContract(String name) setSalesContract.voidsetSalesContract(ContractInterface salesContract) setSalesContract.voidsetThermoSystem(SystemInterface thermoSystem) setThermoSystem.
-
Method Details
-
getValue
-
getValue
-
getUnit
-
calculate
void calculate()calculate.
-
isOnSpec
boolean isOnSpec()isOnSpec.
- Returns:
- a boolean
-
getSalesContract
-
setSalesContract
-
setSalesContract
setSalesContract.
- Parameters:
salesContract- aContractInterfaceobject
-
getName
-
getStandardDescription
-
createTable
-
display
-
getThermoSystem
-
setThermoSystem
setThermoSystem.
- Parameters:
thermoSystem- aSystemInterfaceobject
-
getResultTable
-
setResultTable
-
getReferencePressure
double getReferencePressure()Getter for the field
referencePressure.- Returns:
- Reference pressure in bara
-
setReferencePressure
void setReferencePressure(double referencePressure) Setter for the field
referencePressure.- Parameters:
referencePressure- Reference pressure to set in in bara
-