Package repast.simphony.scenario
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 Summary
Fields Modifier and Type Field Description protected Class<T>
actionClass
-
Constructor Summary
Constructors Constructor Description AbstractControllerActionIO(Class<T> actionClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<T>
getActionClass()
Gets the Class of the ControllerAction that this ControllerActionIO can save and load.String
getSerializationID()
Gets the id for this ControllerActionIO to be used in loading and saving a ControllerAction.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface repast.simphony.scenario.ControllerActionIO
getActionLoader, getActionSaver
-
-
-
-
Field Detail
-
actionClass
protected Class<T extends ControllerAction> actionClass
-
-
Method Detail
-
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 interfaceControllerActionIO
- 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 interfaceControllerActionIO
- Returns:
- the Class of the ControllerAction that this ControllerActionIO can save and load.
-
-