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 Details

    • getValue

      double getValue(String returnParameter, String returnUnit)

      getValue.

      Parameters:
      returnParameter - a String object
      returnUnit - a String object
      Returns:
      a double
    • getValue

      double getValue(String returnParameter)

      getValue.

      Parameters:
      returnParameter - a String object
      Returns:
      a double
    • getUnit

      String getUnit(String returnParameter)

      getUnit.

      Parameters:
      returnParameter - a String object
      Returns:
      a String object
    • calculate

      void calculate()

      calculate.

    • isOnSpec

      boolean isOnSpec()

      isOnSpec.

      Returns:
      a boolean
    • getSalesContract

      ContractInterface getSalesContract()

      getSalesContract.

      Returns:
      a ContractInterface object
    • setSalesContract

      void setSalesContract(String name)

      setSalesContract.

      Parameters:
      name - a String object
    • setSalesContract

      void setSalesContract(ContractInterface salesContract)

      setSalesContract.

      Parameters:
      salesContract - a ContractInterface object
    • getName

      String getName()

      getName.

      Returns:
      a String object
    • getStandardDescription

      String getStandardDescription()

      getStandardDescription.

      Returns:
      a String object
    • createTable

      String[][] createTable(String name)

      createTable.

      Parameters:
      name - a String object
      Returns:
      an array of String objects
    • display

      void display(String name)

      display.

      Parameters:
      name - a String object
    • getThermoSystem

      SystemInterface getThermoSystem()

      getThermoSystem.

      Returns:
      a SystemInterface object
    • setThermoSystem

      void setThermoSystem(SystemInterface thermoSystem)

      setThermoSystem.

      Parameters:
      thermoSystem - a SystemInterface object
    • getResultTable

      String[][] getResultTable()

      getResultTable.

      Returns:
      an array of String objects
    • setResultTable

      void setResultTable(String[][] resultTable)

      setResultTable.

      Parameters:
      resultTable - an array of String objects
    • 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