Class CNDataLoaderControllerActionIO
- java.lang.Object
-
- repast.simphony.scenario.AbstractControllerActionIO<T>
-
- repast.simphony.scenario.DefaultControllerActionIO<ClassNameDataLoaderAction>
-
- repast.simphony.dataLoader.engine.CNDataLoaderControllerActionIO
-
- All Implemented Interfaces:
ControllerActionIO
public class CNDataLoaderControllerActionIO extends DefaultControllerActionIO<ClassNameDataLoaderAction>
A ControllerActionIO for loading / saving ClassNameDataLoaderAction-s.- Author:
- Nick Collier
-
-
Field Summary
-
Fields inherited from class repast.simphony.scenario.AbstractControllerActionIO
actionClass
-
-
Constructor Summary
Constructors Constructor Description CNDataLoaderControllerActionIO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionLoader
getActionLoader(File actionFile, Object contextID)
Gets the ActionLoader used to load the saved action.ActionSaver
getActionSaver()
Gets the ActionSaver used to save the ControllerAction.-
Methods inherited from class repast.simphony.scenario.AbstractControllerActionIO
getActionClass, getSerializationID
-
-
-
-
Method Detail
-
getActionSaver
public ActionSaver getActionSaver()
Description copied from interface:ControllerActionIO
Gets the ActionSaver used to save the ControllerAction.- Specified by:
getActionSaver
in interfaceControllerActionIO
- Overrides:
getActionSaver
in classDefaultControllerActionIO<ClassNameDataLoaderAction>
- Returns:
- the ActionSaver used to save the ControllerAction.
-
getActionLoader
public ActionLoader getActionLoader(File actionFile, Object contextID)
Description copied from interface:ControllerActionIO
Gets the ActionLoader used to load the saved action.- Specified by:
getActionLoader
in interfaceControllerActionIO
- Overrides:
getActionLoader
in classDefaultControllerActionIO<ClassNameDataLoaderAction>
- Parameters:
actionFile
- the File containing the serialized datacontextID
- the context the context to load the action into- Returns:
- the ActionLoader used to load the saved action.
-
-