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

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

public class SeatDesignation
extends AbstractPersistable
implements Comparable<SeatDesignation>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
SeatDesignation()
           
 
Method Summary
 SeatDesignation clone()
           
 int compareTo(SeatDesignation other)
           
 Guest getGuest()
           
 Job getGuestJob()
           
 JobType getGuestJobType()
           
 Seat getSeat()
           
 Table getSeatTable()
           
 void setGuest(Guest guest)
           
 void setSeat(Seat seat)
           
 boolean solutionEquals(Object o)
          The normal methods Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already requires them (for performance in their original state).
 int solutionHashCode()
          The normal methods Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already requires them (for performance in their original state).
 String toString()
           
 
Methods inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
getId, setId
 
Methods inherited from class java.lang.Object
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)

compareTo

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

clone

public SeatDesignation clone()
Overrides:
clone in class Object

solutionEquals

public boolean solutionEquals(Object o)
The normal methods Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already requires them (for performance in their original state).

See Also:
solutionHashCode()

solutionHashCode

public int solutionHashCode()
The normal methods Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already requires them (for performance in their original state).

See Also:
solutionEquals(Object)

toString

public String toString()
Overrides:
toString in class AbstractPersistable

getGuestJob

public Job getGuestJob()

getGuestJobType

public JobType getGuestJobType()

getSeatTable

public Table getSeatTable()


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.