OptaPlanner distribution 6.1.0.Final

org.optaplanner.examples.dinnerparty.domain
Class SeatDesignation

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

public class SeatDesignation
extends AbstractPersistable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
SeatDesignation()
           
 
Method Summary
 boolean differentKindIfNeeded(Job otherGuestJob)
           
 Guest getGuest()
           
 Gender getGuestGender()
           
 Job getGuestJob()
           
 JobType getGuestJobType()
           
 String getGuestName()
           
 Seat getSeat()
           
 Table getSeatTable()
           
 boolean isNeighborOf(SeatDesignation otherSeatDesignation)
           
 boolean isRightOf(SeatDesignation leftSeatDesignation)
           
 void setGuest(Guest guest)
           
 void setSeat(Seat seat)
           
 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

SeatDesignation

public SeatDesignation()
Method Detail

getGuest

public Guest getGuest()

setGuest

public void setGuest(Guest guest)

getSeat

public Seat getSeat()

setSeat

public void setSeat(Seat seat)

getGuestName

public String getGuestName()

getGuestGender

public Gender getGuestGender()

getGuestJob

public Job getGuestJob()

getGuestJobType

public JobType getGuestJobType()

differentKindIfNeeded

public boolean differentKindIfNeeded(Job otherGuestJob)

getSeatTable

public Table getSeatTable()

isRightOf

public boolean isRightOf(SeatDesignation leftSeatDesignation)

isNeighborOf

public boolean isNeighborOf(SeatDesignation otherSeatDesignation)

toString

public String toString()
Overrides:
toString in class AbstractPersistable

OptaPlanner distribution 6.1.0.Final

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