org.eodisp.core.common
Interface SmModelService

All Known Implementing Classes:
SmModelServiceImpl

public interface SmModelService

The service that can be used to query the project model of the simulation manager application. This interface is only accessible from a local node. It is never exported to be remotely available. Hence, the name is a bit misleading. However, this class could be well used as a remote interface for querying the model of the simulation manager.

Version:
$Id:$
Author:
eglimi

Method Summary
 org.eclipse.emf.ecore.sdo.EDataGraph getAllData()
          Returns all data currently stored in the project file.
 void update(org.eclipse.emf.ecore.sdo.EDataGraph dg)
          Updates the simulation manager project file according to the changes included in the data graph.
 

Method Detail

getAllData

org.eclipse.emf.ecore.sdo.EDataGraph getAllData()
                                                throws java.io.IOException
Returns all data currently stored in the project file.

Returns:
A data graph representing all data currently in the model.
Throws:
java.io.IOException

update

void update(org.eclipse.emf.ecore.sdo.EDataGraph dg)
            throws java.io.IOException
Updates the simulation manager project file according to the changes included in the data graph.

Parameters:
dg - The data graph that includes the changes that are to be made to the simulation manager project file.
Throws:
java.io.IOException