Package repast.simphony.data2.engine
Class FileSinkControllerActionIO
java.lang.Object
repast.simphony.scenario.AbstractControllerActionIO<T>
repast.simphony.scenario.AbstractDescriptorControllerActionIO<FileSinkComponentControllerAction,FileSinkDescriptor>
repast.simphony.data2.engine.FileSinkControllerActionIO
- All Implemented Interfaces:
ControllerActionIO
public class FileSinkControllerActionIO
extends AbstractDescriptorControllerActionIO<FileSinkComponentControllerAction,FileSinkDescriptor>
- Author:
- Nick Collier
-
Nested Class Summary
-
Field Summary
Fields inherited from class repast.simphony.scenario.AbstractControllerActionIO
actionClass
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetActionLoader
(File actionFile, Object contextID) Gets the ActionLoader used to load the saved action.Gets the id for this ControllerActionIO to be used in loading and saving a ControllerAction.Methods inherited from class repast.simphony.scenario.AbstractDescriptorControllerActionIO
getActionSaver
Methods inherited from class repast.simphony.scenario.AbstractControllerActionIO
getActionClass
-
Field Details
-
SERIALIZATION_ID
- See Also:
-
-
Constructor Details
-
FileSinkControllerActionIO
public FileSinkControllerActionIO()
-
-
Method Details
-
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
- Overrides:
getSerializationID
in classAbstractControllerActionIO<FileSinkComponentControllerAction>
- Returns:
- the id for this ControllerActionIO to be used in loading and saving a ControllerAction
-
getActionLoader
Description copied from interface:ControllerActionIO
Gets the ActionLoader used to load the saved action.- 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.
-