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

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

public class Job
extends AbstractPersistable
implements Comparable<Job>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
Job()
           
 
Method Summary
 int compareTo(Job other)
           
 JobType getJobType()
           
 String getName()
           
 void setJobType(JobType jobType)
           
 void setName(String name)
           
 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

Job

public Job()
Method Detail

getJobType

public JobType getJobType()

setJobType

public void setJobType(JobType jobType)

getName

public String getName()

setName

public void setName(String name)

compareTo

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

toString

public String toString()
Overrides:
toString in class AbstractPersistable


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