|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.MQObject
com.mapquest.Maneuver
This object will hold each maneuver of a trekroute returned from a route
IntCollection,
LatLngCollection,
SignCollection,
StringCollection| Field Summary | |
static int |
ATTRIBUTE_FERRY
|
static int |
ATTRIBUTE_GATE
|
static int |
ATTRIBUTE_PORTIONS_TOLL
|
static int |
ATTRIBUTE_PORTIONS_UNPAVED
|
static int |
ATTRIBUTE_POSSIBLE_SEASONAL_ROAD_CLOSURE
|
static int |
CLASS_ID
|
static java.lang.String |
CLASS_NAME
|
static int |
EAST_HEADING
Deprecated. Use HEADING_EAST instead. |
static int |
HEADING_EAST
|
static int |
HEADING_NORTH
|
static int |
HEADING_NORTH_EAST
|
static int |
HEADING_NORTH_WEST
|
static int |
HEADING_NULL
|
static int |
HEADING_SOUTH
|
static int |
HEADING_SOUTH_EAST
|
static int |
HEADING_SOUTH_WEST
|
static int |
HEADING_WEST
|
static int |
NORTH_EAST_HEADING
Deprecated. Use HEADING_NORTH_EAST instead. |
static int |
NORTH_HEADING
Deprecated. Use HEADING_NORTH instead. |
static int |
NORTH_WEST_HEADING
Deprecated. Use HEADING_NORTH_WEST instead. |
static int |
NULL_HEADING
Deprecated. Use HEADING_NULL instead. |
static int |
SOUTH_EAST_HEADING
Deprecated. Use HEADING_SOUTH_EAST instead. |
static int |
SOUTH_HEADING
Deprecated. Use HEADING_SOUTH instead. |
static int |
SOUTH_WEST_HEADING
Deprecated. Use HEADING_SOUTH_WEST instead. |
static int |
TURN_TYPE_LEFT
|
static int |
TURN_TYPE_LEFT_FORK
|
static int |
TURN_TYPE_LEFT_MERGE
|
static int |
TURN_TYPE_LEFT_OFF_RAMP
|
static int |
TURN_TYPE_LEFT_ON_RAMP
|
static int |
TURN_TYPE_LEFT_UTURN
|
static int |
TURN_TYPE_REVERSE
|
static int |
TURN_TYPE_RIGHT
|
static int |
TURN_TYPE_RIGHT_FORK
|
static int |
TURN_TYPE_RIGHT_MERGE
|
static int |
TURN_TYPE_RIGHT_OFF_RAMP
|
static int |
TURN_TYPE_RIGHT_ON_RAMP
|
static int |
TURN_TYPE_RIGHT_UTURN
|
static int |
TURN_TYPE_SHARP_LEFT
|
static int |
TURN_TYPE_SHARP_RIGHT
|
static int |
TURN_TYPE_SLIGHT_LEFT
|
static int |
TURN_TYPE_SLIGHT_RIGHT
|
static int |
TURN_TYPE_STRAIGHT
|
static int |
TURN_TYPE_STRAIGHT_FORK
|
static int |
WEST_HEADING
Deprecated. Use HEADING_WEST instead. |
| Fields inherited from class com.mapquest.MQObject |
DEFAULT_ID, DEFAULT_NAME, DEFAULT_VERSION, FORMAT_NUMERIC_ID, FORMAT_TEXT_NAME, INVALID_ID, INVALID_NAME, INVALID_VERSION |
| Constructor Summary | |
Maneuver()
Constructor. |
|
| Method Summary | |
int |
clear()
Initializes the object to its defaults. |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
int |
getAttributes()
Get the attributes associated with this maneuver. |
int |
getClassId()
Returns the numeric id of this class. |
java.lang.String |
getClassName()
Returns the text name of this class. |
int |
getDirection()
Returns an integer representing the direction for this Maneuver. |
java.lang.String |
getDirectionName()
Returns a string representing the direction for this Maneuver. |
float |
getDistance()
Returns the distance of this Maneuver. |
IntCollection |
getGEFIDs()
Returns an IntCollection containing the GEFIDs representing this Maneuver. |
java.lang.String |
getNarrative()
Returns a string representing the narrative for this Maneuver. |
LatLngCollection |
getShapePoints()
Returns a LatLngCollection containing the Points representing this Maneuver. |
SignCollection |
getSigns()
Get the Signs present in this maneuver. |
StringCollection |
getStreets()
Get the street name list. |
int |
getTime()
Returns the seconds to travel this Maneuver. |
int |
getTurnType()
Returns the turn type of this Maneuver. |
int |
hashCode()
Returns a hash code for this Maneuver. |
void |
init()
Initializes object. |
void |
setAttributes(int attributes)
Set the attributes associated with this maneuver. |
void |
setDirection(int direction)
Sets an integer representing the direction for this Maneuver. |
void |
setDistance(float distance)
Sets the distance of this Maneuver. |
void |
setNarrative(java.lang.String narrative)
Sets a string representing the narrative for this Maneuver. |
void |
setTime(int seconds)
Sets the seconds to travel this Maneuver. |
void |
setTurnType(int type)
Sets the turn type of this Maneuver. |
| Methods inherited from class com.mapquest.MQObject |
clone, getFormat, getIdWithVersion, getNameWithVersion, getObjectVersion, getTypeId, getTypeName, getVerboseConsoleOutput, setFormat, setObjectVersion, setVerboseConsoleOutput, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int CLASS_ID
public static final java.lang.String CLASS_NAME
public static final int NULL_HEADING
HEADING_NULL instead.
public static final int NORTH_HEADING
HEADING_NORTH instead.
public static final int NORTH_WEST_HEADING
HEADING_NORTH_WEST instead.
public static final int NORTH_EAST_HEADING
HEADING_NORTH_EAST instead.
public static final int SOUTH_HEADING
HEADING_SOUTH instead.
public static final int SOUTH_EAST_HEADING
HEADING_SOUTH_EAST instead.
public static final int SOUTH_WEST_HEADING
HEADING_SOUTH_WEST instead.
public static final int WEST_HEADING
HEADING_WEST instead.
public static final int EAST_HEADING
HEADING_EAST instead.
public static final int HEADING_NULL
public static final int HEADING_NORTH
public static final int HEADING_NORTH_WEST
public static final int HEADING_NORTH_EAST
public static final int HEADING_SOUTH
public static final int HEADING_SOUTH_EAST
public static final int HEADING_SOUTH_WEST
public static final int HEADING_WEST
public static final int HEADING_EAST
public static final int TURN_TYPE_STRAIGHT
public static final int TURN_TYPE_SLIGHT_RIGHT
public static final int TURN_TYPE_RIGHT
public static final int TURN_TYPE_SHARP_RIGHT
public static final int TURN_TYPE_REVERSE
public static final int TURN_TYPE_SHARP_LEFT
public static final int TURN_TYPE_LEFT
public static final int TURN_TYPE_SLIGHT_LEFT
public static final int TURN_TYPE_RIGHT_UTURN
public static final int TURN_TYPE_LEFT_UTURN
public static final int TURN_TYPE_RIGHT_MERGE
public static final int TURN_TYPE_LEFT_MERGE
public static final int TURN_TYPE_RIGHT_ON_RAMP
public static final int TURN_TYPE_LEFT_ON_RAMP
public static final int TURN_TYPE_RIGHT_OFF_RAMP
public static final int TURN_TYPE_LEFT_OFF_RAMP
public static final int TURN_TYPE_RIGHT_FORK
public static final int TURN_TYPE_LEFT_FORK
public static final int TURN_TYPE_STRAIGHT_FORK
public static final int ATTRIBUTE_PORTIONS_TOLL
public static final int ATTRIBUTE_PORTIONS_UNPAVED
public static final int ATTRIBUTE_POSSIBLE_SEASONAL_ROAD_CLOSURE
public static final int ATTRIBUTE_GATE
public static final int ATTRIBUTE_FERRY
| Constructor Detail |
public Maneuver()
| Method Detail |
public void init()
init in class MQObjectpublic int clear()
public int getClassId()
getClassId in class MQObjectpublic java.lang.String getClassName()
getClassName in class MQObjectpublic void setTurnType(int type)
type - integer that is a valid turn type
Valid types are the constants starting with K_public int getTurnType()
public void setDistance(float distance)
public float getDistance()
public void setTime(int seconds)
public int getTime()
public void setDirection(int direction)
public int getDirection()
public java.lang.String getDirectionName()
public void setAttributes(int attributes)
attributes - an ordered list of attributes associated with this
maneuver.public int getAttributes()
public StringCollection getStreets()
public LatLngCollection getShapePoints()
public IntCollection getGEFIDs()
public SignCollection getSigns()
public void setNarrative(java.lang.String narrative)
public java.lang.String getNarrative()
public boolean equals(java.lang.Object otherObject)
equals in class MQObjectotherObject - the object to compare this Maneuver against.
public int hashCode()
hashCode in class MQObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||