OptaPlanner distribution 6.2.1-SNAPSHOT

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>, Labeled

public class SeatDesignation
extends AbstractPersistable
implements Labeled

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()
           
 String getLabel()
           
 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)

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.