Package org.kigalisim.engine.state
Class SubstanceInApplicationId
java.lang.Object
org.kigalisim.engine.state.SubstanceInApplicationId
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 Summary
ConstructorsConstructorDescriptionSubstanceInApplicationId(String application, String substance) Create a new substance-in-application identifier. -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the application.Get the name of the substance.
-
Constructor Details
-
SubstanceInApplicationId
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
Get the name of the application.- Returns:
- The application name associated with this identifier
-
getSubstance
Get the name of the substance.- Returns:
- The substance name associated with this identifier
-