org.drools.planner.examples.examination.domain
Class Topic

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

public class Topic
extends AbstractPersistable
implements Comparable<Topic>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
Topic()
           
 
Method Summary
 int compareTo(Topic other)
           
 Set<Topic> getCoincidenceTopicSet()
           
 int getDuration()
           
 List<Student> getStudentList()
           
 int getStudentSize()
           
 boolean hasCoincidenceTopic()
           
 boolean isFrontLoadLarge()
           
 void setCoincidenceTopicSet(Set<Topic> coincidenceTopicSet)
           
 void setDuration(int duration)
           
 void setFrontLoadLarge(boolean frontLoadLarge)
           
 void setStudentList(List<Student> studentList)
           
 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

Topic

public Topic()
Method Detail

getDuration

public int getDuration()

setDuration

public void setDuration(int duration)

getStudentList

public List<Student> getStudentList()

setStudentList

public void setStudentList(List<Student> studentList)

getStudentSize

public int getStudentSize()

isFrontLoadLarge

public boolean isFrontLoadLarge()

setFrontLoadLarge

public void setFrontLoadLarge(boolean frontLoadLarge)

getCoincidenceTopicSet

public Set<Topic> getCoincidenceTopicSet()

setCoincidenceTopicSet

public void setCoincidenceTopicSet(Set<Topic> coincidenceTopicSet)

hasCoincidenceTopic

public boolean hasCoincidenceTopic()

compareTo

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

toString

public String toString()
Overrides:
toString in class AbstractPersistable


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