|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.panama.spatial.router.Maneuver | +--oracle.panama.spatial.router.ManeuverStructured
Field Summary | |
static java.lang.String |
ACTIONTYPE_BEAR |
static java.lang.String |
ACTIONTYPE_CONTINUE |
static java.lang.String |
ACTIONTYPE_EXIT |
static java.lang.String |
ACTIONTYPE_FERRY |
static java.lang.String |
ACTIONTYPE_MERGE |
static java.lang.String |
ACTIONTYPE_START |
static java.lang.String |
ACTIONTYPE_TURN |
static java.lang.String |
ACTIONTYPE_UTURN |
static java.lang.String |
DIRECTION_E |
static java.lang.String |
DIRECTION_LEFT |
static java.lang.String |
DIRECTION_N |
static java.lang.String |
DIRECTION_NE |
static java.lang.String |
DIRECTION_NW |
static java.lang.String |
DIRECTION_RIGHT |
static java.lang.String |
DIRECTION_S |
static java.lang.String |
DIRECTION_SE |
static java.lang.String |
DIRECTION_SHARP_LEFT |
static java.lang.String |
DIRECTION_SHARP_RIGHT |
static java.lang.String |
DIRECTION_SLIGHT_LEFT |
static java.lang.String |
DIRECTION_SLIGHT_RIGHT |
static java.lang.String |
DIRECTION_STRAIGHT |
static java.lang.String |
DIRECTION_SW |
static java.lang.String |
DIRECTION_W |
static java.lang.String |
ROADCATEGORY_FERRY_RAIL |
static java.lang.String |
ROADCATEGORY_FERRY_WATER |
static java.lang.String |
ROADCATEGORY_MOTORWAY |
static java.lang.String |
ROADCATEGORY_RAMP |
static java.lang.String |
ROADCATEGORY_ROAD |
static java.lang.String |
ROADCATEGORY_TRAFFIC_CIRCLE |
static java.lang.String |
ROADCATEGORY_TUNNEL |
static java.lang.String |
ROADTYPE_COURT |
static java.lang.String |
ROADTYPE_EXPRESSWAY |
static java.lang.String |
ROADTYPE_FREEWAY |
static java.lang.String |
ROADTYPE_LANE |
static java.lang.String |
ROADTYPE_PARKWAY |
static java.lang.String |
ROADTYPE_ROAD |
static java.lang.String |
ROADTYPE_STREET |
static java.lang.String |
ROADTYPE_THROUGHWAY |
static java.lang.String |
ROADTYPE_TURNPIKE |
Constructor Summary | |
ManeuverStructured(double distance, java.awt.Image mapImg, java.net.URL mapImgURL, Point[] geometry, java.lang.String actionType, java.lang.String directionLR, java.lang.String directionNS, java.lang.String distToActionInMeters, java.lang.String timeToActionInSeconds, java.lang.String numExitsBeforeAction, java.util.List signsBeforeAction, java.lang.String distAfterActionInMeters, java.lang.String timeAfterActionInSeconds, java.lang.String currentRoadName, java.lang.String targetRoadName, java.lang.String currentRoadType, java.lang.String targetRoadType, java.lang.String currentRoadCategory, java.lang.String targetRoadCategory, java.lang.String currentRoadOrientation, java.lang.String targetRoadOrientation, java.lang.String exitNum) Constructor for a structured maneuver. | |
ManeuverStructured(java.lang.String flatNarrative, double distance, java.awt.Image mapImg, java.net.URL mapImgURL, Point[] geometry, java.lang.String actionType, java.lang.String directionLR, java.lang.String directionNS, java.lang.String distToActionInMeters, java.lang.String timeToActionInSeconds, java.lang.String numExitsBeforeAction, java.util.List signsBeforeAction, java.lang.String distAfterActionInMeters, java.lang.String timeAfterActionInSeconds, java.lang.String currentRoadName, java.lang.String targetRoadName, java.lang.String currentRoadType, java.lang.String targetRoadType, java.lang.String currentRoadCategory, java.lang.String targetRoadCategory, java.lang.String currentRoadOrientation, java.lang.String targetRoadOrientation, java.lang.String exitNum) Constructor for a structured maneuver. | |
ManeuverStructured(java.lang.String flatNarrative, double distance, int distUnit, java.awt.Image mapImg, java.net.URL mapImgURL, Point[] geometry, java.lang.String actionType, java.lang.String directionLR, java.lang.String directionNS, java.lang.String distToActionInMeters, java.lang.String timeToActionInSeconds, java.lang.String numExitsBeforeAction, java.util.List signsBeforeAction, java.lang.String distAfterActionInMeters, java.lang.String timeAfterActionInSeconds, java.lang.String currentRoadName, java.lang.String targetRoadName, java.lang.String currentRoadType, java.lang.String targetRoadType, java.lang.String currentRoadCategory, java.lang.String targetRoadCategory, java.lang.String currentRoadOrientation, java.lang.String targetRoadOrientation, java.lang.String exitNum) |
Method Summary | |
java.lang.String |
getActionType() This returns the actionType component. |
java.lang.String |
getCurrentRoadCategory() This returns the currentRoadCategory component. |
java.lang.String |
getCurrentRoadName() This returns the currentRoadName component. |
java.lang.String |
getCurrentRoadOrientation() This returns the targetRoadCategory component. |
java.lang.String |
getCurrentRoadType() This returns the currentRoadType component. |
java.lang.String |
getDirectionLR() This returns the directionLR component. |
java.lang.String |
getDirectionNS() This returns the directionNS component. |
java.lang.String |
getDistAfterActionInMeters() This returns the distAfterActionInMeters component. |
java.lang.String |
getDistToActionInMeters() This returns the distToActionInMeters component. |
java.lang.String |
getExitNum() This returns the exitNum component. |
java.lang.String |
getNumExitsBeforeAction() This returns the numExitsBeforeAction component. |
java.util.List |
getSignsBeforeAction() This returns the signsBeforeAction component. |
java.lang.String |
getTargetRoadCategory() This returns the targetRoadCategory component. |
java.lang.String |
getTargetRoadName() This returns the targetRoadName component. |
java.lang.String |
getTargetRoadOrientation() This returns the targetRoadOrientation component. |
java.lang.String |
getTargetRoadType() This returns the targetRoadType component. |
java.lang.String |
getTimeAfterActionInSeconds() This returns the timeAfterActionInSeconds component. |
java.lang.String |
getTimeToActionInSeconds() This returns the timeToActionInSeconds component. |
void |
setActionType(java.lang.String sActionType) This sets the actionType component. |
void |
setCurrentRoadName(java.lang.String sCurrentRoadName) This sets the currentRoadName component. |
void |
setTargetRoadName(java.lang.String sTargetRoadName) This sets the targetRoadName component. |
Methods inherited from class oracle.panama.spatial.router.Maneuver |
getDistance, getDistanceInMeters, getManeuverGeometry, getManeuverMap, getManeuverMapURL, getNarrative, toString, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String ACTIONTYPE_START
public static final java.lang.String ACTIONTYPE_CONTINUE
public static final java.lang.String ACTIONTYPE_MERGE
public static final java.lang.String ACTIONTYPE_BEAR
public static final java.lang.String ACTIONTYPE_TURN
public static final java.lang.String ACTIONTYPE_UTURN
public static final java.lang.String ACTIONTYPE_EXIT
public static final java.lang.String ACTIONTYPE_FERRY
public static final java.lang.String DIRECTION_SLIGHT_LEFT
public static final java.lang.String DIRECTION_SLIGHT_RIGHT
public static final java.lang.String DIRECTION_SHARP_LEFT
public static final java.lang.String DIRECTION_SHARP_RIGHT
public static final java.lang.String DIRECTION_LEFT
public static final java.lang.String DIRECTION_RIGHT
public static final java.lang.String DIRECTION_STRAIGHT
public static final java.lang.String DIRECTION_N
public static final java.lang.String DIRECTION_S
public static final java.lang.String DIRECTION_W
public static final java.lang.String DIRECTION_E
public static final java.lang.String DIRECTION_NW
public static final java.lang.String DIRECTION_NE
public static final java.lang.String DIRECTION_SW
public static final java.lang.String DIRECTION_SE
public static final java.lang.String ROADCATEGORY_ROAD
public static final java.lang.String ROADCATEGORY_MOTORWAY
public static final java.lang.String ROADCATEGORY_RAMP
public static final java.lang.String ROADCATEGORY_FERRY_WATER
public static final java.lang.String ROADCATEGORY_FERRY_RAIL
public static final java.lang.String ROADCATEGORY_TRAFFIC_CIRCLE
public static final java.lang.String ROADCATEGORY_TUNNEL
public static final java.lang.String ROADTYPE_PARKWAY
public static final java.lang.String ROADTYPE_LANE
public static final java.lang.String ROADTYPE_FREEWAY
public static final java.lang.String ROADTYPE_STREET
public static final java.lang.String ROADTYPE_EXPRESSWAY
public static final java.lang.String ROADTYPE_THROUGHWAY
public static final java.lang.String ROADTYPE_TURNPIKE
public static final java.lang.String ROADTYPE_COURT
public static final java.lang.String ROADTYPE_ROAD
Constructor Detail |
public ManeuverStructured(java.lang.String flatNarrative, double distance, java.awt.Image mapImg, java.net.URL mapImgURL, Point[] geometry, java.lang.String actionType, java.lang.String directionLR, java.lang.String directionNS, java.lang.String distToActionInMeters, java.lang.String timeToActionInSeconds, java.lang.String numExitsBeforeAction, java.util.List signsBeforeAction, java.lang.String distAfterActionInMeters, java.lang.String timeAfterActionInSeconds, java.lang.String currentRoadName, java.lang.String targetRoadName, java.lang.String currentRoadType, java.lang.String targetRoadType, java.lang.String currentRoadCategory, java.lang.String targetRoadCategory, java.lang.String currentRoadOrientation, java.lang.String targetRoadOrientation, java.lang.String exitNum)
flatNarrative
- a String representing the flat narrative for the maneuver (such as "turn right onto Main St after 1 mile")distance
- a double representing the distance the maneuver covers (in the distance unit specified in the routing result this maneuver is a part of)mapImg
- an Image representing the map image (typically null, though)mapImgURL
- a URL representing the map image URL (might be null for some providers)geometry
- a Point[] representing the geometry (point list) along the maneuver (might be null for some providers)actionType
- a String representing the type of action required for the maneuver (possible values are ACTIONTYPE_START, ACTIONTYPE_CONTINUE, ACTIONTYPE_MERGE, ACTIONTYPE_BEAR, ACTIONTYPE_TURN, ACTIONTYPE_UTURN, ACTIONTYPE_EXIT, ACTIONTYPE_FERRY)directionLR
- a String representing the direction to turn (possible values are DIRECTION_SLIGHT_LEFT, DIRECTION_SLIGHT_RIGHT, DIRECTION_SHARP_LEFT, DIRECTION_SHARP_RIGHT, DIRECTION_LEFT, DIRECTION_RIGHT, DIRECTION_STRAIGHT)directionNS
- a String representing the direction to turn (possible values are DIRECTION_N, DIRECTION_S, DIRECTION_W, DIRECTION_E, DIRECTION_NW, DIRECTION_NE, DIRECTION_SW, DIRECTION_SE)distToActionInMeters
- a String representing the distance (in meters) to where the driver has to perform the core maneuver (such as taking the actual turn)timeToActionInSeconds
- a String representing the time (in seconds) before the driver has to perform the core maneuver (such as taking the actual turn)numExitsBeforeAction
- a String representing the number of exits before the actual maneuver (counting exits is especially helpful for shorter maneuvers)signsBeforeAction
- a List representing the Strings of messages on the street sign predicting the turndistAfterActionInMeters
- a String representing the distance (in meters) to simply continue after the actual maneuver (such as a turn)timeAfterActionInSeconds
- a String representing the time (in seconds) to simply continue after the actual maneuver (such as a turn)currentRoadName
- a String representing the name of the current road (you are on)targetRoadName
- a String representing the name of the target road (you would like to get onto)currentRoadType
- a String representing the type of the current road (you are on) (possible values are ROADTYPE_PARKWAY, ROADTYPE_LANE, ROADTYPE_FREEWAY, ROADTYPE_STREET, ROADTYPE_EXPRESSWAY, ROADTYPE_THROUGHWAY, ROADTYPE_TURNPIKE, ROADTYPE_COURT, ROADTYPE_ROAD)targetRoadType
- a String representing the type of the target road (you would like to get onto) (possible values are ROADTYPE_PARKWAY, ROADTYPE_LANE, ROADTYPE_FREEWAY, ROADTYPE_STREET, ROADTYPE_EXPRESSWAY, ROADTYPE_THROUGHWAY, ROADTYPE_TURNPIKE, ROADTYPE_COURT, ROADTYPE_ROAD)currentRoadCategory
- a String representing the category of the current road (you are on) (possible values are ROADCATEGORY_ROAD, ROADCATEGORY_MOTORWAY, ROADCATEGORY_RAMP, ROADCATEGORY_FERRY_WATER, ROADCATEGORY_FERRY_RAIL, ROADCATEGORY_TRAFFIC_CIRCLE, ROADCATEGORY_TUNNEL)targetRoadCategory
- a String representing the category of the target road (you would like to get onto) (possible values are ROADCATEGORY_ROAD, ROADCATEGORY_MOTORWAY, ROADCATEGORY_RAMP, ROADCATEGORY_FERRY_WATER, ROADCATEGORY_FERRY_RAIL, ROADCATEGORY_TRAFFIC_CIRCLE, ROADCATEGORY_TUNNEL)currentRoadOrientation
- a String representing the orientation of the current road (you are on) (possible values are DIRECTION_N, DIRECTION_S, DIRECTION_W, DIRECTION_E; less commonly also: DIRECTION_NW, DIRECTION_NE, DIRECTION_SW, DIRECTION_SE)targetRoadOrientation
- a String representing the orientation of the target road (you would like to get onto) (possible values are DIRECTION_N, DIRECTION_S, DIRECTION_W, DIRECTION_E; less commonly also: DIRECTION_NW, DIRECTION_NE, DIRECTION_SW, DIRECTION_SE)exitNum
- a String representing the number of the exit (note that this is different from numExitsBeforeAction)public ManeuverStructured(java.lang.String flatNarrative, double distance, int distUnit, java.awt.Image mapImg, java.net.URL mapImgURL, Point[] geometry, java.lang.String actionType, java.lang.String directionLR, java.lang.String directionNS, java.lang.String distToActionInMeters, java.lang.String timeToActionInSeconds, java.lang.String numExitsBeforeAction, java.util.List signsBeforeAction, java.lang.String distAfterActionInMeters, java.lang.String timeAfterActionInSeconds, java.lang.String currentRoadName, java.lang.String targetRoadName, java.lang.String currentRoadType, java.lang.String targetRoadType, java.lang.String currentRoadCategory, java.lang.String targetRoadCategory, java.lang.String currentRoadOrientation, java.lang.String targetRoadOrientation, java.lang.String exitNum)
public ManeuverStructured(double distance, java.awt.Image mapImg, java.net.URL mapImgURL, Point[] geometry, java.lang.String actionType, java.lang.String directionLR, java.lang.String directionNS, java.lang.String distToActionInMeters, java.lang.String timeToActionInSeconds, java.lang.String numExitsBeforeAction, java.util.List signsBeforeAction, java.lang.String distAfterActionInMeters, java.lang.String timeAfterActionInSeconds, java.lang.String currentRoadName, java.lang.String targetRoadName, java.lang.String currentRoadType, java.lang.String targetRoadType, java.lang.String currentRoadCategory, java.lang.String targetRoadCategory, java.lang.String currentRoadOrientation, java.lang.String targetRoadOrientation, java.lang.String exitNum)
distance
- a double representing the distance the maneuver covers (in the distance unit specified in the routing result this maneuver is a part of)mapImg
- an Image representing the map image (typically null, though)mapImgURL
- a URL representing the map image URL (might be null for some providers)geometry
- a Point[] representing the geometry (point list) along the maneuver (might be null for some providers)actionType
- a String representing the type of action required for the maneuver (possible values are ACTIONTYPE_START, ACTIONTYPE_CONTINUE, ACTIONTYPE_MERGE, ACTIONTYPE_BEAR, ACTIONTYPE_TURN, ACTIONTYPE_UTURN, ACTIONTYPE_EXIT, ACTIONTYPE_FERRY)directionLR
- a String representing the direction to turn (possible values are DIRECTION_SLIGHT_LEFT, DIRECTION_SLIGHT_RIGHT, DIRECTION_SHARP_LEFT, DIRECTION_SHARP_RIGHT, DIRECTION_LEFT, DIRECTION_RIGHT, DIRECTION_STRAIGHT)directionNS
- a String representing the direction to turn (possible values are DIRECTION_N, DIRECTION_S, DIRECTION_W, DIRECTION_E, DIRECTION_NW, DIRECTION_NE, DIRECTION_SW, DIRECTION_SE)distToActionInMeters
- a String representing the distance (in meters) to where the driver has to perform the core maneuver (such as taking the actual turn)timeToActionInSeconds
- a String representing the time (in seconds) before the driver has to perform the core maneuver (such as taking the actual turn)numExitsBeforeAction
- a String representing the number of exits before the actual maneuver (counting exits is especially helpful for shorter maneuvers)signsBeforeAction
- a List representing the Strings of messages on the street sign predicting the turndistAfterActionInMeters
- a String representing the distance (in meters) to simply continue after the actual maneuver (such as a turn)timeAfterActionInSeconds
- a String representing the time (in seconds) to simply continue after the actual maneuver (such as a turn)currentRoadName
- a String representing the name of the current road (you are on)targetRoadName
- a String representing the name of the target road (you would like to get onto)currentRoadType
- a String representing the type of the current road (you are on) (possible values are ROADTYPE_PARKWAY, ROADTYPE_LANE, ROADTYPE_FREEWAY, ROADTYPE_STREET, ROADTYPE_EXPRESSWAY, ROADTYPE_THROUGHWAY, ROADTYPE_TURNPIKE, ROADTYPE_COURT, ROADTYPE_ROAD)targetRoadType
- a String representing the type of the target road (you would like to get onto) (possible values are ROADTYPE_PARKWAY, ROADTYPE_LANE, ROADTYPE_FREEWAY, ROADTYPE_STREET, ROADTYPE_EXPRESSWAY, ROADTYPE_THROUGHWAY, ROADTYPE_TURNPIKE, ROADTYPE_COURT, ROADTYPE_ROAD)currentRoadCategory
- a String representing the category of the current road (you are on) (possible values are ROADCATEGORY_ROAD, ROADCATEGORY_MOTORWAY, ROADCATEGORY_RAMP, ROADCATEGORY_FERRY_WATER, ROADCATEGORY_FERRY_RAIL, ROADCATEGORY_TRAFFIC_CIRCLE, ROADCATEGORY_TUNNEL)targetRoadCategory
- a String representing the category of the target road (you would like to get onto) (possible values are ROADCATEGORY_ROAD, ROADCATEGORY_MOTORWAY, ROADCATEGORY_RAMP, ROADCATEGORY_FERRY_WATER, ROADCATEGORY_FERRY_RAIL, ROADCATEGORY_TRAFFIC_CIRCLE, ROADCATEGORY_TUNNEL)currentRoadOrientation
- a String representing the orientation of the current road (you are on) (possible values are DIRECTION_N, DIRECTION_S, DIRECTION_W, DIRECTION_E; less commonly also: DIRECTION_NW, DIRECTION_NE, DIRECTION_SW, DIRECTION_SE)targetRoadOrientation
- a String representing the orientation of the target road (you would like to get onto) (possible values are DIRECTION_N, DIRECTION_S, DIRECTION_W, DIRECTION_E; less commonly also: DIRECTION_NW, DIRECTION_NE, DIRECTION_SW, DIRECTION_SE)exitNum
- a String representing the number of the exit (note that this is different from numExitsBeforeAction)Method Detail |
public java.lang.String getActionType()
public void setActionType(java.lang.String sActionType)
sActionType
- a String representing the type of action required for the maneuver (possible values are ACTIONTYPE_START, ACTIONTYPE_CONTINUE, ACTIONTYPE_MERGE, ACTIONTYPE_BEAR, ACTIONTYPE_TURN, ACTIONTYPE_UTURN, ACTIONTYPE_EXIT, ACTIONTYPE_FERRY)public java.lang.String getDirectionLR()
public java.lang.String getDirectionNS()
public java.lang.String getDistToActionInMeters()
public java.lang.String getTimeToActionInSeconds()
public java.lang.String getNumExitsBeforeAction()
public java.util.List getSignsBeforeAction()
public java.lang.String getDistAfterActionInMeters()
public java.lang.String getTimeAfterActionInSeconds()
public java.lang.String getCurrentRoadName()
public java.lang.String getTargetRoadName()
public void setCurrentRoadName(java.lang.String sCurrentRoadName)
sCurrentRoadName
- a String representing the name of the current road (you are on)public void setTargetRoadName(java.lang.String sTargetRoadName)
sTargetRoadName
- a String representing the name of the target road (you would like to get onto)public java.lang.String getCurrentRoadType()
public java.lang.String getTargetRoadType()
public java.lang.String getCurrentRoadCategory()
public java.lang.String getTargetRoadCategory()
public java.lang.String getCurrentRoadOrientation()
public java.lang.String getTargetRoadOrientation()
public java.lang.String getExitNum()
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |