Class CommonEquipment
java.lang.Object
de.gustavblass.fsu.fmi.roombooking.model.room.equipment.RoomEquipment
de.gustavblass.fsu.fmi.roombooking.model.room.equipment.CommonEquipment
One piece of
RoomEquipment that are useful to all of a ConferenceRoom's occupants.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @Nullable ConferenceRoomTheConferenceRoomthat thisConferenceRoom.commonEquipmentis part of. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
room
TheConferenceRoomthat thisConferenceRoom.commonEquipmentis part of.
-
-
Constructor Details
-
CommonEquipment
public CommonEquipment()
-
-
Method Details
-
getType
- Returns:
- The
RoomEquipment.type. - Implementation Note:
- The typecast is okay because the
RoomEquipment.typewill always be aCommonEquipmentTypedue to the constraints. The field cannot be present in this class, because otherwise the field would be needed either inIndividualEquipmentTypeor inRoomEquipment; this would lead to a “duplicate column” error.
-
getRoom
-