Package entity.medicaltechnology
Class MedicalTechnology
java.lang.Object
entity.medicaltechnology.MedicalTechnology
Describe a medical technology used inside the operating block.
-
Constructor Summary
ConstructorDescriptionConstructor of a medical technology that is not placed inside any room.MedicalTechnology
(MedicalTechnologyID id, MedicalTechnologyType type, Optional<RoomID> roomID) Default constructor. -
Method Summary
-
Constructor Details
-
MedicalTechnology
public MedicalTechnology(MedicalTechnologyID id, MedicalTechnologyType type, Optional<RoomID> roomID) Default constructor.- Parameters:
id
- the id.type
- the type.roomID
- the room id.
-
MedicalTechnology
Constructor of a medical technology that is not placed inside any room.- Parameters:
id
- the id.type
- the type.
-
-
Method Details
-
getId
Get the id of the medical technology.- Returns:
- the id
-
getType
Get the type of the medical technology.- Returns:
- the type
-
getRoomID
Get the room where the medical technology is currently placed.- Returns:
- the room id
-
equals
-
hashCode
public final int hashCode()
-