Class AbstractControllerActionIO<T extends ControllerAction>

java.lang.Object
repast.simphony.scenario.AbstractControllerActionIO<T>
All Implemented Interfaces:
ControllerActionIO
Direct Known Subclasses:
AbstractDescriptorControllerActionIO, DefaultControllerActionIO

public abstract class AbstractControllerActionIO<T extends ControllerAction> extends Object implements ControllerActionIO
  • Field Details

  • Constructor Details

    • AbstractControllerActionIO

      public AbstractControllerActionIO(Class<T> actionClass)
  • Method Details

    • getSerializationID

      public String getSerializationID()
      Description copied from interface: ControllerActionIO
      Gets the id for this ControllerActionIO to be used in loading and saving a ControllerAction. This id associates the saved action with this ControllerActionIO.
      Specified by:
      getSerializationID in interface ControllerActionIO
      Returns:
      the id for this ControllerActionIO to be used in loading and saving a ControllerAction
    • getActionClass

      public Class<T> getActionClass()
      Description copied from interface: ControllerActionIO
      Gets the Class of the ControllerAction that this ControllerActionIO can save and load.
      Specified by:
      getActionClass in interface ControllerActionIO
      Returns:
      the Class of the ControllerAction that this ControllerActionIO can save and load.