Package com.inesm.KeyManager.model
Interface SharedResource
- All Superinterfaces:
Resource,Serializable
A station resource that can be shared with different stations. Implementing
this interface will allow the resources to distributed between stations.
Currently the process of distribution is bound to a mission, consequently the
resources will be distributed to the station that owns the specified mission.
-
Method Summary
Methods inherited from interface com.inesm.KeyManager.model.Resource
deserialize, getResourceID, serialize
-
Method Details
-
getMissionUUID
String getMissionUUID()Gets the resource's assigned MissionUUID.- Returns:
- the missionUUID of the mission the resource is assigned to
-
isKey
boolean isKey()Checks if the resource is aKey.- Returns:
- true if the resource is a key, false otherwise.
-
isMission
boolean isMission()Checks if resource is aMission.- Returns:
- true if the resource is a mission, false otherwise
-