org.optaplanner.examples.batchscheduling.domain.Batch Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of optaplanner-examples
Show all versions of optaplanner-examples
OptaPlanner solves planning problems.
This lightweight, embeddable planning engine implements powerful and scalable algorithms
to optimize business resource scheduling and planning.
This module contains the examples which demonstrate how to use it in a normal Java application.
package org.optaplanner.examples.batchscheduling.domain;
import java.util.List;
import org.optaplanner.examples.common.domain.AbstractPersistable;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("PipeBatch")
public class Batch extends AbstractPersistable {
private List routePathList;
private String name;
private Double volume;
private Long delayRangeValue;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Double getVolume() {
return volume;
}
public void setVolume(Double volume) {
this.volume = volume;
}
public List getRoutePathList() {
return routePathList;
}
public void setRoutePathList(List routePathList) {
this.routePathList = routePathList;
}
public Long getDelayRangeValue() {
return delayRangeValue;
}
public void setDelayRangeValue(Long delayRangeValue) {
this.delayRangeValue = delayRangeValue;
}
}