org.drools.planner.examples.curriculumcourse.domain
Class UnavailablePeriodConstraint

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

public class UnavailablePeriodConstraint
extends AbstractPersistable
implements Comparable<UnavailablePeriodConstraint>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
UnavailablePeriodConstraint()
           
 
Method Summary
 int compareTo(UnavailablePeriodConstraint other)
           
 Course getCourse()
           
 Period getPeriod()
           
 void setCourse(Course course)
           
 void setPeriod(Period period)
           
 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

UnavailablePeriodConstraint

public UnavailablePeriodConstraint()
Method Detail

getCourse

public Course getCourse()

setCourse

public void setCourse(Course course)

getPeriod

public Period getPeriod()

setPeriod

public void setPeriod(Period period)

compareTo

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

toString

public String toString()
Overrides:
toString in class AbstractPersistable


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