lacam.processes
Class DefaultModelManager

java.lang.Object
  extended bylacam.processes.DefaultModelManager
All Implemented Interfaces:
ModelManager, Process

public class DefaultModelManager
extends java.lang.Object
implements ModelManager

This class copies data coming from the preprocessor to the analysis and the userinterface without any manipulation.

Author:
Dimitrij Zub

Field Summary
 
Fields inherited from interface lacam.interfaces.Process
ANALYSIS, DATASOURCE, DATATARGET, MODELMANAGER, PARAMKEY_LANGUAGE_PACK, PARAMKEY_PLUGIN_NAME, POSTPROCESS, PREPROCESS, USERINTERFACE
 
Constructor Summary
DefaultModelManager()
           
 
Method Summary
 java.lang.Object[] getAnalysisModel()
          Returns the data model for the Analysis instance
 java.lang.Object[] getUIModel()
          Returns the data model for the Userinterface instance
 void init(java.util.Properties parametermap)
          the initialisation of a process instance the described parameterlist will be given here
 void reinit()
          called, if a process threw the goBackException
 void setModel(java.lang.Object[] data)
          Gives the ModelManager instance the model created by the PreProcess
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultModelManager

public DefaultModelManager()
Method Detail

init

public void init(java.util.Properties parametermap)
Description copied from interface: Process
the initialisation of a process instance the described parameterlist will be given here

Specified by:
init in interface Process

setModel

public void setModel(java.lang.Object[] data)
Description copied from interface: ModelManager
Gives the ModelManager instance the model created by the PreProcess

Specified by:
setModel in interface ModelManager

getAnalysisModel

public java.lang.Object[] getAnalysisModel()
Description copied from interface: ModelManager
Returns the data model for the Analysis instance

Specified by:
getAnalysisModel in interface ModelManager

getUIModel

public java.lang.Object[] getUIModel()
Description copied from interface: ModelManager
Returns the data model for the Userinterface instance

Specified by:
getUIModel in interface ModelManager

reinit

public void reinit()
Description copied from interface: Process
called, if a process threw the goBackException

Specified by:
reinit in interface Process