Class SeatDesignation
- java.lang.Object
-
- org.optaplanner.examples.common.domain.AbstractPersistable
-
- org.optaplanner.examples.dinnerparty.domain.SeatDesignation
-
- All Implemented Interfaces:
Serializable,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
Constructors Constructor Description SeatDesignation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandifferentKindIfNeeded(Job otherGuestJob)GuestgetGuest()GendergetGuestGender()JobgetGuestJob()JobTypegetGuestJobType()StringgetGuestName()StringgetLabel()SeatgetSeat()TablegetSeatTable()booleanisNeighborOf(SeatDesignation otherSeatDesignation)booleanisRightOf(SeatDesignation leftSeatDesignation)voidsetGuest(Guest guest)voidsetSeat(Seat seat)StringtoString()-
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
getId, setId
-
-
-
-
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:
toStringin classAbstractPersistable
-
-