Class SubstanceInApplicationId

java.lang.Object
org.kigalisim.engine.state.SubstanceInApplicationId

public class SubstanceInApplicationId extends Object
Class representing a unique identifier for a substance within a specific application.

This class provides a unique identifier combining an application name and substance name to represent a substance used within a specific application context.

License:
BSD-3-Clause
  • Constructor Details

    • SubstanceInApplicationId

      public SubstanceInApplicationId(String application, String substance)
      Create a new substance-in-application identifier.
      Parameters:
      application - The name of the application (e.g., "domestic refrigeration")
      substance - The name of the substance (e.g., "HFC-134a")
  • Method Details

    • getApplication

      public String getApplication()
      Get the name of the application.
      Returns:
      The application name associated with this identifier
    • getSubstance

      public String getSubstance()
      Get the name of the substance.
      Returns:
      The substance name associated with this identifier