org.drools.planner.examples.manners2009.domain
Class Table

java.lang.Object
  extended by org.drools.planner.examples.common.domain.AbstractPersistable
      extended by org.drools.planner.examples.manners2009.domain.Table
All Implemented Interfaces:
Serializable, Comparable<Table>

public class Table
extends AbstractPersistable
implements Comparable<Table>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
Table()
           
 
Method Summary
 int compareTo(Table other)
           
 List<Seat> getSeatList()
           
 int getTableIndex()
           
 void setSeatList(List<Seat> seatList)
           
 void setTableIndex(int tableIndex)
           
 String toString()
           
 
Methods inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Table

public Table()
Method Detail

getTableIndex

public int getTableIndex()

setTableIndex

public void setTableIndex(int tableIndex)

getSeatList

public List<Seat> getSeatList()

setSeatList

public void setSeatList(List<Seat> seatList)

compareTo

public int compareTo(Table other)
Specified by:
compareTo in interface Comparable<Table>

toString

public String toString()
Overrides:
toString in class AbstractPersistable


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.