Class Depot
- java.lang.Object
-
- org.optaplanner.examples.common.domain.AbstractPersistableJackson
-
- org.optaplanner.examples.vehiclerouting.domain.Depot
-
- Direct Known Subclasses:
TimeWindowedDepot
public class Depot extends AbstractPersistableJackson
-
-
Field Summary
Fields Modifier and Type Field Description protected Locationlocation-
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistableJackson
id
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocationgetLocation()voidsetLocation(Location location)StringtoString()-
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistableJackson
getId
-
-
-
-
Field Detail
-
location
protected Location location
-
-
Constructor Detail
-
Depot
public Depot()
-
Depot
public Depot(long id, Location location)
-
-
Method Detail
-
getLocation
public Location getLocation()
-
setLocation
public void setLocation(Location location)
-
toString
public String toString()
- Overrides:
toStringin classAbstractPersistableJackson
-
-