OptaPlanner examples 6.2.0.Beta1

org.optaplanner.examples.pas.domain
Class Department

java.lang.Object
  extended by org.optaplanner.examples.common.domain.AbstractPersistable
      extended by org.optaplanner.examples.pas.domain.Department
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>

public class Department
extends AbstractPersistable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
Department()
           
 
Method Summary
 int countDisallowedPatientAge(Patient patient)
           
 int countHardDisallowedAdmissionPart(AdmissionPart admissionPart)
           
 String getLabel()
           
 Integer getMaximumAge()
           
 Integer getMinimumAge()
           
 String getName()
           
 List<Room> getRoomList()
           
 void setMaximumAge(Integer maximumAge)
           
 void setMinimumAge(Integer minimumAge)
           
 void setName(String name)
           
 void setRoomList(List<Room> roomList)
           
 String toString()
           
 
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
compareTo, getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Department

public Department()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getMinimumAge

public Integer getMinimumAge()

setMinimumAge

public void setMinimumAge(Integer minimumAge)

getMaximumAge

public Integer getMaximumAge()

setMaximumAge

public void setMaximumAge(Integer maximumAge)

getRoomList

public List<Room> getRoomList()

setRoomList

public void setRoomList(List<Room> roomList)

getLabel

public String getLabel()

toString

public String toString()
Overrides:
toString in class AbstractPersistable

countHardDisallowedAdmissionPart

public int countHardDisallowedAdmissionPart(AdmissionPart admissionPart)

countDisallowedPatientAge

public int countDisallowedPatientAge(Patient patient)

OptaPlanner examples 6.2.0.Beta1

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.