org.drools.planner.examples.pas.domain
Class BedDesignation

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

public class BedDesignation
extends AbstractPersistable
implements Comparable<BedDesignation>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
BedDesignation()
           
 
Method Summary
 BedDesignation clone()
           
 int compareTo(BedDesignation other)
           
 AdmissionPart getAdmissionPart()
           
 int getAdmissionPartNightCount()
           
 Specialism getAdmissionPartSpecialism()
           
 Bed getBed()
           
 Department getDepartment()
           
 Patient getPatient()
           
 int getPatientAge()
           
 Gender getPatientGender()
           
 int getPatientPreferredMaximumRoomCapacity()
           
 Room getRoom()
           
 int getRoomCapacity()
           
 GenderLimitation getRoomGenderLimitation()
           
 void setAdmissionPart(AdmissionPart admissionPart)
           
 void setBed(Bed bed)
           
 boolean solutionEquals(Object o)
          The normal methods Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already requires them (for performance in their original state).
 int solutionHashCode()
          The normal methods Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already requires them (for performance in their original state).
 String toString()
           
 
Methods inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
getId, setId
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BedDesignation

public BedDesignation()
Method Detail

getAdmissionPart

public AdmissionPart getAdmissionPart()

setAdmissionPart

public void setAdmissionPart(AdmissionPart admissionPart)

getBed

public Bed getBed()

setBed

public void setBed(Bed bed)

compareTo

public int compareTo(BedDesignation other)
Specified by:
compareTo in interface Comparable<BedDesignation>

clone

public BedDesignation clone()
Overrides:
clone in class Object

solutionEquals

public boolean solutionEquals(Object o)
The normal methods Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already requires them (for performance in their original state).

See Also:
solutionHashCode()

solutionHashCode

public int solutionHashCode()
The normal methods Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already requires them (for performance in their original state).

See Also:
solutionEquals(Object)

toString

public String toString()
Overrides:
toString in class AbstractPersistable

getPatient

public Patient getPatient()

getPatientGender

public Gender getPatientGender()

getPatientAge

public int getPatientAge()

getPatientPreferredMaximumRoomCapacity

public int getPatientPreferredMaximumRoomCapacity()

getAdmissionPartSpecialism

public Specialism getAdmissionPartSpecialism()

getAdmissionPartNightCount

public int getAdmissionPartNightCount()

getRoom

public Room getRoom()

getRoomCapacity

public int getRoomCapacity()

getDepartment

public Department getDepartment()

getRoomGenderLimitation

public GenderLimitation getRoomGenderLimitation()


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.