org.drools.planner.examples.travelingtournament.domain
Class Match

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

public class Match
extends AbstractPersistable
implements Comparable<Match>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
Match()
           
 
Method Summary
 Match clone()
           
 int compareTo(Match other)
           
 Team getAwayTeam()
           
 Day getDay()
           
 Team getHomeTeam()
           
 void setAwayTeam(Team awayTeam)
           
 void setDay(Day day)
           
 void setHomeTeam(Team homeTeam)
           
 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

Match

public Match()
Method Detail

getHomeTeam

public Team getHomeTeam()

setHomeTeam

public void setHomeTeam(Team homeTeam)

getAwayTeam

public Team getAwayTeam()

setAwayTeam

public void setAwayTeam(Team awayTeam)

getDay

public Day getDay()

setDay

public void setDay(Day day)

compareTo

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

clone

public Match 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


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