Package repast.simphony.data2.engine
Class DataSetControllerActionIO
java.lang.Object
repast.simphony.scenario.AbstractControllerActionIO<T>
repast.simphony.scenario.AbstractDescriptorControllerActionIO<DataSetComponentControllerAction,DataSetDescriptor>
repast.simphony.data2.engine.DataSetControllerActionIO
- All Implemented Interfaces:
ControllerActionIO
public class DataSetControllerActionIO
extends AbstractDescriptorControllerActionIO<DataSetComponentControllerAction,DataSetDescriptor>
ActionIO class that loads and saves DataSetComponentControllerActions from
and to DataSetDescriptors.
- Author:
- Nick Collier
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class repast.simphony.scenario.AbstractControllerActionIO
actionClass -
Constructor Summary
Constructors -
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
getActionSaverMethods inherited from class repast.simphony.scenario.AbstractControllerActionIO
getActionClass
-
Constructor Details
-
DataSetControllerActionIO
public DataSetControllerActionIO()
-
-
Method Details
-
getSerializationID
Description copied from interface:ControllerActionIOGets 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:
getSerializationIDin interfaceControllerActionIO- Overrides:
getSerializationIDin classAbstractControllerActionIO<DataSetComponentControllerAction>- Returns:
- the id for this ControllerActionIO to be used in loading and saving a ControllerAction
-
getActionLoader
Description copied from interface:ControllerActionIOGets 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.
-