Class EngineConstants

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

public final class EngineConstants extends Object
Constants for engine state management.

Defines context levels for variable scoping and base units for different stream types in the simulation engine.

  • Field Details

    • GLOBAL_CONTEXT

      public static final int GLOBAL_CONTEXT
      Global context level for variables accessible throughout the system.
      See Also:
    • STANZA_CONTEXT

      public static final int STANZA_CONTEXT
      Stanza context level for variables accessible within a stanza.
      See Also:
    • APPLICATION_CONTEXT

      public static final int APPLICATION_CONTEXT
      Application context level for variables accessible within an application.
      See Also:
    • SUBSTANCE_CONTEXT

      public static final int SUBSTANCE_CONTEXT
      Substance context level for variables accessible within a substance.
      See Also:
  • Method Details

    • getBaseUnits

      public static String getBaseUnits(String streamName)
      Get the base units for a given stream name.
      Parameters:
      streamName - The name of the stream
      Returns:
      The base units for the stream, or null if not found