Class PeriodPenalty
- java.lang.Object
-
- org.optaplanner.examples.common.domain.AbstractPersistable
-
- org.optaplanner.examples.examination.domain.PeriodPenalty
-
public class PeriodPenalty extends AbstractPersistable
-
-
Field Summary
-
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
-
-
Constructor Summary
Constructors Constructor Description PeriodPenalty()
PeriodPenalty(Topic leftTopic, Topic rightTopic, PeriodPenaltyType periodPenaltyType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Topic
getLeftTopic()
PeriodPenaltyType
getPeriodPenaltyType()
Topic
getRightTopic()
void
setLeftTopic(Topic leftTopic)
void
setPeriodPenaltyType(PeriodPenaltyType periodPenaltyType)
void
setRightTopic(Topic rightTopic)
String
toString()
-
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
getId, setId
-
-
-
-
Constructor Detail
-
PeriodPenalty
public PeriodPenalty()
-
PeriodPenalty
public PeriodPenalty(Topic leftTopic, Topic rightTopic, PeriodPenaltyType periodPenaltyType)
-
-
Method Detail
-
getPeriodPenaltyType
public PeriodPenaltyType getPeriodPenaltyType()
-
setPeriodPenaltyType
public void setPeriodPenaltyType(PeriodPenaltyType periodPenaltyType)
-
getLeftTopic
public Topic getLeftTopic()
-
setLeftTopic
public void setLeftTopic(Topic leftTopic)
-
getRightTopic
public Topic getRightTopic()
-
setRightTopic
public void setRightTopic(Topic rightTopic)
-
toString
public String toString()
- Overrides:
toString
in classAbstractPersistable
-
-