org.optaplanner.examples.vehiclerouting.domain
Class VrpVehicle
java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.vehiclerouting.domain.VrpVehicle
- All Implemented Interfaces:
- Serializable, Comparable<AbstractPersistable>, VrpAppearance
public class VrpVehicle
- extends AbstractPersistable
- implements VrpAppearance
- See Also:
- Serialized Form
capacity
protected int capacity
depot
protected VrpDepot depot
VrpVehicle
public VrpVehicle()
getCapacity
public int getCapacity()
setCapacity
public void setCapacity(int capacity)
getDepot
public VrpDepot getDepot()
setDepot
public void setDepot(VrpDepot depot)
getLocation
public VrpLocation getLocation()
- Specified by:
getLocation
in interface VrpAppearance
- Returns:
- never null
toString
public String toString()
- Overrides:
toString
in class AbstractPersistable
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.