org.optaplanner.examples.pas.domain
Class Room
java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.pas.domain.Room
- All Implemented Interfaces:
- Serializable, Comparable<AbstractPersistable>
public class Room
- extends AbstractPersistable
- See Also:
- Serialized Form
Constructor Summary |
Room()
|
Room
public Room()
getName
public String getName()
setName
public void setName(String name)
getDepartment
public Department getDepartment()
setDepartment
public void setDepartment(Department department)
getCapacity
public int getCapacity()
setCapacity
public void setCapacity(int capacity)
getGenderLimitation
public GenderLimitation getGenderLimitation()
setGenderLimitation
public void setGenderLimitation(GenderLimitation genderLimitation)
getRoomSpecialismList
public List<RoomSpecialism> getRoomSpecialismList()
setRoomSpecialismList
public void setRoomSpecialismList(List<RoomSpecialism> roomSpecialismList)
getRoomEquipmentList
public List<RoomEquipment> getRoomEquipmentList()
setRoomEquipmentList
public void setRoomEquipmentList(List<RoomEquipment> roomEquipmentList)
getBedList
public List<Bed> getBedList()
setBedList
public void setBedList(List<Bed> bedList)
getLabel
public String getLabel()
toString
public String toString()
- Overrides:
toString
in class AbstractPersistable
countHardDisallowedAdmissionPart
public int countHardDisallowedAdmissionPart(AdmissionPart admissionPart)
countMissingRequiredRoomProperties
public int countMissingRequiredRoomProperties(Patient patient)
countDisallowedPatientGender
public int countDisallowedPatientGender(Patient patient)
countSoftDisallowedAdmissionPart
public int countSoftDisallowedAdmissionPart(AdmissionPart admissionPart)
countMissingPreferredRoomProperties
public int countMissingPreferredRoomProperties(Patient patient)
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.