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

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

public class Guest
extends AbstractPersistable
implements Comparable<Guest>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
Guest()
           
 
Method Summary
 int compareTo(Guest other)
           
 String getCode()
           
 Gender getGender()
           
 List<HobbyPractician> getHobbyPracticianList()
           
 Job getJob()
           
 void setCode(String code)
           
 void setGender(Gender gender)
           
 void setHobbyPracticianList(List<HobbyPractician> hobbyPracticianList)
           
 void setJob(Job job)
           
 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

Guest

public Guest()
Method Detail

getCode

public String getCode()

setCode

public void setCode(String code)

getJob

public Job getJob()

setJob

public void setJob(Job job)

getGender

public Gender getGender()

setGender

public void setGender(Gender gender)

getHobbyPracticianList

public List<HobbyPractician> getHobbyPracticianList()

setHobbyPracticianList

public void setHobbyPracticianList(List<HobbyPractician> hobbyPracticianList)

compareTo

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

toString

public String toString()
Overrides:
toString in class AbstractPersistable


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