OptaPlanner distribution 6.2.1-SNAPSHOT

org.optaplanner.examples.cheaptime.domain
Class TaskAssignment

java.lang.Object
  extended by org.optaplanner.examples.common.domain.AbstractPersistable
      extended by org.optaplanner.examples.cheaptime.domain.TaskAssignment
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>

public class TaskAssignment
extends AbstractPersistable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
TaskAssignment()
           
 
Method Summary
 CountableValueRange<Integer> getDelayRange()
           
 Integer getEndPeriod()
          Exclusive
 String getLabel()
           
 Machine getMachine()
           
 Integer getStartPeriod()
           
 Task getTask()
           
 void setMachine(Machine machine)
           
 void setStartPeriod(Integer startPeriod)
           
 void setTask(Task task)
           
 String toString()
           
 
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
compareTo, getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskAssignment

public TaskAssignment()
Method Detail

getTask

public Task getTask()

setTask

public void setTask(Task task)

getMachine

public Machine getMachine()

setMachine

public void setMachine(Machine machine)

getStartPeriod

public Integer getStartPeriod()

setStartPeriod

public void setStartPeriod(Integer startPeriod)

getEndPeriod

public Integer getEndPeriod()
Exclusive

Returns:
null if getStartPeriod() is null

getLabel

public String getLabel()

getDelayRange

public CountableValueRange<Integer> getDelayRange()

toString

public String toString()
Overrides:
toString in class AbstractPersistable

OptaPlanner distribution 6.2.1-SNAPSHOT

Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.