org.drools.planner.examples.vehiclerouting.domain
Class VrpVehicle
java.lang.Object
org.drools.planner.examples.common.domain.AbstractPersistable
org.drools.planner.examples.vehiclerouting.domain.VrpVehicle
- All Implemented Interfaces:
- Serializable, Comparable<AbstractPersistable>, VrpAppearance
public class VrpVehicle
- extends AbstractPersistable
- implements VrpAppearance
- See Also:
- Serialized Form
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 © 2001-2013 JBoss by Red Hat. All Rights Reserved.