OptaPlanner distribution 6.2.1-SNAPSHOT

org.optaplanner.examples.pas.domain
Class Bed

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

public class Bed
extends AbstractPersistable
implements Labeled

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
Bed()
           
 
Method Summary
 int getIndexInRoom()
           
 String getLabel()
           
 String getLabelInRoom()
           
 Room getRoom()
           
 void setIndexInRoom(int indexInRoom)
           
 void setRoom(Room room)
           
 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

Bed

public Bed()
Method Detail

getRoom

public Room getRoom()

setRoom

public void setRoom(Room room)

getIndexInRoom

public int getIndexInRoom()

setIndexInRoom

public void setIndexInRoom(int indexInRoom)

getLabelInRoom

public String getLabelInRoom()

getLabel

public String getLabel()
Specified by:
getLabel in interface Labeled

toString

public String toString()
Overrides:
toString in class AbstractPersistable

OptaPlanner distribution 6.2.1-SNAPSHOT

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