Class Allocation
- java.lang.Object
-
- org.optaplanner.examples.common.domain.AbstractPersistable
-
- org.optaplanner.examples.batchscheduling.domain.Allocation
-
public class Allocation extends AbstractPersistable
-
-
Field Summary
-
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
-
-
Constructor Summary
Constructors Constructor Description Allocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchgetBatch()LonggetDelay()org.optaplanner.core.api.domain.valuerange.CountableValueRange<Long>getDelayRange()LonggetEndDeliveryTime()LonggetEndInjectionTime()StringgetLabel()AllocationgetPredecessorAllocation()LonggetPredecessorsDoneDate()RoutePathgetRoutePath()SegmentgetSegment()LonggetStartDeliveryTime()LonggetStartInjectionTime()AllocationgetSuccessorAllocation()BooleanisFirst()voidsetBatch(Batch batch)voidsetDelay(Long delay)voidsetPredecessorAllocation(Allocation predecessorAllocation)voidsetPredecessorsDoneDate(Long predecessorsDoneDate)voidsetRoutePath(RoutePath routePath)voidsetSegment(Segment segment)voidsetSuccessorAllocation(Allocation successorAllocation)-
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
getId, setId, toString
-
-
-
-
Method Detail
-
getBatch
public Batch getBatch()
-
setBatch
public void setBatch(Batch batch)
-
getRoutePath
public RoutePath getRoutePath()
-
setRoutePath
public void setRoutePath(RoutePath routePath)
-
getSegment
public Segment getSegment()
-
setSegment
public void setSegment(Segment segment)
-
getPredecessorAllocation
public Allocation getPredecessorAllocation()
-
setPredecessorAllocation
public void setPredecessorAllocation(Allocation predecessorAllocation)
-
getSuccessorAllocation
public Allocation getSuccessorAllocation()
-
setSuccessorAllocation
public void setSuccessorAllocation(Allocation successorAllocation)
-
setDelay
public void setDelay(Long delay)
-
setPredecessorsDoneDate
public void setPredecessorsDoneDate(Long predecessorsDoneDate)
-
getStartInjectionTime
public Long getStartInjectionTime()
-
getEndInjectionTime
public Long getEndInjectionTime()
-
getStartDeliveryTime
public Long getStartDeliveryTime()
-
getEndDeliveryTime
public Long getEndDeliveryTime()
-
getLabel
public String getLabel()
-
isFirst
public Boolean isFirst()
-
getDelay
public Long getDelay()
-
getPredecessorsDoneDate
public Long getPredecessorsDoneDate()
-
getDelayRange
public org.optaplanner.core.api.domain.valuerange.CountableValueRange<Long> getDelayRange()
-
-