org.deegree.portal.standard.routing.control
Class RouteBean
java.lang.Object
  
org.deegree.portal.standard.routing.control.RouteBean
public class RouteBean
- extends Object
 
TODO add class documentation here
- Version:
 
  - $Revision: $, $Date: $
 
- Author:
 
  - Andreas Poth, last edited by: $Author: admin $
 
| 
Constructor Summary | 
RouteBean(CoordinateSystem modelCrs,
                   String coords,
                   String description,
                   double distance,
                   String start,
                   String end)
 
          Initializes a response bean by assigning according values and transforming route coordinates into the coordinate
 reference system of the current map model | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
RouteBean
public RouteBean(CoordinateSystem modelCrs,
                 String coords,
                 String description,
                 double distance,
                 String start,
                 String end)
          throws IllegalArgumentException,
                 CRSTransformationException,
                 GeometryException
- Initializes a response bean by assigning according values and transforming route coordinates into the coordinate
 reference system of the current map model
- Parameters:
 modelCrs - coords - description - distance - start - description/name of the start pointend - description/name of the end point
- Throws:
 IllegalArgumentException
CRSTransformationException
GeometryException
 
getCoordinates
public String getCoordinates()
- Returns:
 - the coordinates
 
 
getDescription
public String getDescription()
- Returns:
 - the description
 
 
getDistance
public String getDistance()
- Returns:
 - the distance
 
 
getBbox
public double[] getBbox()
- Returns:
 - the bbox
 
 
getStart
public String getStart()
- Returns:
 - the start
 
 
getEnd
public String getEnd()
- Returns:
 - the end
 
 
getNumberOfNodes
public int getNumberOfNodes()
- Returns:
 - the numberOfNodes
 
 
                an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org