Salome HOME
9a0457ad71cd79cc9998ce1978b878f623d73dfe
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / service / StepService.java
1 /*****************************************************************************
2  * Company         EURIWARE
3  * Application     SIMAN
4  * File            $Id$ 
5  * Creation date   06.10.2012
6  * @author         $Author$
7  * @version        $Revision$
8  *****************************************************************************/
9
10 package org.splat.service;
11
12 import org.splat.dal.bo.som.SimulationContext;
13 import org.splat.kernel.InvalidPropertyException;
14 import org.splat.kernel.MissedPropertyException;
15 import org.splat.kernel.MultiplyDefinedException;
16 import org.splat.som.Step;
17
18 /**
19  * @author RKV
20  * 
21  */
22 public interface StepService {
23
24         public SimulationContext addSimulationContext(Step aStep,
25                         SimulationContext.Properties dprop) throws MissedPropertyException,
26                         InvalidPropertyException, MultiplyDefinedException,
27                         RuntimeException;
28
29         /**
30          * @param firstStep
31          * @param context
32          * @return
33          */
34         public SimulationContext addSimulationContext(Step firstStep,
35                         SimulationContext context);
36
37         public boolean removeSimulationContext(Step aStep, SimulationContext context);
38 }