Class DockModel
java.lang.Object
java.util.Observable
de.uka.ipd.sdq.codegen.simucontroller.dockmodel.DockModel
- All Implemented Interfaces:
Serializable
This class represents a single Simulation Dock's status. It fires events if the status of the
dock changes.
- See Also:
-
Constructor Summary
ConstructorDescriptionDockModel
(SimulationDockService service) DockModel
(SimulationDockService service, String remoteMaschineURI) -
Method Summary
Modifier and TypeMethodDescriptiongetID()
long
int
double
boolean
isIdle()
boolean
isRemote()
boolean
boolean
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 Details
-
DockModel
-
DockModel
-
-
Method Details
-
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
-
getService
-
isRemote
public boolean isRemote() -
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)
-