Class Segment
- java.lang.Object
-
- org.optaplanner.examples.common.domain.AbstractPersistable
-
- org.optaplanner.examples.batchscheduling.domain.Segment
-
public class Segment extends AbstractPersistable
-
-
Field Summary
-
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
-
-
Constructor Summary
Constructors Constructor Description Segment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchgetBatch()floatgetCrossSectionArea()floatgetFlowRate()floatgetLength()StringgetName()RoutePathgetRoutePath()voidsetBatch(Batch batch)voidsetCrossSectionArea(float crossSectionArea)voidsetFlowRate(float flowRate)voidsetLength(float length)voidsetName(String name)voidsetRoutePath(RoutePath routePath)-
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)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getRoutePath
public RoutePath getRoutePath()
-
setRoutePath
public void setRoutePath(RoutePath routePath)
-
getFlowRate
public float getFlowRate()
-
setFlowRate
public void setFlowRate(float flowRate)
-
getLength
public float getLength()
-
setLength
public void setLength(float length)
-
getCrossSectionArea
public float getCrossSectionArea()
-
setCrossSectionArea
public void setCrossSectionArea(float crossSectionArea)
-
-