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

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

public class HobbyPractician
extends AbstractPersistable
implements Comparable<HobbyPractician>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
HobbyPractician()
           
 
Method Summary
 int compareTo(HobbyPractician other)
           
 Guest getGuest()
           
 Hobby getHobby()
           
 void setGuest(Guest guest)
           
 void setHobby(Hobby hobby)
           
 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

HobbyPractician

public HobbyPractician()
Method Detail

getGuest

public Guest getGuest()

setGuest

public void setGuest(Guest guest)

getHobby

public Hobby getHobby()

setHobby

public void setHobby(Hobby hobby)

compareTo

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

toString

public String toString()
Overrides:
toString in class AbstractPersistable


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