cad.simcad.objectserver.spec.cac.common
Interface Status

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
MDTDeviceI, MDTStatus

public interface Status
extends java.io.Serializable

Interface toward the Status of a EmergencyVehicule

Author:
Charles-Philip Bentley

Method Summary
 Id getId()
          Returns the ID for this Status object
 java.lang.String getStatusString()
          Returns the Status as a string
 boolean isFreeForMission()
          Returns true if status means we can send Object to make a mission
 

Method Detail

getId

public Id getId()
Returns the ID for this Status object

Pre:
-
Post:
the ID identifying the Object for this status

getStatusString

public java.lang.String getStatusString()
Returns the Status as a string

Pre:
-
Returns:
a String object
Post:
Returns a String s: s= "mission" Object Busy in Mission s= "free" ObjectFree

isFreeForMission

public boolean isFreeForMission()
Returns true if status means we can send Object to make a mission

Pre:
-
Post:
returns true if status means we can send Object to make a mission false otherwise

Logo

With the help of www.sourceforge.net and www.info.ucl.ac.be