Drools Planner distribution 6.0.0.Alpha9

org.drools.planner.examples.vehiclerouting.domain
Class VrpVehicle

java.lang.Object
  extended by org.drools.planner.examples.common.domain.AbstractPersistable
      extended by 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

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
VrpVehicle()
           
 
Method Summary
 int getCapacity()
           
 VrpDepot getDepot()
           
 VrpLocation getLocation()
           
 void setCapacity(int capacity)
           
 void setDepot(VrpDepot depot)
           
 String toString()
           
 
Methods inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
compareTo, getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VrpVehicle

public VrpVehicle()
Method Detail

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

Drools Planner distribution 6.0.0.Alpha9

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.