Class Room
java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.pas.domain.Room
- All Implemented Interfaces:
Labeled
-
Field Summary
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id -
Constructor Summary
ConstructorsConstructorDescriptionRoom()Room(long id, String name, Department department, int capacity, GenderLimitation genderLimitation) -
Method Summary
Modifier and TypeMethodDescriptionintcountDisallowedPatientGender(Patient patient) intcountHardDisallowedAdmissionPart(AdmissionPart admissionPart) intintintcountSoftDisallowedAdmissionPart(AdmissionPart admissionPart) intgetLabel()getName()voidsetBedList(List<Bed> bedList) voidsetCapacity(int capacity) voidsetDepartment(Department department) voidsetGenderLimitation(GenderLimitation genderLimitation) voidvoidsetRoomEquipmentList(List<RoomEquipment> roomEquipmentList) voidsetRoomSpecialismList(List<RoomSpecialism> roomSpecialismList) toString()Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
getId, setId
-
Constructor Details
-
Room
public Room() -
Room
public Room(long id, String name, Department department, int capacity, GenderLimitation genderLimitation)
-
-
Method Details
-
getName
-
setName
-
getDepartment
-
setDepartment
-
getCapacity
public int getCapacity() -
setCapacity
public void setCapacity(int capacity) -
getGenderLimitation
-
setGenderLimitation
-
getRoomSpecialismList
-
setRoomSpecialismList
-
getRoomEquipmentList
-
setRoomEquipmentList
-
getBedList
-
setBedList
-
countHardDisallowedAdmissionPart
-
countMissingRequiredRoomProperties
-
countDisallowedPatientGender
-
countSoftDisallowedAdmissionPart
-
countMissingPreferredRoomProperties
-
getLabel
-
toString
- Overrides:
toStringin classAbstractPersistable
-