Class DockModel
- java.lang.Object
-
- java.util.Observable
-
- de.uka.ipd.sdq.codegen.simucontroller.dockmodel.DockModel
-
- All Implemented Interfaces:
Serializable
public class DockModel extends Observable implements Serializable
This class represents a single Simulation Dock's status. It fires events if the status of the dock changes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DockModel(SimulationDockService service)
DockModel(SimulationDockService service, String remoteMaschineURI)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getID()
long
getMeasurementCount()
int
getPercentDone()
String
getRemoteMaschineURI()
SimulationDockService
getService()
double
getSimTime()
boolean
isIdle()
boolean
isRemote()
boolean
isStepping()
boolean
isSuspended()
void
setIdle(boolean idle)
void
setIsStepping(boolean isStepping)
void
setIsSuspended(boolean isSuspended)
void
setMeasurementCount(long measurementCount)
void
setPercentDone(int percentDone)
void
setSimTime(double simTime)
void
setStarted(boolean started)
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Constructor Detail
-
DockModel
public DockModel(SimulationDockService service)
-
DockModel
public DockModel(SimulationDockService service, String remoteMaschineURI)
-
-
Method Detail
-
getPercentDone
public int getPercentDone()
-
getSimTime
public double getSimTime()
-
getMeasurementCount
public long getMeasurementCount()
-
isIdle
public boolean isIdle()
-
setPercentDone
public void setPercentDone(int percentDone)
-
setSimTime
public void setSimTime(double simTime)
-
setMeasurementCount
public void setMeasurementCount(long measurementCount)
-
setIdle
public void setIdle(boolean idle)
-
getID
public String getID()
-
getService
public SimulationDockService getService()
-
isRemote
public boolean isRemote()
-
getRemoteMaschineURI
public String getRemoteMaschineURI()
-
isStepping
public boolean isStepping()
-
setIsStepping
public void setIsStepping(boolean isStepping)
-
isSuspended
public boolean isSuspended()
-
setIsSuspended
public void setIsSuspended(boolean isSuspended)
-
setStarted
public void setStarted(boolean started)
-
-