org.optaplanner.examples.dinnerparty.domain
Class SeatDesignation
java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.dinnerparty.domain.SeatDesignation
- All Implemented Interfaces:
- Serializable, Comparable<AbstractPersistable>
public class SeatDesignation
- extends AbstractPersistable
- See Also:
- Serialized Form
SeatDesignation
public SeatDesignation()
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
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.