uk.me.parabola.mkgmap.general
Class MapExitPoint

java.lang.Object
  extended by uk.me.parabola.mkgmap.general.MapElement
      extended by uk.me.parabola.mkgmap.general.MapPoint
          extended by uk.me.parabola.mkgmap.general.MapExitPoint

public class MapExitPoint
extends MapPoint

A point on the map that represents a motorway exit.

Author:
Mark Burton

Constructor Summary
MapExitPoint(java.lang.String motorwayRef, java.lang.String to)
           
 
Method Summary
 MapExitPoint copy()
          Provide a copy of this MapElement without geometry.
 Exit getExit()
           
 java.lang.String getFacilityDescription()
           
 java.lang.String getMotorwayRef()
           
 java.lang.String getOSMId()
           
 java.lang.String getTo()
           
 boolean isExit()
           
 void setExit(Exit exit)
           
 void setFacilityDescription(java.lang.String facilityDescription)
           
 void setOSMId(java.lang.String OSMId)
           
 
Methods inherited from class uk.me.parabola.mkgmap.general.MapPoint
getBounds, getLocation, isCity, isCityType, isRoadNamePOI, setLocation, setRoadNamePOI
 
Methods inherited from class uk.me.parabola.mkgmap.general.MapElement
getCity, getCountry, getExtTypeAttributes, getHouseNumber, getIsIn, getMaxResolution, getMinResolution, getName, getPhone, getRef, getRegion, getStreet, getType, getZip, hasExtendedType, isSimilar, setCity, setCountry, setExtTypeAttributes, setHouseNumber, setIsIn, setMaxResolution, setMinResolution, setName, setPhone, setRef, setRegion, setStreet, setType, setZip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapExitPoint

public MapExitPoint(java.lang.String motorwayRef,
                    java.lang.String to)
Method Detail

copy

public MapExitPoint copy()
Description copied from class: MapElement
Provide a copy of this MapElement without geometry. This is used when filtering and clipping to create modified versions.

Overrides:
copy in class MapPoint
Returns:
the copy;

isExit

public boolean isExit()
Overrides:
isExit in class MapPoint

getMotorwayRef

public java.lang.String getMotorwayRef()

getTo

public java.lang.String getTo()

setFacilityDescription

public void setFacilityDescription(java.lang.String facilityDescription)

getFacilityDescription

public java.lang.String getFacilityDescription()

setOSMId

public void setOSMId(java.lang.String OSMId)

getOSMId

public java.lang.String getOSMId()

setExit

public void setExit(Exit exit)

getExit

public Exit getExit()