org.drools.planner.examples.traindesign.domain.solver
Class RailNodeShortestPath

java.lang.Object
  extended by org.drools.planner.examples.common.domain.AbstractPersistable
      extended by org.drools.planner.examples.traindesign.domain.solver.RailNodeShortestPath
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>

public class RailNodeShortestPath
extends AbstractPersistable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
RailNodeShortestPath()
           
 
Method Summary
 void addRailPath(RailPath railPath)
           
 RailNode getDestination()
           
 int getDistance()
           
 RailNode getOrigin()
           
 List<RailPath> getRailPathList()
           
 void resetRailPathList()
           
 void setDestination(RailNode destination)
           
 void setDistance(int distance)
           
 void setOrigin(RailNode origin)
           
 void setRailPathList(List<RailPath> railPathList)
           
 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

RailNodeShortestPath

public RailNodeShortestPath()
Method Detail

getOrigin

public RailNode getOrigin()

setOrigin

public void setOrigin(RailNode origin)

getDestination

public RailNode getDestination()

setDestination

public void setDestination(RailNode destination)

getDistance

public int getDistance()

setDistance

public void setDistance(int distance)

getRailPathList

public List<RailPath> getRailPathList()

setRailPathList

public void setRailPathList(List<RailPath> railPathList)

resetRailPathList

public void resetRailPathList()

addRailPath

public void addRailPath(RailPath railPath)

toString

public String toString()
Overrides:
toString in class AbstractPersistable


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