Module PauWareTwo

Class State

java.lang.Object
com.pauware.pauware_engine.Core.AbstractState
com.pauware.pauware_engine.Core.State
All Implemented Interfaces:
java.io.Serializable

public class State
extends AbstractState
implements java.io.Serializable
This concrete class represents the general notion of State in UML.

Compatibility: Java 9.

Since:
1.0
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • action

      protected AbstractAction action​(java.lang.Object object, java.lang.String action, java.lang.Object[] args, byte reentrance_mode)
      This method creates and returns an action instance that is compatible with the chosen platform, i.e., adaptation for platforms different from Java 9 have to provide specific code.
      Specified by:
      action in class AbstractState
      Parameters:
      object -
      action -
      args -
      reentrance_mode -
      Returns:
      This is an instance of Action if the reentrance_mode parameter is equal to AbstractState.No_reentrance; Otherwise, it is an instance of SendSignalAction.
      See Also:
      Action
    • activity

      protected AbstractAction activity​(java.lang.Object object, java.lang.String action, java.lang.Object[] args)
      This method creates and returns an action instance that is compatible with the chosen platform, i.e., adaptation for platforms different from Java 9 have to provide specific code.
      Specified by:
      activity in class AbstractState
      Parameters:
      object -
      action -
      args -
      Returns:
      This is an instance of Do_activity.
      See Also:
      Action
    • guard

      protected AbstractGuard guard​(java.lang.Object guard_object, java.lang.String guard_action, java.lang.Object[] guard_args)
      This method creates and returns an action instance that is compatible with the chosen platform, i.e., adaptation for platforms different from Java 9 have to provide specific code.
      Specified by:
      guard in class AbstractState
      Parameters:
      guard_object -
      guard_action -
      guard_args -
      Returns:
      This is an instance of Guard.
      See Also:
      Guard
    • createFather

      protected AbstractState createFather()
      This method creates and returns a superstate instance that is compatible with the chosen platform, i.e., adaptation for platforms different from Java 9 have to provide specific code.
      Specified by:
      createFather in class AbstractState
      Returns:
      This is an instance of State.