java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.projectjobscheduling.domain.Allocation
All Implemented Interfaces:
Labeled

public class Allocation extends AbstractPersistable implements Labeled
  • Constructor Details

    • Allocation

      public Allocation()
    • Allocation

      public Allocation(long id, Job job)
  • Method Details

    • getJob

      public Job getJob()
    • setJob

      public void setJob(Job job)
    • getSourceAllocation

      public Allocation getSourceAllocation()
    • setSourceAllocation

      public void setSourceAllocation(Allocation sourceAllocation)
    • getSinkAllocation

      public Allocation getSinkAllocation()
    • setSinkAllocation

      public void setSinkAllocation(Allocation sinkAllocation)
    • getPredecessorAllocationList

      public List<Allocation> getPredecessorAllocationList()
    • setPredecessorAllocationList

      public void setPredecessorAllocationList(List<Allocation> predecessorAllocationList)
    • getSuccessorAllocationList

      public List<Allocation> getSuccessorAllocationList()
    • setSuccessorAllocationList

      public void setSuccessorAllocationList(List<Allocation> successorAllocationList)
    • getExecutionMode

      public ExecutionMode getExecutionMode()
    • setExecutionMode

      public void setExecutionMode(ExecutionMode executionMode)
    • getDelay

      public Integer getDelay()
    • setDelay

      public void setDelay(Integer delay)
    • getPredecessorsDoneDate

      public Integer getPredecessorsDoneDate()
    • setPredecessorsDoneDate

      public void setPredecessorsDoneDate(Integer predecessorsDoneDate)
    • getStartDate

      public Integer getStartDate()
    • getEndDate

      public Integer getEndDate()
    • getProject

      public Project getProject()
    • getProjectCriticalPathEndDate

      public int getProjectCriticalPathEndDate()
    • getJobType

      public JobType getJobType()
    • getLabel

      public String getLabel()
      Specified by:
      getLabel in interface Labeled
    • getExecutionModeRange

      public List<ExecutionMode> getExecutionModeRange()
    • getDelayRange

      public org.optaplanner.core.api.domain.valuerange.CountableValueRange<Integer> getDelayRange()