@OpenApiAll public class SimulationExecution extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected fUML.Semantics.Loci.LociL1.Locus |
locus
the execution locus.
|
protected SimulationSession |
mainSession
the main session of this simulation execution.
|
protected java.util.Set<SimulationExecutionListener> |
simulationListeners
Simulation Execution Listener.
|
Constructor and Description |
---|
SimulationExecution() |
Modifier and Type | Method and Description |
---|---|
boolean |
addSimulationListener(SimulationExecutionListener listener)
Add the specified simulation execution listener.
|
fUML.Semantics.Loci.LociL1.Locus |
getExecutionLocus()
Get the execution
Locus . |
SimulationSession |
getMainSession()
get main session.
|
java.util.Set<SimulationExecutionListener> |
getSimulationExecutionListener()
get the registered SimulationExecutionListener.
|
boolean |
removeSimulationListener(SimulationExecutionListener listener)
Removes the specified simulation execution listener.
|
void |
setExecutionLocus(fUML.Semantics.Loci.LociL1.Locus locus)
Set the execution
Locus . |
protected fUML.Semantics.Loci.LociL1.Locus locus
protected SimulationSession mainSession
protected java.util.Set<SimulationExecutionListener> simulationListeners
public fUML.Semantics.Loci.LociL1.Locus getExecutionLocus()
Locus
.Locus
public void setExecutionLocus(fUML.Semantics.Loci.LociL1.Locus locus)
Locus
.locus
- the specified Locus
public SimulationSession getMainSession()
public boolean addSimulationListener(SimulationExecutionListener listener)
listener
- the specified simulation execution listenerpublic boolean removeSimulationListener(SimulationExecutionListener listener)
listener
- the specified simulation execution listenerpublic java.util.Set<SimulationExecutionListener> getSimulationExecutionListener()