Class Seat
- java.lang.Object
-
- org.optaplanner.examples.common.domain.AbstractPersistable
-
- org.optaplanner.examples.dinnerparty.domain.Seat
-
- All Implemented Interfaces:
Serializable
public class Seat extends AbstractPersistable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
-
-
Constructor Summary
Constructors Constructor Description Seat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabel()SeatgetLeftSeat()GendergetRequiredGender()SeatgetRightSeat()intgetSeatIndexInTable()TablegetTable()voidsetLeftSeat(Seat leftSeat)voidsetRightSeat(Seat rightSeat)voidsetSeatIndexInTable(int seatIndexInTable)voidsetTable(Table table)StringtoString()-
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
getId, setId
-
-
-
-
Method Detail
-
getTable
public Table getTable()
-
setTable
public void setTable(Table table)
-
getSeatIndexInTable
public int getSeatIndexInTable()
-
setSeatIndexInTable
public void setSeatIndexInTable(int seatIndexInTable)
-
getLeftSeat
public Seat getLeftSeat()
-
setLeftSeat
public void setLeftSeat(Seat leftSeat)
-
getRightSeat
public Seat getRightSeat()
-
setRightSeat
public void setRightSeat(Seat rightSeat)
-
getRequiredGender
public Gender getRequiredGender()
-
getLabel
public String getLabel()
-
toString
public String toString()
- Overrides:
toStringin classAbstractPersistable
-
-